/* JRS Plumbing & Heating Midlands: homepage styles (draft)
   Built to match the style reference page as closely as can be measured from screenshots:
   colours, type sizes, spacing, section heights, radii and borders were measured at 1440px wide.
   Phones first. Breakpoints: 768px (tablet), 1100px (desktop nav and wide layouts).

   Colours follow the reference page (near-black navy, brown footer band); accent changed to red on Karl's request (Oct 30, orange was #f68e57).
   To go back to JRS's own navy / teal / red, change the "palette" block only:
   --bg #0a1220, --accent #5fd0c8, --band #12343a. */

:root {
  /* palette */
  --bg: #080b14;          /* page background */
  --accent: #1fc3aa;      /* JRS logo turquoise green (Nov 5, sampled from a phone photo of the logo; was red #ef4444) */
  --band: #12343a;        /* footer band: dark teal to sit with the turquoise (was brown #462927) */
  --band-line: #3d6d72;   /* lines above and below the footer band (was #918180) */
  --line: #6e7075;        /* card, box, button and FAQ borders */
  --header-glass: rgba(8, 11, 20, .6);
  --white: #ffffff;
  --text: #ffffff;
  --star: #edcb20;
  --ph-bg: #fff1b8;
  --ph-text: #5a4300;
  --container: 1328px;    /* 1296px content: top bar and header */
  --narrow: 1282px;       /* 1250px content: process box, work, reviews, footer */
  --gutter: 16px;
  --font-display: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 64px; /* room for the mobile contact bar */
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: 1.5rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
figure, blockquote { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--narrow); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Focus and access */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--white); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* Placeholder markers */
.ph {
  background: var(--ph-bg); color: var(--ph-text);
  padding: 0 .3em; border-radius: 4px; font-weight: 600;
  text-transform: none; letter-spacing: 0;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.draft-banner {
  background: var(--ph-bg); color: var(--ph-text); font-size: .85rem; text-align: center; padding: 6px var(--gutter);
}
.draft-banner .ph { background: #fff; }

/* Photo placeholders: light, like the bright site photos they stand in for */
.photo {
  position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 14px, rgba(255,255,255,.22) 14px, rgba(255,255,255,.22) 28px),
    #c3c8cf;
  color: #1c2431;
  overflow: hidden;
}
.photo-label {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .04em; padding: 12px 16px; position: relative; z-index: 1;
}
.photo-label small {
  display: block; font-family: var(--font); font-weight: 400; font-size: .85rem;
  text-transform: none; letter-spacing: 0; color: #3a4555;
}

/* Real photos fill their box; the box's corner cuts and rounding still apply */
.has-photo { background: #1a1f2b; }
.has-photo img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}

/* Rules: thin accent lines under headings */
.rule { display: block; width: 65px; height: 1px; background: var(--accent); margin: 18px auto 26px; }
.rule-center { margin: 0 auto 24px; }

/* Stars */
.stars { color: var(--star); letter-spacing: 1px; }

/* Buttons: one outlined pill with an arrow in a black circle */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 50px; padding: 0 9px 0 11px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: .875rem;
  text-transform: uppercase; text-decoration: none; line-height: 1;
  border: 1px solid var(--line); cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-outline { color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .06); }
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: #000; color: var(--white);
  font-size: 1.15rem; font-weight: 700; line-height: 1;
}
.btn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; }
.center-row { display: flex; justify-content: center; margin-top: 30px; }

/* Phone link beside a button: red handset, white number */
.call-link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.call-link:hover { text-decoration: none; }
.call-icon { display: inline-flex; color: var(--accent); }
.call-icon .icon { width: 17px; height: 17px; }

