/*
Theme Name: Clyra Group
Theme URI: https://www.clyra-group.co.uk
Author: Welch Marketing Ltd
Author URI: https://www.welchmarketing.co.uk
Description: Premium, plugin-free WordPress theme for Clyra Group, roofing and construction specialists across Dorset and Hampshire. Self-building pages, local SEO location pages, schema, contact form and a full Welch Settings admin panel. No page builders, no plugin dependencies.
Version: 1.18.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clyra-group
*/

/* =====================================================================
   SELF-HOSTED FONTS (no Google CDN)
   Drop the .woff2 files into assets/fonts/ (see assets/fonts/README.txt).
   Until then, the fallback stack below keeps the site looking polished.
   ===================================================================== */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dmsans-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-variable.woff2") format("woff2");
}

/* =====================================================================
   DESIGN TOKENS
   ===================================================================== */
:root {
  --brand: #1b2a3a;
  --brand-2: #24384b;
  --brand-dark: #121e29;
  --accent: #e1662e;
  --accent-2: #f0894b;
  --accent-dark: #c4551f;
  --ink: #17202a;
  --muted: #5b6b7a;
  --line: #e5e8ec;
  --cream: #f7f5f2;
  --cream-2: #efece7;
  --paper: #ffffff;
  --ok: #2f8f5b;

  --font-head: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 880px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(18, 30, 41, .06), 0 2px 8px rgba(18, 30, 41, .05);
  --shadow: 0 10px 30px rgba(18, 30, 41, .10);
  --shadow-lg: 0 24px 60px rgba(18, 30, 41, .16);
  --gutter: clamp(18px, 5vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brand);
}
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }

/* icon backstop: keeps inline SVG icons at text size even if a rule is missing */
.icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -0.125em; fill: currentColor; }

