/*
Theme Name: Iris Plumbing
Theme URI: https://iris-plumbing-services.infinityfree.me
Author: Iris Plumbing Services
Author URI: https://www.facebook.com/Irisplumbingservices/
Description: A custom WordPress theme for Iris Plumbing Services LTD, ported from the complete static website. Repairs, bathroom installations, landlord and commercial support, planned maintenance, care plans, real project media, service areas and secure enquiry forms across Norwich and Norfolk.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iris-plumbing
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #0a2035;
  --ink-2: #14344f;
  --blue: #1266a8;
  --blue-2: #0b4f87;
  --aqua: #16a6b6;
  --aqua-soft: #dff6f7;
  --orange: #f59d23;
  --orange-soft: #fff1da;
  --paper: #ffffff;
  --mist: #f3f7f9;
  --line: #dce6eb;
  --text: #405568;
  --success: #176b51;
  --danger: #a13a33;
  --shadow-sm: 0 10px 30px rgba(10, 32, 53, .08);
  --shadow-lg: 0 24px 70px rgba(10, 32, 53, .15);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.icon--fill { fill: currentColor !important; stroke: none !important; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { overflow-wrap: anywhere; }
p { margin: 0 0 1rem; color: var(--text); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 9vw, 5rem); }
h2 { font-size: clamp(1.85rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.45rem); }
ul, ol { margin: 0; padding: 0; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--soft { background: var(--mist); }
.section--ink { color: #fff; background: var(--ink); }
.section--ink p { color: #c7d6e1; }
.section-heading { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading--centre { margin-inline: auto; text-align: center; }
.section-heading p { margin-top: 1rem; font-size: 1.05rem; }

#plans { scroll-margin-top: 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 3px; border-radius: 5px; background: var(--orange); content: ""; }
.section--ink .eyebrow, .cta .eyebrow { color: #bdeef1; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); }

.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: .7rem 1rem; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.utility { color: #d8e6ef; background: #071a2b; font-size: .77rem; }
.utility__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility p { margin: 0; color: inherit; }
.utility__links { display: none; gap: 1.4rem; }
.utility a:hover { color: #fff; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(220,230,235,.9); backdrop-filter: blur(14px); }
.nav-wrap { position: relative; }
.nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.brand { min-width: 0; display: inline-flex; align-items: center; }
.brand__logo { width: 132px; height: auto; flex: 0 0 auto; filter: drop-shadow(0 6px 10px rgba(10,32,53,.12)); transition: transform .25s ease, filter .25s ease; }
.brand:hover .brand__logo { filter: drop-shadow(0 9px 15px rgba(10,32,53,.2)); transform: translateY(-2px); }
.primary-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 112px); padding: .75rem 16px 1.25rem; overflow-y: auto; display: flex; flex-direction: column; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .2s ease; }
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
.primary-nav .nav-list { display: flex; flex-direction: column; gap: .15rem; }
.primary-nav .nav-list > li > a { display: flex; align-items: center; min-height: 46px; padding: .7rem .9rem; border-radius: 10px; font-size: .95rem; font-weight: 750; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_ancestor > a { color: var(--blue); background: #eef6fb; }
.primary-nav ul, .primary-nav li { margin: 0; padding: 0; list-style: none; }
.primary-nav li.menu-item-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.primary-nav li.menu-item-has-children > a { grid-column: 1; }
.primary-nav .sub-toggle { grid-column: 2; width: 40px; height: 40px; display: grid; place-items: center; margin-right: .1rem; color: var(--text); background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.primary-nav .sub-toggle:hover { color: var(--blue); background: #eef6fb; }
.primary-nav .sub-toggle::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.primary-nav li.is-open > .sub-toggle::after { transform: rotate(-135deg); }
.primary-nav .sub-menu { grid-column: 1 / -1; display: none; margin: .1rem 0 .4rem .9rem; padding-left: .8rem; border-left: 2px solid var(--line); }
.primary-nav li.is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-phone { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 12px; }
.nav-phone svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.nav-phone span { display: none; }
.nav-cart { position: relative; width: 42px; height: 42px; display: grid; place-items: center; color: var(--text); border: 1px solid transparent; border-radius: 12px; background: transparent; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.nav-cart svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.nav-cart:has(.nav-cart__count) { color: var(--blue); border-color: var(--line); background: #fff; }
.nav-cart:hover { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.nav-cart__count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; display: grid; place-items: center; padding-inline: 4px; color: #fff; border: 2px solid #fff; border-radius: 999px; background: var(--orange); font-size: .66rem; font-weight: 800; line-height: 1; }
.nav-cart__count:empty { display: none; }
.menu-toggle { width: 42px; height: 42px; padding: 0; display: grid; place-content: center; gap: 5px; cursor: pointer; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.menu-toggle span { width: 20px; height: 2px; display: block; background: currentColor; transition: .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .75rem 1.15rem; color: var(--ink); border: 1px solid transparent; border-radius: 12px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 26px rgba(18,102,168,.24); }
.button--primary:hover { box-shadow: 0 16px 32px rgba(18,102,168,.31); }
.button--secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button--orange { color: #291800; background: var(--orange); }
.button--white { color: var(--ink); background: #fff; }
.button--large { min-height: 54px; padding-inline: 1.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.nav-book { display: none; }
.nav-mobile-cta { display: inline-flex; position: sticky; z-index: 2; bottom: -1.25rem; margin: .75rem -16px -1.25rem; padding: 1.05rem 16px; border-radius: 0; box-shadow: none; border-top: 1px solid rgba(10,32,53,.08); }
.nav-mobile-cta:hover { box-shadow: none; }

.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(145deg, #f4fbfc 0%, #fff 58%, #fff5e5 100%); }
.hero::before, .page-hero::before { position: absolute; z-index: -1; inset: 0; opacity: .55; background-image: linear-gradient(rgba(18,102,168,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(18,102,168,.07) 1px, transparent 1px); background-size: 40px 40px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero__grid, .page-hero__grid { min-height: min(760px, calc(100svh - 112px)); display: grid; align-items: center; gap: 2.5rem; padding-top: clamp(3.25rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.page-hero__grid { min-height: 560px; }
.hero__copy, .page-hero__copy { min-width: 0; }
.hero__copy h1, .page-hero__copy h1 { max-width: 820px; }
.page-hero__copy h1 { font-size: clamp(2.35rem, 6vw, 4.25rem); }
.hero__copy h1 span, .page-hero__copy h1 span { color: var(--blue); }
.hero__copy > p, .page-hero__copy > p { max-width: 680px; margin: 1.25rem 0 1.6rem; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.page-hero--compact .page-hero__grid { min-height: 0; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__proof { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1.5rem; color: var(--ink-2); font-size: .88rem; font-weight: 750; }
.hero__proof span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__proof svg { width: 17px; fill: none; stroke: var(--success); stroke-width: 2.2; }
.breadcrumbs { margin-bottom: 1.2rem; color: #60788a; font-size: .78rem; font-weight: 700; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; }
.breadcrumbs li { display: flex; gap: .35rem; }
.breadcrumbs a:hover { color: var(--blue); }

.plumbing-art { position: relative; min-height: 310px; max-width: 540px; width: 100%; margin-inline: auto; }
.plumbing-art__panel { position: absolute; inset: 6% 3%; overflow: hidden; border: 1px solid rgba(18,102,168,.12); border-radius: 38px; background: linear-gradient(145deg, #fff, #eaf7f9); box-shadow: var(--shadow-lg); }
.plumbing-art__panel::before, .plumbing-art__panel::after { position: absolute; border: 20px solid var(--aqua); content: ""; }
.plumbing-art__panel::before { width: 60%; height: 52%; top: -19%; right: -15%; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(12deg); }
.plumbing-art__panel::after { width: 48%; height: 48%; left: -16%; bottom: -22%; border-right-color: transparent; border-top-color: transparent; border-radius: 50%; }
.plumbing-art__drop { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: clamp(112px, 28vw, 170px); aspect-ratio: .82; display: grid; place-items: center; color: #fff; border-radius: 55% 55% 56% 56% / 68% 68% 38% 38%; background: linear-gradient(145deg, var(--blue), var(--aqua)); box-shadow: 0 26px 55px rgba(18,102,168,.3); transform: translate(-50%, -54%) rotate(45deg); }
.plumbing-art__drop svg { width: 60%; fill: none; stroke: currentColor; stroke-width: 1.3; transform: rotate(-45deg); }
.plumbing-art__drop svg path { stroke-dasharray: 48 12; animation: pipe-flow 4.8s linear infinite; }
.plumbing-art__chip { position: absolute; z-index: 3; padding: .65rem .8rem; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); font-size: .76rem; font-weight: 800; }
.plumbing-art__chip--one { top: 10%; left: 0; }
.plumbing-art__chip--two { right: 0; bottom: 12%; }

.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-strip__grid { display: grid; grid-template-columns: 1fr 1fr; }
.trust-item { min-width: 0; padding: 1.15rem .7rem; display: flex; align-items: center; gap: .65rem; border-bottom: 1px solid var(--line); }
.trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-item svg { width: 22px; flex: 0 0 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.trust-item strong { display: block; font-size: .82rem; line-height: 1.25; }
.trust-item small { display: none; color: var(--text); }

.grid { display: grid; gap: 1rem; }
.grid > * { min-width: 0; }
.card { min-width: 0; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.card__icon { width: 48px; height: 48px; margin-bottom: 1rem; display: grid; place-items: center; color: var(--blue); border-radius: 14px; background: #edf7fb; }
.card__icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.card:hover .card__icon { color: #fff; background: var(--blue); transform: rotate(-4deg) translateY(-3px); }
.card__icon { transition: transform .28s ease, color .28s ease, background .28s ease; }
.card:hover .card__icon svg { animation: icon-pulse .75s ease; }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .93rem; }
.card__link { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue); font-weight: 800; }
.card__link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.service-card { position: relative; overflow: hidden; }
.service-card::after { position: absolute; width: 90px; height: 90px; right: -38px; bottom: -43px; border-radius: 50%; background: var(--aqua-soft); content: ""; }
.service-card > * { position: relative; z-index: 1; }
.number { color: var(--orange); font-size: .77rem; font-weight: 900; letter-spacing: .1em; }

.split { display: grid; gap: 2rem; align-items: center; }
.split__copy { min-width: 0; }
.split__copy h2 { margin-bottom: 1rem; }
.feature-panel { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--ink), var(--blue-2)); box-shadow: var(--shadow-lg); }
.feature-panel::before { position: absolute; width: 310px; height: 310px; right: -120px; top: -100px; border: 50px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.feature-panel::after { position: absolute; width: 220px; height: 220px; left: -90px; bottom: -95px; border: 35px solid rgba(22,166,182,.35); border-radius: 50%; content: ""; }
.feature-panel__content { position: absolute; z-index: 2; inset: auto 1.35rem 1.35rem; padding: 1.25rem; color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(7,26,43,.7); backdrop-filter: blur(9px); }
.feature-panel__content p { color: #d5e2ea; }
.check-list { display: grid; gap: .7rem; margin: 1.4rem 0 1.7rem; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; color: var(--text); }
.check-list svg { width: 19px; flex: 0 0 19px; margin-top: .25rem; fill: none; stroke: var(--success); stroke-width: 2.2; }
.section--ink .check-list li { color: #d4e1e9; }

.process { counter-reset: steps; }
.process .card { position: relative; }
.process .card::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 1rem; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }

.band { padding: clamp(2rem, 5vw, 3.2rem) 0; color: #fff; background: linear-gradient(125deg, var(--blue-2), var(--aqua)); }
.band__inner { display: grid; gap: 1rem; align-items: center; }
.band h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
.band p { margin: .6rem 0 0; color: #e6f7f8; }

.plan-card { display: flex; flex-direction: column; }
.plan-card--featured { color: #fff; background: linear-gradient(150deg, var(--ink), var(--blue-2)); transform: none; box-shadow: 0 26px 54px rgba(10, 32, 53, .28); }
.plan-card--featured p, .plan-card--featured li { color: #d7e4ec; }
.plan-card__label { align-self: flex-start; margin-bottom: 1rem; padding: .35rem .65rem; color: var(--blue-2); border-radius: 999px; background: var(--aqua-soft); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.plan-card__label--hot { color: #fff; background: var(--orange); }
.plan-card__price { margin: 1rem 0; color: var(--ink); font-size: 1.9rem; font-weight: 900; }
.plan-card--featured .plan-card__price { color: #fff; }
.plan-card--featured .iris-plan-per { color: #bdeef1; }
.plan-card .button { margin-top: auto; }
.plan-card .check-list { margin: 1.1rem 0 1.5rem; }
.plan-card__trust { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .85rem; color: var(--text); font-size: .78rem; font-weight: 650; }
.plan-card__trust svg { width: 14px; flex: 0 0 14px; fill: none; stroke: var(--success); stroke-width: 2.4; }
.plan-card--featured .plan-card__trust { color: #aebfd0; }
.iris-plan-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .15em; font-weight: 800; letter-spacing: -.02em; }
.iris-plan-price .woocommerce-Price-amount, .iris-plan-price .amount { color: inherit; font-size: inherit; }
.iris-plan-per { color: inherit; font-size: .55em; font-weight: 700; opacity: .78; }
.home-plan-teaser { align-items: stretch; }
.home-plan-teaser .card__icon { margin-bottom: 1.25rem; }
.home-plan-teaser .plan-card { transition: transform .22s ease, box-shadow .22s ease; }
.home-plan-teaser .plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.home-plan-teaser .plan-card--featured:hover { box-shadow: 0 32px 62px rgba(10, 32, 53, .36); }
.home-plan-teaser .plan-card__price { margin: 1.35rem 0 1.6rem; }
.home-plan-teaser .plan-card .check-list { margin: 0 0 1.6rem; }
.home-plan-teaser__more { display: flex; justify-content: center; margin-top: 2.25rem; }
#home-care-plans { padding-bottom: 0; }
#home-care-plans .section-heading h2 { font-size: clamp(1.75rem, 4.6vw, 3rem); }

.project-card { padding: 0; overflow: hidden; }
.project-card__visual { min-height: 210px; position: relative; overflow: hidden; background: linear-gradient(145deg, #d9f1f3, #eaf1fb); }
.project-card__visual::before { position: absolute; width: 170px; height: 170px; left: 50%; top: 50%; border: 30px solid var(--aqua); border-radius: 50%; content: ""; transform: translate(-50%,-50%); }
.project-card__visual::after { position: absolute; width: 90px; height: 170px; left: 50%; top: 50%; border: 24px solid var(--blue); border-block-color: transparent; border-radius: 40%; content: ""; transform: translate(-50%,-50%) rotate(45deg); }
.project-card__content { padding: 1.35rem; }
.filters { display: flex; gap: .5rem; overflow-x: auto; margin-bottom: 1.5rem; padding-bottom: .25rem; scrollbar-width: thin; }
.filters button { flex: 0 0 auto; padding: .62rem .9rem; color: var(--text); border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 800; }
.filters button.is-active { color: #fff; border-color: var(--blue); background: var(--blue); }
[data-project][hidden] { display: none !important; }
/* Project video cards: full thumbnail (never cropped) over a blurred copy of itself, play button, link to Facebook. */
.media-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.media-card__thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); isolation: isolate; }
.media-card__thumb::before { position: absolute; z-index: -1; inset: -24px; background: var(--thumb) center / cover no-repeat; filter: blur(22px) brightness(.55) saturate(1.1); content: ""; }
.media-card__thumb img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.media-card:hover .media-card__thumb img { transform: scale(1.03); }
.media-card__thumb:focus-visible { outline: 3px solid var(--aqua); outline-offset: -3px; }
.media-card__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: translate(-50%, -50%); transition: transform .25s ease, background .25s ease; }
.media-card__play::after { position: absolute; inset: -8px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; content: ""; }
.media-card__play svg { width: 30px; margin-left: 4px; fill: var(--blue); }
.media-card:hover .media-card__play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.media-card__badge { position: absolute; top: .75rem; left: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: 999px; background: rgba(10,32,53,.72); color: #fff; font-size: .75rem; font-weight: 800; backdrop-filter: blur(6px); }
.media-card__badge svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.media-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.2rem 1.25rem; }
.media-card__body h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.media-card__body p { margin: .35rem 0 .9rem; font-size: .9rem; }
.media-card__body .card__link { margin-top: auto; }