.whatsapp-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  color: var(--white); font-size: .95rem;
}
.whatsapp-link .icon { width: 18px; height: 18px; color: #25d366; }

/* Top bar */
.top-bar { background: var(--bg); font-size: 1rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 48px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; line-height: 1.4; }
.top-contact { display: flex; gap: 16px; }
.top-contact a, .top-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.top-contact .icon { color: var(--accent); width: 15px; height: 15px; }
.top-email { display: none; }
.top-rating .stars { font-size: 1.15rem; }

/* Header */
.hero-wrap { position: relative; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.header-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }

/* Text logo standing in for the real JRS logo file, silver like the reference */
.logo { display: inline-flex; align-items: flex-end; gap: 6px; color: #d4d4d6; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: .9;
  letter-spacing: -.01em; color: #d4d4d6;
}
.logo-text {
  font-family: var(--font); font-weight: 400; font-size: .8rem; line-height: 1.15;
  text-transform: lowercase; color: #b9b9bd; white-space: nowrap; padding-bottom: 2px;
}
.logo-text span { display: block; }

.menu-button {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; color: var(--white);
  padding: 9px 12px 6px; font: 500 .7rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-bars { position: relative; margin: 6px 0; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

/* Mobile nav panel */
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; max-height: calc(100vh - 80px); overflow-y: auto; }
.main-nav.is-open { display: block; }
.nav-list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-toggle, .nav-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; color: var(--white); text-align: left; cursor: pointer;
  font: 400 1rem/1.2 var(--font); text-transform: uppercase; padding: 14px 0;
}
.nav-link:hover { text-decoration: none; color: var(--accent); }
.nav-toggle::after {
  content: ""; width: 0; height: 0; margin-left: 8px;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor;
}
.nav-toggle[aria-expanded="true"] { color: var(--accent); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.submenu { display: none; padding: 0 0 12px 12px; }
.nav-toggle[aria-expanded="true"] + .submenu { display: block; }
.submenu a { display: block; color: var(--white); padding: 8px 0; }
.submenu a:hover { color: var(--accent); text-decoration: none; }

/* Hero photo with diagonal corner cut (border triangles: crisp in every browser) */
.hero-photo { height: 300px; }
.hero-photo::after, .photo-band::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 0; height: 0; z-index: 1;
  border-bottom: 120px solid var(--bg); border-left: 120px solid transparent;
}

/* Intro */
.intro { padding: 40px 0 44px; }
.intro-inner { text-align: center; max-width: 1160px; }
.kicker {
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.intro h1 { margin-bottom: 0; }
.intro p { max-width: 1125px; margin-left: auto; margin-right: auto; }
.intro .btn-row { margin-top: 24px; }

/* Photo / card splits */
.split { position: relative; margin: 0 0 50px; }
.split-media { height: 260px; border-radius: 0 0 40px 0; }
.split-card {
  position: relative; z-index: 2;
  margin: -36px var(--gutter) 0; padding: 26px 22px 6px;
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 30px;
}
.split-card h2 { margin-bottom: .75em; }
.split-card .rule { width: 35px; margin: 4px 0 30px; }
.split-card a { color: var(--accent); }
.split-card .btn-outline, .split-card .call-link, .split-card .whatsapp-link { color: var(--white); }
.split-copy { max-width: 610px; }
.split-cta .btn-row { justify-content: flex-start; margin: 4px 0 6px; }
.split-cta .whatsapp-link { margin: 10px 0 22px; }

/* Wide photo band with diagonal cuts */
.photo-band { height: 240px; }
.photo-band::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 0; z-index: 1;
  border-top: 90px solid var(--bg); border-right: 90px solid transparent;
}
.photo-band::after { border-bottom-width: 90px; border-left-width: 90px; }
.photo-band .photo-label { margin-top: -40px; }

/* Sections */
.section { padding: 0 0 46px; }
.section-title { text-align: center; margin-bottom: 0; }
.section-tight .section-title + .rule-center { margin-top: 18px; }

/* "How it works": the heading sits on a tab that overlaps the photo band */
.process-head {
  position: relative; z-index: 2; margin-top: -40px;
  background: var(--bg); border-radius: 30px 30px 0 0; padding: 22px 16px 18px; text-align: center;
  box-shadow: 0 -6px 12px rgba(0, 0, 0, .18);
}
.process-head h2 { margin: 0; }

/* Bordered box split into cells */
.box-grid { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.box-cell { padding: 18px 20px 6px; border-top: 1px solid var(--line); }
.box-cell:first-child { border-top: 0; }
.box-cell h3 { margin-bottom: .25em; }
.box-cell p { line-height: 1.72; }
.step-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.125rem; line-height: 1; color: var(--accent); margin: 2px 0 12px; }

.photo-cell { height: 190px; border-radius: 16px; margin-bottom: 18px; }
.photo-pair { display: flex; gap: 10px; }
.photo-pair .photo-cell { flex: 1 1 0; }
.work-title { margin-bottom: .4em; }

.reviews .stars { display: block; font-size: 1.4rem; line-height: 1; margin-bottom: 12px; }
.reviews blockquote p { font-size: 1rem; }
.reviews figcaption { font-size: .9375rem; margin-bottom: 14px; }

/* FAQ */
.faq-inner { max-width: 1157px; }
.faq details { margin-bottom: 11px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer; min-height: 55px;
  border: 1px solid var(--line); border-radius: 30px; padding: 12px 22px 12px 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; text-transform: uppercase;
  color: var(--white); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-answer { padding: 14px 15px 2px; }

/* Footer */
.site-footer { font-size: .9375rem; }
.footer-band { background: var(--band); padding: 48px 0 40px; border-top: 2px solid var(--band-line); border-bottom: 2px solid var(--band-line); }
.footer-grid { display: flex; flex-direction: column; gap: 30px; }
.footer-brand .logo { margin: 0 0 22px 4px; }
.footer-brand .logo-mark { font-size: 3.4rem; }
.footer-brand .logo-text { font-size: 1rem; }
.footer-review { display: flex; flex-direction: column; gap: 4px; color: var(--white); padding-left: 18px; }
.footer-review:hover { text-decoration: none; }
.footer-review .stars { font-size: 1.75rem; line-height: 1; letter-spacing: 0; }
.footer-review small { font-size: .8125rem; color: var(--white); }
.footer-title {
  font-family: var(--font-display); font-size: .875rem; font-weight: 600; text-transform: uppercase;
  color: var(--white); margin: 0 0 18px;
}
.footer-links li { margin-bottom: 11px; color: var(--white); line-height: 1.5; }
.footer-links a { color: var(--white); }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--accent); text-decoration: none; }
.footer-contact li { margin-bottom: 7px; }
.footer-social { margin-top: 8px; }