/* =====================================================================
   LAYOUT HELPERS
   ===================================================================== */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gutter) * 2), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--brand { background: var(--brand); color: #eef2f6; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--accent);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--brand .eyebrow { color: var(--accent-2); }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); }
.section-head.center { text-align: center; }
h2.big { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.lead { font-size: 1.13rem; color: var(--muted); }
.section--brand .lead, .section--brand p { color: #c7d2dd; }
.section--brand h2, .section--brand h3 { color: #fff; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 8px 20px rgba(225, 102, 46, .28);
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(225, 102, 46, .36); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  border-color: rgba(27, 42, 58, .22);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--brand); --btn-fg: #fff; box-shadow: var(--shadow); border-color: var(--brand); }
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.btn--light:hover { --btn-bg: #fff; }
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .5);
  box-shadow: none;
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* =====================================================================
   UTILITY / TOP BAR
   ===================================================================== */
.topbar {
  background: var(--brand-dark);
  color: #cdd7e0;
  font-size: .86rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding-block: 6px; }
.topbar a { color: #eaf0f5; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.topbar__contacts span, .topbar__contacts a { display: inline-flex; align-items: center; gap: .5em; }
.topbar__usp { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: #fff; }
.topbar__usp svg { color: var(--accent-2); }
@media (max-width: 860px) { .topbar__usp { display: none; } .topbar .wrap { justify-content: center; } }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo svg, .site-logo img { height: 44px; width: auto; display: block; }
.site-logo img { max-height: 52px; }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { white-space: nowrap; }
.primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 10px 15px;
  border-radius: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--brand);
  transition: background .2s, color .2s;
}
.primary-nav > ul > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { background: var(--cream-2); color: var(--brand); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children > a::after {
  content: "";
  width: .5em; height: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: .15em;
  opacity: .6;
}
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
}
.primary-nav .sub-menu a:hover { background: var(--cream); color: var(--accent-dark); }

.header-cta { display: inline-flex; align-items: center; gap: 10px; flex: none; }

/* nav toggle (pure CSS) */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(225, 102, 46, .28), transparent 60%),
    linear-gradient(180deg, rgba(18, 30, 41, .72), rgba(18, 30, 41, .92));
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 84px); }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero__copy { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; color: var(--accent-2);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.03; margin-bottom: .35em; }
.hero h1 .hl { color: var(--accent-2); }
.hero__sub { font-size: clamp(1.06rem, 1.7vw, 1.28rem); color: #d3dde6; max-width: 40ch; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 30px; }
.hero__badges { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 12px; justify-content: start; }
@media (max-width: 520px) { .hero__badges { grid-template-columns: 1fr; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 9px 15px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: #eaf1f7;
}
.hero__badge svg { color: var(--accent-2); }

/* hero side card */
.hero__card {
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: var(--brand); font-size: 1.35rem; margin-bottom: 6px; }
.hero__card p.small { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.hero__card .field { margin-bottom: 12px; }
.hero__card label { font-size: .82rem; font-weight: 600; color: var(--brand); display: block; margin-bottom: 5px; }
.hero__card input, .hero__card select, .hero__card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.hero__card textarea { min-height: 84px; resize: vertical; }
.hero__card .btn { width: 100%; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: 2; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .btn { width: 100%; }
}

/* =====================================================================
   INTRO / TWO-COLUMN
   ===================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split__media { display: none; }
}
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: .7em; font-weight: 500; }
.check-list li svg { color: var(--accent); flex: none; margin-top: .18em; width: 1.25em; height: 1.25em; }
.section--brand .check-list li svg { color: var(--accent-2); }
.intro-solo { max-width: 760px; margin: 0 auto; text-align: center; }
.intro-solo .eyebrow { justify-content: center; }
.intro-solo .btn { margin-top: 6px; }
.check-list--inline { justify-content: center; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; max-width: 620px; margin-inline: auto; }
@media (max-width: 560px) { .check-list--inline { grid-template-columns: 1fr; } }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.stat b { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; display: block; line-height: 1; }
.stat span { color: #c7d2dd; font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   IMAGE FRAMES / SLOTS
   ===================================================================== */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, var(--cream-2) 0 14px, var(--cream) 14px 28px);
  border: 1px dashed rgba(27, 42, 58, .28);
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--muted);
}
.frame__tag {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: 8px 14px; background: rgba(255, 255, 255, .8);
  border-radius: 999px; border: 1px solid var(--line); color: var(--brand);
}
.frame--filled { border: 0; background: none; }
.frame--filled img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { min-height: 420px; }
.frame--wide { aspect-ratio: 16 / 10; min-height: 0; }
.frame__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: .85rem; padding: 9px 16px; border-radius: 999px;
  box-shadow: var(--shadow);
}

/* =====================================================================
   SERVICES GRID
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(225, 102, 46, .4); }
.card__media { position: relative; aspect-ratio: 16 / 11; min-height: 0; border-radius: 0; }
.card__media.frame { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.card__icon {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.card__icon svg { width: 24px; height: 24px; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.card__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.card__list li { display: flex; align-items: flex-start; gap: .55em; font-size: .93rem; }
.card__list li svg { color: var(--accent); flex: none; margin-top: .2em; width: 1.05em; height: 1.05em; }
.card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 700; color: var(--accent-dark); font-size: .98rem;
}
.card__link svg { transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* =====================================================================
   FEATURE / WHY-CHOOSE GRID
   ===================================================================== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.section--cream .feature { background: #fff; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: grid; place-items: center; margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 940px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review__stars { display: inline-flex; gap: 2px; color: #f5a623; margin-bottom: 14px; }
.review__stars svg { width: 1.05em; height: 1.05em; }
.review__text { font-size: 1.02rem; color: var(--ink); margin-bottom: 18px; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.review__name { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: .98rem; }
.review__loc { font-size: .85rem; color: var(--muted); }
.reviews-empty { text-align: center; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 30px; box-shadow: var(--shadow-sm); }
.reviews-empty svg { color: var(--accent); width: 40px; height: 40px; margin-bottom: 12px; }

/* =====================================================================
   ACCREDITATIONS / BADGE STRIP
   ===================================================================== */