.facebook-work { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f2f9fb 100%); }
.facebook-work::before { position: absolute; width: 410px; height: 410px; top: 5%; right: -230px; border: 55px solid rgba(22,166,182,.1); border-radius: 50%; content: ""; pointer-events: none; }
.facebook-work .container { position: relative; z-index: 1; }
.facebook-work__actions { margin-top: 2rem; }

.facebook-reviews { color: #fff; background: #071a2b; }
.review-layout { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.review-feature { position: relative; overflow: hidden; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); background: linear-gradient(145deg, #1266a8, #0b4f87 58%, #08375e); box-shadow: var(--shadow-lg); }
.review-feature::after { position: absolute; width: 230px; height: 230px; right: -95px; bottom: -125px; border: 38px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; }
.review-feature > * { position: relative; z-index: 1; }
.review-feature__source { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.5rem; color: #fff; font-size: .8rem; font-weight: 850; letter-spacing: .04em; }
.review-feature__source svg { width: 22px; }
.review-feature__score { display: block; color: #fff; font-size: clamp(4.2rem, 17vw, 7.3rem); line-height: .9; letter-spacing: -.075em; }
.review-feature h2 { max-width: 520px; margin: 1rem 0; font-size: clamp(1.55rem, 4vw, 2.35rem); }
.review-feature p { max-width: 520px; color: #d9edf7; }
.review-feature .button { margin-top: .65rem; }
.review-copy h2 { max-width: 690px; }
.review-copy > p { max-width: 680px; margin: 1.1rem 0 1.5rem; color: #bdcfdb; }
.review-metrics { display: grid; gap: .75rem; margin-bottom: 1.6rem; }
.review-metrics article { min-width: 0; padding: 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.06); }
.review-metrics strong, .review-metrics span, .review-metrics small { display: block; }
.review-metrics strong { color: #fff; font-size: 1.35rem; line-height: 1.2; }
.review-metrics span { margin-top: .25rem; color: #bdeef1; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.review-metrics small { margin-top: .35rem; color: #9eb6c5; font-size: .72rem; }
.facebook-reviews .button--secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.32); }

.areas { display: flex; flex-wrap: wrap; gap: .65rem; }
.area-pill { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 750; }
/* Pages written in the block editor (Emergency, Boilers, Bathrooms, Leaks, Landlords, Reviews) */
.iris-prose { max-width: 820px; margin-inline: auto; }
.iris-prose > :first-child { margin-top: 0; }
.iris-prose h2 { margin: 2.75rem 0 .8rem; font-size: clamp(1.45rem, 3.4vw, 2.05rem); letter-spacing: -.025em; }
.iris-prose h3 { margin: 1.6rem 0 .4rem; font-size: 1.12rem; letter-spacing: -.01em; }
.iris-prose p, .iris-prose li { font-size: 1.05rem; line-height: 1.7; }
.iris-prose > h2:first-child + p { color: var(--ink-2); font-size: 1.18rem; }
.iris-prose p a:not(.wp-block-button__link) { color: var(--blue); font-weight: 800; text-decoration: underline; }
.iris-prose ul.wp-block-list { display: grid; gap: .55rem; margin: 0 0 1.25rem; padding-left: 1.25rem; }
.iris-prose ul.wp-block-list li::marker { color: var(--aqua); }
.iris-prose strong { color: var(--ink); }
.iris-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.25rem 0 1.5rem; }
.iris-prose .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 26px rgba(18,102,168,.22); color: #fff; font-weight: 800; transition: transform .18s ease; }
.iris-prose .wp-block-button__link:hover { transform: translateY(-2px); }
.iris-prose .is-style-outline .wp-block-button__link { border-color: var(--line); background: #fff; box-shadow: none; color: var(--ink); }
.iris-content-cta { margin: 2.5rem 0; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); background: linear-gradient(135deg, var(--ink), var(--blue-2)); color: #fff; }
.iris-prose .iris-content-cta h2 { margin-top: 0; color: #fff; }
.iris-prose .iris-content-cta p { color: #d7e4ec; }
.iris-prose .iris-content-cta .wp-block-buttons { margin-bottom: 0; }
.iris-prose .iris-content-cta .wp-block-button__link { background: var(--orange); box-shadow: 0 14px 32px rgba(245,157,35,.3); color: #291800; }
.iris-prose .iris-content-cta .is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.4); background: transparent; box-shadow: none; color: #fff; }
@media (max-width: 519px) { .iris-prose .wp-block-button, .iris-prose .wp-block-button__link { width: 100%; } }

.county-card h3 { margin-bottom: 1.1rem; }
.county-card .areas { gap: .5rem; }
.county-card .area-pill { padding: .5rem .8rem; background: var(--mist); font-size: .9rem; }
.county-note { max-width: 680px; margin: 1.75rem auto 0; text-align: center; }
.areas-more { display: inline-flex; margin-top: 1.25rem; color: var(--blue); font-weight: 800; text-decoration: underline; }
.map-panel { min-height: 380px; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(150deg, #e9f7f8, #dceafa); }
.map-panel::before, .map-panel::after { position: absolute; height: 18px; border: 4px solid #fff; border-inline: 0; border-radius: 50%; content: ""; }
.map-panel::before { width: 130%; left: -15%; top: 35%; transform: rotate(-14deg); }
.map-panel::after { width: 120%; left: -10%; top: 64%; transform: rotate(21deg); }
.map-pin { position: absolute; z-index: 2; width: 98px; height: 98px; top: 50%; left: 50%; display: grid; place-items: center; color: #fff; border: 8px solid rgba(255,255,255,.7); border-radius: 50% 50% 50% 8px; background: var(--blue); box-shadow: var(--shadow-lg); transform: translate(-50%,-60%) rotate(-45deg); }
.map-pin svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; transform: rotate(45deg); }

.faq-list { display: grid; gap: .75rem; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq h3 { font-size: 1rem; letter-spacing: 0; }
.faq button { width: 100%; min-height: 58px; padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); text-align: left; border: 0; background: none; cursor: pointer; font-weight: 800; }
.faq button::after { flex: 0 0 auto; color: var(--blue); content: "+"; font-size: 1.5rem; font-weight: 500; }
.faq button[aria-expanded="true"]::after { content: "−"; }
.faq__panel { padding: 0 1rem 1rem; }
.faq__panel p { margin: 0; }

.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
caption { padding: 1rem; text-align: left; font-weight: 900; }
th, td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { color: #fff; background: var(--ink); }
tbody th { color: var(--ink); }

.contact-grid { display: grid; gap: 1.2rem; align-items: start; }
.contact-stack { display: grid; gap: .8rem; }
.contact-card { min-width: 0; padding: 1.1rem; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: .9rem; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.contact-card__icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); border-radius: 12px; background: #eef7fb; }
.contact-card svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-card strong, .contact-card a { display: block; overflow-wrap: anywhere; }
.contact-card p { margin: .3rem 0 0; font-size: .88rem; }
.contact-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.contact-card:hover { border-color: #b8d7e8; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card--whatsapp .contact-card__icon { color: #fff; background: #25d366; }
.contact-card--messenger .contact-card__icon { color: #fff; background: #0866ff; }
.contact-band { padding: clamp(2.5rem, 6vw, 4rem) 0; color: #fff; background: linear-gradient(120deg, #073f72, #0b5f96 55%, #159aaa); }
.contact-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.contact-band h2 { max-width: 720px; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.contact-band p { max-width: 680px; margin: .75rem 0 0; color: #d7eef4; }
.contact-band__actions { display: grid; gap: .75rem; }
.button--whatsapp { color: #fff; background: #168f46; box-shadow: 0 12px 28px rgba(5,62,28,.24); }
.button--messenger { color: #fff; background: #0866ff; box-shadow: 0 12px 28px rgba(8,102,255,.24); }
.button--whatsapp svg, .button--messenger svg { width: 21px; }
.form-card { padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); }
.form-grid { display: grid; gap: .9rem; margin: 1.3rem 0; }
.field { min-width: 0; display: grid; gap: .35rem; }
.field span { color: var(--ink); font-size: .82rem; font-weight: 800; }
input, select, textarea { width: 100%; min-width: 0; padding: .78rem .85rem; color: var(--ink); border: 1px solid #b9cbd5; border-radius: 10px; background: #fff; outline: none; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,102,168,.12); }
.checkbox { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: .65rem; align-items: start; }
.checkbox input { width: 18px; height: 18px; margin-top: .2rem; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }
.form-note { font-size: .78rem; }
.form-status { display: none; margin: .9rem 0 1.1rem; padding: .95rem 1.1rem; border: 1px solid transparent; border-radius: 12px; font-size: 1.02rem; line-height: 1.5; font-weight: 800; }
.form-status.is-success { display: block; color: var(--success); background: rgba(23,107,81,.1); border-color: rgba(23,107,81,.35); }
.form-status.is-error { display: block; color: var(--danger); background: rgba(161,58,51,.1); border-color: rgba(161,58,51,.35); }

.legal-layout { display: grid; gap: 1.4rem; align-items: start; }
.legal-nav { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.legal-nav strong, .legal-nav a { display: block; }
.legal-nav a { padding: .45rem 0; color: var(--blue); font-size: .88rem; font-weight: 750; }
.legal-content { min-width: 0; }
.legal-content section { padding: 1.6rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.legal-content h2 { margin-bottom: .8rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.notice { padding: 1rem; border-left: 4px solid var(--orange); border-radius: 8px; background: var(--orange-soft); }
.notice p { margin: .35rem 0 0; }

.cta { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem) 0; color: #fff; background: linear-gradient(125deg, var(--ink), var(--blue-2)); }
.cta::after { position: absolute; width: 330px; height: 330px; right: -140px; bottom: -200px; border: 55px solid rgba(22,166,182,.2); border-radius: 50%; content: ""; }
.cta__inner { position: relative; z-index: 1; display: grid; gap: 1.4rem; align-items: center; }
.cta h2 { max-width: 720px; }
.cta p { max-width: 680px; margin-top: .8rem; color: #d4e3ec; }

.site-footer { padding: 3.5rem 0 1.2rem; color: #d5e3ec; background: #061724; }
.site-footer p { color: #9fb4c2; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__logo { width: 190px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)); }
.footer-brand p { max-width: 360px; margin-top: 1rem; }
.footer-phone { color: #fff; font-size: 1.35rem; font-weight: 900; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.footer-links h2 { margin-bottom: .7rem; color: #fff; font-size: .9rem; letter-spacing: 0; }
.footer-links a, .footer-links span { display: block; padding: .25rem 0; color: #9fb4c2; font-size: .82rem; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 1rem; }

.mobile-actions { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: var(--ink); box-shadow: var(--shadow-lg); }
.mobile-actions a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: .5rem; color: #fff; font-size: .82rem; font-weight: 850; }
.mobile-actions a + a { color: #241400; background: var(--orange); }
.mobile-actions svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }

.whatsapp-float { position: fixed; z-index: 110; right: 16px; bottom: 78px; width: 58px; height: 58px; display: grid; place-items: center; color: #fff; border: 2px solid rgba(255,255,255,.94); border-radius: 50%; background: #25d366; box-shadow: 0 14px 34px rgba(7,31,53,.28); transition: transform .2s ease, box-shadow .2s ease; animation: whatsapp-breathe 3.4s ease-in-out infinite; }
.whatsapp-float:hover { color: #fff; box-shadow: 0 18px 40px rgba(7,31,53,.36); transform: translateY(-3px) scale(1.03); }
.whatsapp-float:focus-visible { outline: 4px solid rgba(37,211,102,.28); outline-offset: 3px; }
.whatsapp-float svg { width: 31px; }
.whatsapp-float span { position: absolute; right: calc(100% + 10px); width: max-content; max-width: 170px; padding: .45rem .65rem; color: #fff; border-radius: 8px; background: #123126; box-shadow: var(--shadow-sm); font-size: .72rem; font-weight: 800; opacity: 0; transform: translateX(6px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.whatsapp-float:hover span, .whatsapp-float:focus-visible span { opacity: 1; transform: none; }

@keyframes pipe-flow {
  to { stroke-dashoffset: -120; }
}

@keyframes drop-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-4px) scale(1.06); }
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes whatsapp-breathe {
  0%, 100% { box-shadow: 0 14px 34px rgba(7,31,53,.28), 0 0 0 0 rgba(37,211,102,.28); }
  50% { box-shadow: 0 14px 34px rgba(7,31,53,.28), 0 0 0 10px rgba(37,211,102,0); }
}

@media (min-width: 520px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field--full { grid-column: 1 / -1; }
  .band__inner { grid-template-columns: minmax(0,1fr) auto; }
  .review-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-band__actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .utility__links { display: flex; }
  .plumbing-art { min-height: 430px; }
  .trust-strip__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .trust-item { padding: 1.3rem 1rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
  .trust-item small { display: block; }
  .split { grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(2rem, 6vw, 5rem); }
  .split--reverse .split__copy { order: 2; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: 2rem; }
  .contact-band__inner { grid-template-columns: minmax(0,1fr) auto; }
  .legal-layout { grid-template-columns: 220px minmax(0,1fr); gap: 3rem; }
  .legal-nav { position: sticky; top: 126px; }
  .cta__inner { grid-template-columns: minmax(0,1fr) auto; }
  .footer-grid { grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); }
  .footer-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mobile-actions { display: none; }
  .whatsapp-float { right: 22px; bottom: 22px; width: 62px; height: 62px; }
}

@media (min-width: 900px) {
  .hero__grid, .page-hero__grid { grid-template-columns: minmax(0,1.08fr) minmax(300px,.82fr); }
  .review-layout { grid-template-columns: minmax(310px,.82fr) minmax(0,1.18fr); }
}

@media (min-width: 1120px) {
  .nav-inner { min-height: 82px; }
  .brand__logo { width: 142px; }
  .primary-nav { position: static; max-height: none; padding: 0; display: flex; align-items: center; justify-content: center; gap: .1rem; overflow: visible; border: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .primary-nav .nav-list { flex-direction: row; align-items: center; gap: .1rem; }
  .primary-nav .nav-list > li { position: relative; }
  .primary-nav .nav-list > li > a { min-height: 0; padding: .7rem .65rem; font-size: .84rem; }
  .primary-nav li.menu-item-has-children { display: block; }
  .primary-nav .sub-toggle { display: none; }
  .primary-nav .sub-menu { position: absolute; z-index: 20; top: calc(100% + 10px); left: 0; display: block; min-width: 235px; margin: 0; padding: .5rem; border-left: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
  .primary-nav .nav-list > li:hover > .sub-menu, .primary-nav .nav-list > li:focus-within > .sub-menu, .primary-nav .nav-list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .primary-nav .sub-menu a { padding: .55rem .8rem; font-size: .85rem; font-weight: 650; }
  .menu-toggle { display: none; }
  .nav-phone { width: auto; height: auto; display: flex; gap: .55rem; border: 0; }
  .nav-phone span { display: flex; flex-direction: column; font-size: .78rem; font-weight: 850; line-height: 1.2; }
  .nav-phone small { color: var(--text); font-size: .62rem; font-weight: 650; }
  .nav-book { display: inline-flex; }
  /* Extra classes beat WooCommerce's `.woocommerce a.button { display: inline-flex }` on shop/product pages. */
  .site-header .nav-mobile-cta.button { display: none; }
  .plan-card--featured { transform: translateY(-14px) scale(1.06); }
  .home-plan-teaser .plan-card--featured:hover { transform: translateY(-20px) scale(1.07); }
}

@media (min-width: 1120px) {
  .primary-nav a { padding-inline: .85rem; }
}

@media (max-width: 519px) {
  body { padding-bottom: 76px; }
  .button, .actions .button { width: 100%; }
  .brand__logo { width: 122px; }
  .trust-item { align-items: flex-start; }
  .footer-links { grid-template-columns: 1fr; }
  .home-plan-teaser .plan-card--featured { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .utility, .site-header, .mobile-actions, .whatsapp-float, .cta, .contact-band, .button, .filters { display: none !important; }
  body { color: #000; background: #fff; padding: 0; }
  .section { padding: 1.5rem 0; }
  .card, .table-wrap { box-shadow: none; break-inside: avoid; }
}