.footer-bottom { background: var(--bg); padding: 34px 0 22px; font-size: .75rem; color: var(--white); }
.footer-legal { display: flex; flex-direction: column; gap: 14px; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal a { color: var(--white); }
.badge-slot { font-size: .75rem; }
.area-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 35px; padding: 30px 0 4px; }
.area-links a { color: var(--white); font-size: .9375rem; }
.area-links a:hover { color: var(--accent); text-decoration: none; }

/* Mobile contact bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .35);
}
.mobile-bar a {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 56px; font-family: var(--font-display); font-weight: 500; font-size: .95rem; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.mobile-bar .icon { width: 18px; height: 18px; }
.mobile-bar-call { background: var(--accent); color: var(--bg) !important; flex-grow: 1.4; }
.mobile-bar-quote { border-left: 1px solid var(--line); }

@media (min-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .top-email { display: block; }
  .top-rating span { white-space: nowrap; }
  .hero-photo { height: 460px; }
  .hero-photo::after { border-bottom-width: 200px; border-left-width: 200px; }
  .intro { padding: 45px 0 48px; }
  .split { display: flex; align-items: center; }
  .split-media { width: 49.5%; height: 470px; flex: none; border-radius: 0 40px 40px 0; }
  .split-card { width: 53.3%; margin: 0 0 0 -2.8%; padding: 28px 30px 12px; border-right: 0; border-radius: 30px 0 0 30px; }
  .split-reverse { flex-direction: row-reverse; }
  .split-reverse .split-media { border-radius: 40px 0 0 40px; }
  .split-reverse .split-card { margin: 0 -2.8% 0 0; border-right: 1px solid var(--line); border-left: 0; border-radius: 0 30px 30px 0; }
  .split-reverse .split-copy { margin-left: auto; }
  .split-cta { margin-bottom: 0; align-items: flex-end; }
  .split-cta .split-media { width: 67%; height: 440px; border-radius: 0 40px 0 0; }
  .split-cta .split-card { width: 35.7%; margin: 0 0 62px -2.7%; }
  .photo-band { height: 380px; }
  .photo-band::before { border-top-width: 196px; border-right-width: 196px; }
  .photo-band::after { border-bottom-width: 250px; border-left-width: 250px; }
  .box-cell { padding: 18px 20px 8px; }
  .footer-grid { flex-direction: row; flex-wrap: wrap; }
  .footer-grid > div { flex: 1 1 40%; }
  .footer-legal { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1100px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .hero-wrap .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
  .site-header.is-stuck { position: fixed; background: var(--bg); }
  .header-box { background: var(--header-glass); border-radius: 0 0 24px 24px; padding: 0 34px 0 30px; min-height: 95px; }
  .site-header.is-stuck .header-box { background: transparent; border-radius: 0; }
  .menu-button { display: none; }
  .main-nav { display: block; position: static; background: none; border: 0; padding: 0; max-height: none; overflow: visible; }
  .nav-list { display: flex; align-items: center; gap: 0; }
  .nav-list > li { position: relative; border: 0; }
  .nav-toggle, .nav-link { width: auto; padding: 10px 11.5px; font-size: 1rem; white-space: nowrap; }
  .nav-list > li:last-child .nav-link { padding-right: 0; }
  .submenu {
    position: absolute; left: 0; top: 100%; min-width: 250px; padding: 10px 0;
    background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.45);
  }
  .submenu a { padding: 9px 18px; }
  .nav-item:hover > .submenu, .nav-item:focus-within > .submenu { display: block; }
  .hero-photo { height: 610px; }
  .hero-photo::after { border-bottom-width: 250px; border-left-width: 250px; }
  .hero-photo .photo-label { margin-top: 90px; }
  .split-media { height: 520px; }
  .split-cta .split-media { height: 440px; }
  .photo-band { height: 550px; }
  .box-grid { flex-direction: row; }
  .box-cell { flex: 1 1 0; }
  .box-cell { border-top: 0; border-left: 1px solid var(--line); }
  .box-cell:first-child { border-left: 0; }
  .section { padding-bottom: 48px; }
  .footer-grid { flex-wrap: nowrap; gap: 0; }
  .footer-grid > div { flex: 1 1 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== Inner pages (Nov 1). Only new class names, so the homepage is unchanged. ===== */