.badge-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: .6em;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-family: var(--font-head); font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.badge-chip svg { color: var(--accent); }

/* =====================================================================
   AREAS
   ===================================================================== */
.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-pill {
  display: inline-flex; align-items: center; gap: .5em;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--brand);
  transition: transform .2s var(--ease), border-color .2s, color .2s, box-shadow .2s;
}
.section--brand .area-pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #eaf1f7; }
.area-pill:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-dark); box-shadow: var(--shadow-sm); }
.section--brand .area-pill:hover { color: #fff; border-color: var(--accent-2); }
.area-pill svg { color: var(--accent); }
.section--brand .area-pill svg { color: var(--accent-2); }

/* =====================================================================
   FAQ (pure CSS accordion)
   ===================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__a p { margin: 0; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; background: linear-gradient(135deg, var(--brand-dark), var(--brand-2)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(225,102,46,.4), transparent 62%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cdd8e2; margin: 0; max-width: 46ch; }

/* =====================================================================
   PAGE HEADER (interior)
   ===================================================================== */
.page-hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 88% 0%, rgba(225,102,46,.24), transparent 55%); }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(52px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: .3em; }
.page-hero p { color: #cfd9e2; max-width: 60ch; font-size: 1.1rem; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5em; font-size: .88rem; color: #a9b8c6; margin-bottom: 18px; }
.breadcrumbs a { color: #d6e0e9; font-weight: 600; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .5; }

/* =====================================================================
   PROSE (article / page body)
   ===================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 1.2em 0; }
.prose ul li { display: flex; align-items: flex-start; gap: .6em; }
.prose ul li::before { content: ""; width: 1.15em; height: 1.15em; flex: none; margin-top: .28em; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.contact-card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.contact-card__ic svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 3px; }
.contact-card a, .contact-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.contact-card a:hover { color: var(--accent-dark); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.form .field { margin-bottom: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--brand); margin-bottom: 6px; }
.form label .req { color: var(--accent-dark); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225, 102, 46, .15); }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.form-alert--ok { background: #e7f5ee; color: #1e6b41; border: 1px solid #b9e2cc; }
.form-alert--err { background: #fdecea; color: #a3271b; border: 1px solid #f3c6c0; }

/* =====================================================================
   BLOG
   ===================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__meta { font-size: .82rem; color: var(--accent-dark); font-weight: 600; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.post-card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--accent-dark); }
.post-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.post-card .card__link { color: var(--accent-dark); }
.post-body { max-width: 760px; margin-inline: auto; }
.post-body h2, .post-body h3 { margin-top: 1.5em; }
.post-body p { margin-bottom: 1.2em; }
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 600; color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent-dark); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--brand-dark); color: #b9c6d2; padding-top: clamp(52px, 7vw, 80px); }
.site-footer a { color: #d3dde6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__logo { margin-bottom: 18px; }
.footer-brand__logo svg, .footer-brand__logo img { height: 46px; width: auto; }
.footer-brand p { font-size: .95rem; color: #a7b6c4; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .1); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col ul a { font-size: .95rem; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: .95rem; }
.footer-contact svg { color: var(--accent-2); flex: none; margin-top: .15em; width: 1.15em; height: 1.15em; }
.footer-contact ul { padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: clamp(40px, 6vw, 60px); padding-block: 24px; font-size: .86rem; color: #8fa1b1; }
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   MOBILE STICKY CALL BAR
   ===================================================================== */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; box-shadow: 0 -6px 24px rgba(18,30,41,.1); }
.mobile-bar .btn { flex: 1; min-width: 0; padding: 13px 12px; font-size: .95rem; white-space: nowrap; }
.mobile-bar .btn svg { width: 1.05em; height: 1.05em; }
.mobile-bar .btn--call { --btn-bg: var(--brand); box-shadow: none; }

/* =====================================================================
   RESPONSIVE / MOBILE NAV
   ===================================================================== */
@media (max-width: 1080px) {
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 1000px) {
  /* sticky auto-hide header (revealed on scroll up); high z so the menu layers above the call bar */
  .site-header {
    backdrop-filter: none;
    position: sticky;
    top: 0;
    z-index: 80;
    background: #fff;
    transition: transform .32s ease;
  }
  .site-header.is-hidden { transform: translateY(-100%); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--brand-dark);
    margin: 0;
    padding: 90px 26px 48px;
    overflow-y: auto;
  }
  #nav-toggle:checked ~ .primary-nav { display: block; }
  #nav-toggle:checked ~ .nav-toggle span { background: transparent; }
  #nav-toggle:checked ~ .nav-toggle span::before { top: 50%; transform: translate(-50%, -50%) rotate(45deg); background: #fff; }
  #nav-toggle:checked ~ .nav-toggle span::after { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); background: #fff; }
  #nav-toggle:checked ~ .nav-toggle {
    position: fixed; top: 20px; right: 20px; z-index: 110;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
  }

  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav > ul > li > a { color: #fff; font-size: 1.15rem; padding: 14px 12px; border-radius: 10px; }
  .primary-nav > ul > li > a:hover, .primary-nav .current-menu-item > a { background: rgba(255, 255, 255, .08); color: #fff; }
  .primary-nav .menu-item-has-children > a::after { margin-left: auto; }
  .primary-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 14px; min-width: 0;
  }
  .primary-nav .sub-menu a { color: #b9c6d2; padding: 9px 12px; }
  .primary-nav .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .mobile-nav-cta { display: grid; gap: 12px; margin-top: 22px; }
  .mobile-nav-cta .btn { width: 100%; }
  .mobile-bar { display: flex; }
  body:has(#nav-toggle:checked) .mobile-bar { display: none; }
  body { padding-bottom: 72px; }
}
@media (min-width: 1001px) { .mobile-nav-cta { display: none; } }

@media (max-width: 640px) {
  :root { --section: 40px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--brand); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* WP admin bar spacing safety */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* -------------------------------------------------------------------------
 * Cookie consent banner
 * ---------------------------------------------------------------------- */
.clyra-cookie{position:fixed;left:0;right:0;bottom:0;z-index:900;background:var(--brand);color:#e7eef2;box-shadow:0 -8px 30px rgba(0,0,0,.22)}
.clyra-cookie[hidden]{display:none}
.clyra-cookie__inner{max-width:var(--wrap);margin:0 auto;padding:clamp(1.1rem,3vw,1.6rem) clamp(1.35rem,4vw,2rem);display:flex;align-items:center;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap}
.clyra-cookie__text{flex:1 1 340px}
.clyra-cookie__title{font-family:var(--font-head);font-weight:700;font-size:1.05rem;color:#fff;margin:0 0 .35rem}
.clyra-cookie__body{margin:0;font-size:.92rem;line-height:1.6;color:#c4d0d8}
.clyra-cookie__body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.clyra-cookie__actions{display:flex;gap:.75rem;flex:0 0 auto}
.clyra-cookie__btn{font-family:var(--font-head);font-weight:700;font-size:.95rem;line-height:1;padding:.85rem 1.6rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform .25s,background .25s,color .25s,border-color .25s}
.clyra-cookie__btn:hover{transform:translateY(-2px)}
.clyra-cookie__btn--accept{background:var(--accent);color:#20160a}
.clyra-cookie__btn--accept:hover{background:var(--accent-2)}
.clyra-cookie__btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.34)}
.clyra-cookie__btn--ghost:hover{background:#fff;color:var(--brand);border-color:#fff}
.footer-legal a, .clyra-cookie-open { color: inherit; text-decoration: none; }
.footer-legal a:hover, .clyra-cookie-open:hover { text-decoration: underline; }
.clyra-cookie-open { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
@media (max-width:640px){
	.clyra-cookie__actions{flex:1 1 100%}
	.clyra-cookie__btn{flex:1 1 auto;text-align:center}
}
