/*
Theme Name: Coolflow Technical
Theme URI: https://coolflowtechnical.com/
Author: Coolflow Technical
Description: Custom theme for Coolflow Technical: AC, plumbing, electrical, water pump, water filtration and solar water heater services across the UAE. Includes homepage, service page layout with sidebar quote form, mobile call and WhatsApp bar, and structured data.
Version: 1.6.2
Requires at least: 6.0
Tested up to: 6.6
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: coolflow-technical
*/

/* Layout: trade-services site — utility bar, sticky header with mega menu, photo banner per page, article + sticky sidebar, navy footer. Single light look by design. */
:root {
  color-scheme: light;
  --navy: #0f2a43;
  --navy-2: #163a5c;
  --brand: #0d6fb0;
  --brand-deep: #0a5689;
  --brand-tint: #e7f1f9;
  --accent: #f28a22;
  --accent-deep: #d97411;
  --on-accent: #1d1206;
  --ink: #15212c;
  --body: #34424f;
  --muted: #5e6b78;
  --line: #dde4ea;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --flag-bg: #fff1c2;
  --flag-ink: #6a4b00;
  --ok: #217a4a;
  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.10);
  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--body); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: 0.005em; text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* utility bar */
.util { background: var(--navy); color: #c9d6e2; font-size: 14px; }
.util .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding-block: 8px; }
.util span { display: inline-flex; gap: 7px; align-items: center; }
.util svg.i { width: 16px; height: 16px; color: var(--accent); }
.util .grow { flex: 1; }
.util label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; color: #e6eef5; }
.util input { accent-color: var(--accent); width: 16px; height: 16px; }