/* Shorter photo at the top of service pages */
.page-hero { height: 220px; }
.page-hero .photo-label { margin-top: 0; }

/* Pages with no top photo: header stays a normal sticky bar */
.plain-head .site-header.is-stuck { position: sticky; }

.breadcrumb { font-size: .875rem; padding-top: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; justify-content: center; }
.breadcrumb li { color: #c9cbd1; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }

.page-intro { padding-top: 22px; }
.intro-note { margin-top: 18px; font-size: .95rem; }

/* Solid call button for the emergency page */
.btn-call { background: var(--accent); border-color: var(--accent); color: var(--bg); padding: 0 22px; font-size: .95rem; gap: 10px; }
.btn-call:hover { filter: brightness(1.08); }
.btn-call .icon { width: 17px; height: 17px; }
.btn-call .ph { font-size: .85rem; }

/* Bordered panel and readable text blocks */
.card-panel { border: 1px solid var(--line); border-radius: 30px; padding: 24px 22px 10px; }
.card-panel h2 { margin-bottom: 0; }
.rule-left { width: 35px; margin: 14px 0 22px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal-draft { background: var(--ph-bg); color: var(--ph-text); border-radius: 14px; padding: 12px 16px; margin: 0 auto 30px; max-width: 860px; }
.legal-draft .ph { background: #fff; }

/* Related service cards */
.box-cell h3 a { color: var(--white); }
.box-cell h3 a:hover { color: var(--accent); text-decoration: none; }
.more-link { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-family: var(--font-display); font-size: .875rem; text-transform: uppercase; }
.more-link .btn-arrow { width: 26px; height: 26px; font-size: 1rem; }
.more-link:hover { color: var(--accent); text-decoration: none; }

.cta-box { border: 1px solid var(--line); border-radius: 30px; padding: 30px 22px 26px; text-align: center; }
.cta-box .btn-row { margin-top: 6px; }

/* About page photo split */
.about-split { margin-top: 10px; }

/* Areas */
.center-note { text-align: center; }
.town-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; margin: 0 0 20px; }
.town-grid li { padding: 16px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-display); text-transform: uppercase; font-weight: 500; text-align: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr; gap: 20px; }
.gallery .box-cell { border: 1px solid var(--line); border-radius: 30px; padding: 14px 14px 4px; }
.gallery .photo-cell { height: 260px; }
.rating-stars { font-size: 1.4rem; margin-right: 6px; vertical-align: -2px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list li:last-child { border-bottom: 0; }
.contact-label { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: .8rem; color: #c9cbd1; letter-spacing: .04em; }
.urgent-note { margin-top: 14px; font-weight: 600; }
.enquiry-form .field { margin-bottom: 16px; }
.enquiry-form label { display: block; font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; margin-bottom: 6px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; font: inherit; color: var(--white); background: #0f1420;
  border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px;
}
.enquiry-form textarea { resize: vertical; min-height: 130px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: #d6d8dd; }
.form-error { background: #3a1214; border: 1px solid var(--accent); border-radius: 14px; padding: 10px 14px; }
.enquiry-form .btn { margin: 4px 0 16px; }

@media (min-width: 768px) {
  .page-hero { height: 320px; }
  .page-hero::after { border-bottom-width: 150px; border-left-width: 150px; }
  .card-panel { padding: 30px 34px 14px; }
  .cta-box { padding: 38px 40px 32px; }
  .town-grid { grid-template-columns: repeat(4, 1fr); }
  .town-grid li:nth-child(4n+1), .town-grid li:nth-child(4n+2), .town-grid li:nth-child(4n+3) { border-right: 1px solid var(--line); }
  .town-grid li:nth-last-child(-n+4) { border-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .page-hero { height: 430px; }
  .page-hero::after { border-bottom-width: 190px; border-left-width: 190px; }
  .page-hero .photo-label { margin-top: 90px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 2fr 3fr; align-items: start; }
}

/* ===== Nov 4: Jamaine's direction (24/7 emergency plumbing first, bathrooms as their own section) ===== */

/* Top bar: 24/7 note */
.top-contact { flex-wrap: wrap; gap: 4px 16px; }
.top-hours { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.top-hours .icon { color: var(--accent); width: 15px; height: 15px; }
.top-contact li, .top-contact a { white-space: nowrap; }
.top-bar .top-rating { display: none; }   /* phones: keep the top bar to one line */

/* Homepage hero: shorter on phones so the headline and buttons show sooner */
.home-hero { height: 210px; }

/* Call button (filled red, defined above) next to the outlined callback button, on any section */
.split-card .btn-call, .cta-box .btn-call { color: var(--bg); }
.intro-note { margin-top: 16px; font-size: .95rem; color: #d6d8dd; }
.cta-phone { margin-top: 14px; font-family: var(--font-display); }
.split-card .kicker { margin-bottom: 4px; }

/* Trust points under the intro */
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px auto 0; max-width: 1000px; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .9rem; text-transform: uppercase; }
.trust-list .icon { color: var(--accent); width: 18px; height: 18px; }

/* Core plumbing services: one bordered box split into cells */
.service-grid { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.service-grid li { border-top: 1px solid var(--line); }
.service-grid li:first-child { border-top: 0; }
.service-grid a { display: block; height: 100%; padding: 18px 20px 6px; color: var(--white); }
.service-grid a:hover { text-decoration: none; background: rgba(255, 255, 255, .04); }
.service-grid a:hover h3 { color: var(--accent); }
.service-grid h3 { margin-bottom: .25em; }
.service-grid p { color: #d6d8dd; }

/* Note about charges under the booking steps */
.charges-note { margin-top: 22px; border: 1px solid var(--line); border-radius: 30px; padding: 20px 22px 6px; }
.charges-note h3 { margin-bottom: .4em; }

/* Draft notes on FAQs and the heating intro */
.faq-draft, .intro-draft { margin-bottom: 24px; text-align: left; }
.intro-draft { margin-top: 20px; font-size: .95rem; }
.box-note { margin-top: 16px; }

/* Areas covered */
.town-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 22px; }
.town-list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-family: var(--font-display); text-transform: uppercase; font-weight: 500; text-align: center; }
.town-list small { display: block; font-family: var(--font); text-transform: none; font-weight: 400; font-size: .8rem; color: #d6d8dd; }

/* Callback form */
.enquiry-form input[type="file"] { padding: 10px; }
.field-hint { margin: 6px 0 0; font-size: .85rem; color: #d6d8dd; }
.legal-steps { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.legal-steps li { margin-bottom: .35em; }

@media (min-width: 768px) {
  .top-bar .top-rating { display: inline-flex; }
  .top-contact { flex-wrap: nowrap; }
  .home-hero { height: 400px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid li { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .service-grid li:nth-child(-n+2) { border-top: 0; }
  .service-grid li:nth-child(2n+1) { border-left: 0; }
  .charges-note { padding: 24px 30px 10px; }
}

@media (min-width: 1100px) {
  .home-hero { height: 610px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid li:nth-child(-n+4) { border-top: 0; }
  .service-grid li:nth-child(2n+1) { border-left: 1px solid var(--line); }
  .service-grid li:nth-child(4n+1) { border-left: 0; }
}

/* ===== Nov 5: Jamaine's WhatsApp changes ===== */
/* Normal sentence case: no forced capitals anywhere; text shows as written */
h1, h2, h3, .kicker, .btn, .nav-link, .menu-button, .submenu a, .step-box h3, .more-link, .town-grid li,
.contact-label, .enquiry-form label, .trust-list li, .town-list li, .mobile-bar a, .footer-links a,
.footer h2, .footer h3, .faq summary, .breadcrumb, .top-bar, .section-title { text-transform: none !important; letter-spacing: 0 !important; }
/* Homepage opening: tighter, so the heading, introduction and call button show sooner */
.intro.home-intro { padding: 22px 0 30px; }
.home-intro h1 { margin-bottom: 6px; }
.hero-sub { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; color: var(--accent); margin: 0 0 12px; }
.home-intro p.lead { margin-bottom: .6em; }
.home-intro .btn-row { margin-top: 16px; }
.home-intro .intro-note { margin-top: 12px; }
.price-note { margin: 10px auto 0; font-size: .95rem; }
.home-intro .trust-list { margin-top: 20px; }
/* Phones: team photo shows both faces in full; smaller corner cut */
.home-hero { height: 250px; }
.home-hero::after { border-bottom-width: 70px; border-left-width: 70px; }
.top-contact { flex-wrap: nowrap; gap: 4px 14px; font-size: .95rem; }
@media (min-width: 768px) {
  .intro.home-intro { padding: 36px 0 40px; }
  .home-hero { height: 400px; }
  .home-hero::after { border-bottom-width: 200px; border-left-width: 200px; }
  .hero-sub { font-size: 1.3rem; }
}
@media (min-width: 1100px) {
  .home-hero { height: 560px; }
  .home-hero::after { border-bottom-width: 250px; border-left-width: 250px; }
}
/* Phones: one-line top bar, tighter opening text */
.top-contact > li { display: flex; align-items: center; }
.top-bar-inner { min-height: 40px; }
@media (max-width: 767px) {
  .draft-banner { font-size: .78rem; padding-top: 4px; padding-bottom: 4px; line-height: 1.4; }
  .home-hero { height: 232px; }
  .home-intro h1 { font-size: 1.45rem; }
  .hero-sub { font-size: 1.05rem; line-height: 1.35; margin-bottom: 10px; }
  .home-intro p.lead { font-size: 1rem; line-height: 1.55; }
}
@media (max-width: 767px) { .top-contact > li.top-email { display: none; } }
/* Team photo framing per screen size (faces sit about 18 to 42% down the photo; the desktop header floats over the top) */
@media (min-width: 768px) { .home-hero img { object-position: 50% 15% !important; } }
@media (min-width: 1100px) { .home-hero { height: 640px; } .home-hero img { object-position: 50% 8% !important; } }