/* header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,0.97); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-sym { width: 36px; height: 45px; flex: none; }
.logo b { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: 0.01em; line-height: .9; display: block; color: var(--navy); }
.logo small { font-family: var(--font-body); font-weight: 600; font-size: 11px; color: var(--accent-deep); display: block; letter-spacing: .32em; margin-top: 3px; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-logo .logo-sym { width: 32px; height: 40px; }
.foot-logo b { font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: .9; color: #fff; display: block; letter-spacing: .01em; }
.foot-logo small { font-weight: 600; font-size: 10.5px; letter-spacing: .32em; color: var(--accent); display: block; margin-top: 3px; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 2px; }
nav.main > a, nav.main > .has-mega > button { font: 600 16px/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 14px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
nav.main > a:hover, nav.main > .has-mega > button:hover, nav.main > a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); right: -220px; width: min(900px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; }
.mega[hidden] { display: none; }
.mega h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand); margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { display: block; text-decoration: none; color: var(--body); font-size: 15px; line-height: 1.3; padding: 6px 6px; border-radius: 6px; }
.mega a:hover { background: var(--bg-soft); color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; font: 700 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-deep); color: var(--on-accent); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.head-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 48px; }
.head-call .ring { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.head-call small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.1; }
.head-call b { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.1; letter-spacing: .01em; }
.head-call:hover b { color: var(--brand); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(15,42,67,.55); }
.drawer[hidden] { display: none; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: #fff; overflow-y: auto; padding: calc(16px + env(safe-area-inset-top, 0px)) calc(18px + env(safe-area-inset-right, 0px)) 28px 18px; }
.drawer .close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; float: right; display: grid; place-items: center; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { cursor: pointer; font: 700 18px var(--font-display); color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .03em; }
.drawer summary::after { content: "+"; color: var(--brand); }
.drawer details[open] summary::after { content: "–"; }
.drawer ul { list-style: none; margin: 0 0 12px; padding: 0; }
.drawer li a { display: block; padding: 9px 4px; color: var(--body); text-decoration: none; }
.drawer .plain { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 18px var(--font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); text-decoration: none; }

/* banner */
.banner { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,67,.96) 0%, rgba(15,42,67,.78) 55%, rgba(15,42,67,.35) 100%); }
.banner .wrap { position: relative; z-index: 1; padding-block: clamp(42px, 7vw, 84px); }
.crumbs { font-size: 14px; color: #bcd0e2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.eyebrow { font: 700 15px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.banner h1 { color: #fff; font-size: clamp(36px, 5.4vw, 62px); margin: 10px 0 14px; max-width: 18ch; }
.banner p.lead { max-width: 62ch; color: #dbe6ef; font-size: 18.5px; margin: 0 0 22px; }
.banner .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* home hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 15ch; }
.quote-card { background: #fff; color: var(--body); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); border-top: 5px solid var(--accent); }
.quote-card h2 { font-size: 30px; margin: 0 0 4px; }
.quote-card p.small { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field input, .field select { font: inherit; font-size: 16px; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.form-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.form-done { background: var(--brand-tint); color: var(--navy); border-radius: 8px; padding: 10px 12px; font-size: 15px; margin-top: 10px; }

/* trust strip */
.trust { background: var(--accent); color: var(--on-accent); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust div { padding: 18px 16px; display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16px; line-height: 1.3; border-right: 1px solid rgba(29,18,6,.15); }
.trust div:last-child { border-right: 0; }
.trust svg.i { width: 26px; height: 26px; }

/* sections */
.section { padding-block: clamp(52px, 8vw, 92px); }
.section.soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 8px; margin-bottom: 34px; max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--body); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--body); }
.card .ph { aspect-ratio: 16 / 9; background: var(--brand-tint); position: relative; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .ico { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(242,138,34,.35); }
.card .ico svg.i { width: 24px; height: 24px; }
.card .body { padding: 34px 20px 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card h3 { font-size: 25px; margin: 0; }
.card p { margin: 0; font-size: 16px; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 24px 20px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 800 44px/1 var(--font-display); color: var(--brand-tint); -webkit-text-stroke: 1.5px var(--brand); display: block; margin-bottom: 8px; }
.step h3 { font-size: 23px; margin: 0 0 6px; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.split img { border-radius: 14px; display: block; width: 100%; height: auto; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg.i { color: var(--ok); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
a.chip:hover { border-color: var(--brand); color: var(--brand); }
.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-block: 38px; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(28px, 3.6vw, 40px); }
.cta-band p { margin: 4px 0 0; color: #c9d6e2; }

/* service page */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block: 48px 72px; }
article.copy { min-width: 0; max-width: 780px; }
article.copy > p:first-of-type { font-size: 19px; color: var(--ink); }
article.copy h2 { font-size: clamp(28px, 3.3vw, 38px); margin: 46px 0 12px; padding-top: 4px; }
article.copy h2::before { content: ""; display: block; width: 44px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }
article.copy h3 { font-size: 24px; margin: 28px 0 8px; }
article.copy p, article.copy li { max-width: 70ch; }
article.copy ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
article.copy ul li { position: relative; padding-left: 28px; }
article.copy ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); }
article.copy ol { list-style: none; padding: 0; counter-reset: o; display: grid; gap: 12px; }
article.copy ol > li { counter-increment: o; position: relative; padding: 14px 16px 14px 62px; background: var(--bg-soft); border-radius: 10px; }
article.copy ol > li::before { content: counter(o); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 18px/34px var(--font-display); text-align: center; }
article.copy figure { margin: 26px 0; display: grid; gap: 8px; }
article.copy figure img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--brand-tint); }
article.copy figure.diagram img { background: transparent; border: 1px solid var(--line); }
article.copy figcaption { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
article.copy figcaption > span:last-child { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.tag.stock { color: var(--accent-deep); border-color: currentColor; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; }
article.copy table { border-collapse: collapse; width: 100%; font-size: 15.5px; background: #fff; }
article.copy th, article.copy td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
article.copy th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
article.copy tr:last-child td { border-bottom: 0; }
article.copy tr:nth-child(even) td { background: var(--bg-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; padding: 18px; border-radius: 12px; background: var(--brand-tint); }
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--ink); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 18px 16px; }
aside.side { display: grid; gap: 22px; align-content: start; position: sticky; top: 100px; align-self: start; }
.side-box { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.side-box h2 { font-size: 22px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-nav a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 8px; background: var(--bg-soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.3; min-height: 44px; transition: background-color .18s ease, color .18s ease; }
.side-nav a:hover { background: var(--brand-tint); color: var(--brand); }
.side-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.contact-box { background: var(--navy); color: #d5e1eb; border: 0; }
.contact-box h2 { color: #fff; }
.contact-box .line { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15.5px; }
.contact-box .line svg.i { color: var(--accent); }
.contact-box .btn { width: 100%; margin-top: 14px; }
.send-list { margin: 0; padding-left: 18px; font-size: 15.5px; display: grid; gap: 6px; }
.flag { background: var(--flag-bg); color: var(--flag-ink); border-radius: 4px; padding: 0 5px; font-size: .84em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.banner .flag, .util .flag, .contact-box .flag, footer .flag { background: rgba(255, 241, 194, .16); color: #ffe39a; }
.hide-flags .flag { display: none; }
a.missing { color: var(--muted); text-decoration: underline dotted; cursor: help; }
.seo { border: 1px dashed var(--brand); border-radius: 12px; padding: 16px 18px; background: #fbfdff; margin-bottom: 26px; font-size: 14.5px; }
.seo[hidden] { display: none; }
.seo .row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.seo .pill { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; background: #fff; }
.seo .pill.warn { color: #9a5b00; border-color: currentColor; font-weight: 700; }
.seo .serp-t { color: #1a0dab; font-family: Arial, sans-serif; font-size: 19px; line-height: 1.3; }
.seo .serp-u { color: #1e6b37; font-family: Arial, sans-serif; font-size: 13px; overflow-wrap: anywhere; }
.seo .serp-d { color: #4d5156; font-family: Arial, sans-serif; font-size: 14px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 46px; }
.pager a { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 700; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager small { display: block; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager .next { text-align: right; grid-column: 2; }

/* footer */
footer { background: #0b2033; color: #b7c7d6; font-size: 15.5px; }
footer svg.i { color: var(--accent); width: 18px; height: 18px; flex: none; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 34px; padding-block: 56px 36px; }
footer h2 { color: #fff; font-size: 21px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: #d5e1eb; text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .muted-link { color: #7f93a6; }
footer .base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }

/* mobile bar */
.mbar { display: none; }

@media (max-width: 1080px) {
  nav.main, header.site .head-cta { display: none; }
  .menu-btn { display: grid; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  aside.side { position: static; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid rgba(29,18,6,.15); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .util .hide-sm { display: none; }
  .logo b { font-size: 25px; }
  .logo small { font-size: 9.5px; }
  .logo-sym { width: 30px; height: 38px; }
  header.site .wrap { min-height: 64px; }
  .banner h1 { font-size: clamp(32px, 9vw, 44px); }
  .grid-cards, .steps { grid-template-columns: minmax(0, 1fr); }
  footer .cols { grid-template-columns: minmax(0, 1fr); }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .next { grid-column: 1; }
  .mbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); padding: 8px calc(8px + env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) calc(8px + env(safe-area-inset-left, 0px)); gap: 8px; }
  .mbar a { display: grid; place-items: center; gap: 2px; min-height: 52px; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 13.5px; background: var(--navy-2); }
  .mbar a.q { background: var(--accent); color: var(--on-accent); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .card:hover { transform: none; } }

/* ---- WordPress additions ---- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
nav.main ul.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
nav.main ul.nav-list a { font: 600 16px/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 14px 12px; border-radius: 8px; display: inline-flex; min-height: 44px; align-items: center; }
nav.main ul.nav-list a:hover, nav.main ul.nav-list .current-menu-item > a { color: var(--brand); background: var(--brand-tint); }
.util a { color: inherit; text-decoration: none; }
.drawer-body { clear: both; padding-top: 8px; }
.contact-box a.line { color: #fff; text-decoration: none; }
.contact-box .line span { min-width: 0; }
.field textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; width: 100%; resize: vertical; color: var(--ink); }
.field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.field .opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.split-title { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 6px; }
.chip-rows { display: grid; gap: 18px; }
.foot-about { margin: 0 0 14px; }
.foot-small { color: #fff; font-size: 16px; margin: 18px 0 10px; text-transform: uppercase; letter-spacing: .05em; }
.foot-brands { display: flex; gap: 14px; flex-wrap: wrap; }
footer .ico-link { display: flex; gap: 8px; align-items: center; }
footer .accent-link { font-weight: 600; color: var(--accent); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact li > a:not(.btn) { display: flex; gap: 10px; align-items: center; }
.foot-contact small { display: block; color: #7f93a6; font-size: 12.5px; }
.foot-contact .btn { margin-top: 6px; }
footer .foot-menu { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.page-grid.single-col { grid-template-columns: minmax(0, 1fr); }
.list-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
article.copy mark.flag { background: var(--flag-bg); }
article.copy .faq summary p { margin: 0; }
.wp-block-image img, .wp-caption img { height: auto; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100%; }

/* ===== Design refresh: cards, content photos, projects gallery, lightbox ===== */
.card { border-radius: 16px; border-color: #e6ecf1; box-shadow: 0 1px 2px rgba(15,42,67,.06); }
.card .ph { overflow: hidden; aspect-ratio: 3 / 2; }
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,67,0) 45%, rgba(15,42,67,.55) 100%); pointer-events: none; }
.card .ph img { transition: transform .5s ease; }
.card:hover .ph img { transform: scale(1.06); }
.card .ico { z-index: 1; bottom: -24px; width: 52px; height: 52px; border-radius: 14px; border: 3px solid #fff; }
.card .body { padding: 36px 22px 22px; gap: 10px; }
.card h3 { font-size: 26px; }
.card .more { align-self: start; background: var(--brand-tint); color: var(--brand-deep); padding: 9px 14px; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.card:hover .more { background: var(--accent); color: var(--on-accent); }
.card:hover .more svg.i { transform: translateX(3px); }
.card .more svg.i { transition: transform .2s ease; }

article.copy figure.photo img { aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 8px 24px rgba(15,42,67,.10); }
article.copy figure.photo.wide img { aspect-ratio: 21 / 9; }
.cf-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.cf-duo figure { margin: 0 !important; }

.cf-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; padding: 0 !important; }
article.copy ul.cf-why li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; max-width: none; }
article.copy ul.cf-why li::before { display: none; }
.cf-why strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--ink); margin-bottom: 2px; }

.cf-cta { margin: 36px 0; padding: 24px 26px; border-radius: 16px; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe6ef; display: grid; gap: 10px; }
article.copy .cf-cta h2 { color: #fff; margin: 0; font-size: clamp(24px, 2.6vw, 30px); }
article.copy .cf-cta h2::before { display: none; }
.cf-cta p { margin: 0; }
.cf-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.cf-projects { margin: 44px 0 10px; }
.cf-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.cf-gal { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--brand-tint); text-decoration: none; }
.cf-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.cf-gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 13px; line-height: 1.3; color: #fff; background: linear-gradient(180deg, rgba(15,42,67,0), rgba(15,42,67,.85)); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.cf-gal:hover img, .cf-gal:focus-visible img { transform: scale(1.06); }
.cf-gal:hover span, .cf-gal:focus-visible span { opacity: 1; transform: none; }

.cf-lb { position: fixed; inset: 0; z-index: 100; background: rgba(8,20,32,.92); display: grid; place-items: center; padding: 56px 16px 72px; }
.cf-lb[hidden] { display: none; }
.cf-lb figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.cf-lb img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.cf-lb figcaption { color: #dbe6ef; font-size: 15px; text-align: center; }
.cf-lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.cf-lb button:hover { background: var(--accent); color: var(--on-accent); }
.cf-lb .lb-close { top: 14px; right: 14px; }
.cf-lb .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.cf-lb .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.cf-lb .lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #9fb3c6; font-size: 14px; }

.form-done.form-error { background: #fdecec; color: #8a1c1c; }

@media (max-width: 900px) { .cf-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cf-duo, .cf-why { grid-template-columns: minmax(0, 1fr); }
  .cf-gal span { opacity: 1; transform: none; font-size: 12px; }
  .cf-lb .lb-prev, .cf-lb .lb-next { top: auto; bottom: 12px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .card:hover .ph img, .cf-gal:hover img { transform: none; } }

/* ===== Blog ===== */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #c9d6e2; font-size: 15px; margin: 0; }
.post-meta svg.i { width: 16px; height: 16px; color: var(--accent); }
.card-cat { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.cf-keypoints { background: var(--brand-tint); border-radius: 14px; padding: 18px 22px; margin: 24px 0; }
.cf-keypoints h2 { margin: 0 0 8px !important; font-size: 24px !important; }
article.copy .cf-keypoints h2::before { display: none; }
.cf-toc { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 24px 0; }
.cf-toc strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
article.copy .cf-toc ol { gap: 4px; margin: 8px 0 0; }
article.copy .cf-toc ol > li { background: none; padding: 2px 0 2px 34px; }
article.copy .cf-toc ol > li::before { width: 24px; height: 24px; font-size: 14px; line-height: 24px; top: 3px; left: 0; }
.cf-chart { margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cf-chart svg { display: block; width: 100%; height: auto; }
.cf-chart figcaption { margin-top: 8px; }
.cf-note { border-left: 4px solid var(--brand); background: var(--bg-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.single-post .banner img.bg { opacity: .2; object-position: right center; }
.cf-guides { margin: 36px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
article.copy .cf-guides h2 { margin: 0 0 10px; font-size: 26px; }
article.copy .cf-guides h2::before { display: none; }
article.copy .cf-guides ul { gap: 10px; }
article.copy .cf-guides li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-left: 26px; }
.cf-guides li span { font-size: 13.5px; color: var(--muted); }
/* Floating Call and WhatsApp buttons on tablet and desktop; phones use the bottom bar. */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: grid; gap: 10px; justify-items: end; }
.fab a { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border-radius: 999px; font: 700 15.5px/1 var(--font-body); text-decoration: none; box-shadow: 0 10px 26px rgba(15,42,67,.28); transition: transform .2s ease, box-shadow .2s ease; }
.fab a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,42,67,.34); }
.fab a svg, .fab a svg.i { width: 24px; height: 24px; flex: none; }
.fab-wa { background: #157a43; color: #fff; }
.fab-wa:hover { background: #106636; color: #fff; }
.fab-call { background: var(--accent); color: var(--on-accent); }
.fab-call:hover { background: var(--accent-deep); color: var(--on-accent); }
@media (max-width: 640px) { .fab { display: none; } }
@media (prefers-reduced-motion: reduce) { .fab a:hover { transform: none; } }
