/*
Theme Name:   Twenty Sixteen Child – CNI
Theme URI:    https://www.cnisolution.net/
Description:  Professional business theme for Clearpath Network Infotech (CNI), built as a child of Twenty Sixteen. Includes a rotating service banner, Home, About, Services, Partners, Request Quote, Career, Contact and Blog templates, enquiry forms with email delivery, client logos and SEO-ready markup. Go to Appearance → CNI Setup after activating.
Author:       Clearpath Network Infotech
Author URI:   https://www.cnisolution.net/
Template:     twentysixteen
Version:      3.0.0
Requires at least: 6.0
Tested up to: 6.8
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:  twentysixteenchild
Tags:         business, custom-menu, custom-logo, featured-images, translation-ready, two-columns
*/

/* =========================================================
   Clearpath Network Infotech (CNI) — main stylesheet
   Layout concept: bright corporate pages in the logo's
   blue / red / ink, white and mist bands alternating,
   content on a 1180px grid with a 20px phone gutter.
   ========================================================= */

:root {
  /* Brand colours (sampled from the logo) */
  --blue: #2a88b0;        /* "Clear" */
  --blue-deep: #17607f;
  --blue-ink: #0f3d52;
  --red: #d3201a;         /* "Network Infotech" */
  --red-deep: #a8150f;
  --ink: #14212b;         /* "Path" */

  /* Neutrals, biased toward the brand blue */
  --paper: #ffffff;
  --mist: #f0f6f9;
  --mist-2: #e3eef3;
  --line: #d3e2ea;
  --muted: #536874;

  /* Type */
  --font-display: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);

  --radius: 6px;
  --radius-lg: 12px;
  --wrap: 1180px;
  --gutter: 20px;
  --shadow: 0 1px 2px rgba(15, 61, 82, .06), 0 8px 24px rgba(15, 61, 82, .08);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--blue-ink); color: #dcebf2; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: var(--radius);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--blue { background: var(--blue-deep); color: #fff; }
.btn--blue:hover { background: var(--blue-ink); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn--light { background: #fff; color: var(--blue-ink); }
.btn--light:hover { background: var(--mist-2); color: var(--blue-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-ink); color: #cfe3ec; font-size: var(--step--1); }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffd3d0; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; flex: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; gap: 2px; }
.nav__link {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-family: var(--font-display); font-size: .95rem; font-weight: 500;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav__link:hover { color: var(--blue-deep); background: var(--mist); }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--red); border-radius: 2px;
}
.nav__cta { margin-left: 8px; padding: .65rem 1.1rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 16px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 12px 8px; border-bottom: 1px solid var(--mist-2); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 12px 0 0; }
  .brand img { width: 160px; }
}

/* ---------- Facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.fact { padding: 22px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact__value { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; color: var(--blue-deep); line-height: 1.2; }
.fact__label { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-size: .9rem; font-weight: 500; color: var(--blue-deep); }
.icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: var(--mist); color: var(--blue-deep); flex: none;
}
.icon svg { width: 24px; height: 24px; }
.icon--red { background: #fdecea; color: var(--red); }

/* ---------- Check list ---------- */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Specialty (healthcare) panel ---------- */
.specialty { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.specialty__item { padding: clamp(24px, 4vw, 40px); background: #fff; min-width: 0; }
.specialty__item + .specialty__item { border-left: 1px solid var(--line); }
.specialty__item h3 { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) {
  .specialty { grid-template-columns: 1fr; }
  .specialty__item + .specialty__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -12px; left: 22px; background: var(--red); color: #fff; font-size: .75rem; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.plan__price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--blue-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.plan__price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan .checks { font-size: .97rem; gap: 8px; }
.plan .btn { margin-top: auto; }
.fine-print { color: var(--muted); font-size: var(--step--1); margin-top: 20px; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3rem; line-height: .6; color: var(--blue); margin-bottom: 8px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-deep); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; flex: none; }
.quote cite { font-style: normal; font-weight: 600; display: block; }
.quote span { color: var(--muted); font-size: var(--step--1); }

/* ---------- Partners ---------- */
.partner-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partner-pill { font-family: var(--font-display); font-weight: 500; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-ink); text-decoration: none; }
.partner-pill:hover { border-color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-ink), var(--blue-deep)); color: #dcebf2; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 64px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: linear-gradient(180deg, #fff, var(--mist)); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(40px, 6vw, 72px); }
.page-head h1 { margin-bottom: .35em; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose p { color: #2c3c46; }

/* Objectives list (ordered) */
.objectives { list-style: none; counter-reset: obj; display: grid; gap: 14px; }
.objectives li { counter-increment: obj; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.objectives li::before { content: counter(obj); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue-deep); font-family: var(--font-display); font-weight: 600; }

/* Service detail blocks */
.svc-group + .svc-group { margin-top: clamp(48px, 6vw, 72px); }
.svc-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px; }
.svc-group__head h2 { margin: 0; }
.svc-group__head p { margin: 0; color: var(--muted); }
.svc { scroll-margin-top: 110px; }
.svc .checks { font-size: .95rem; gap: 6px; margin-top: 4px; }
.svc .checks li { color: var(--ink); }

/* Partner cards */
.partner-card { gap: 14px; }
.partner-card__mark { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: var(--blue-deep); }
.partner-card__type { font-size: .8rem; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

/* Steps (a real sequence) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.steps strong { display: block; font-family: var(--font-display); font-weight: 600; }
.steps span { color: var(--muted); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-layout > * { min-width: 0; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid #b9cdd8; border-radius: var(--radius); padding: .7rem .8rem; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 136, 176, .2); }
.field input[type="file"] { padding: .55rem; background: var(--mist); }
.field .hint { color: var(--muted); font-size: .85rem; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form-actions small { color: var(--muted); }
.form-success { display: flex; gap: 12px; align-items: flex-start; background: #e6f5ec; color: #1d5a35; border: 1px solid #b7e0c6; padding: 14px 16px; border-radius: var(--radius); margin-top: 18px; }
.hp { position: absolute; left: -5000px; }

.info-card { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); display: grid; gap: 22px; }
.info-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-row .icon { width: 44px; height: 44px; background: #fff; }
.info-row h3 { font-size: 1rem; margin-bottom: 2px; }
.info-row p { margin: 0; color: #2c3c46; }
.info-row a { word-break: break-word; }

/* ---------- Blog ---------- */
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.post__cat { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--red); font-size: .75rem; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c8d1; font-size: .97rem; }
.site-footer .wrap { padding-block: clamp(48px, 6vw, 72px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid > * { min-width: 0; }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 10px 12px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: 170px; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #dce7ed; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 4px; color: var(--blue); }
.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #34495a; }
.socials a:hover { background: var(--blue-deep); border-color: var(--blue-deep); text-decoration: none; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #2b3c48; margin-top: 44px; padding-block: 20px; font-size: .9rem; }

/* Utilities */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.center-row { display: flex; justify-content: center; margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Service banner (home page header slider)
   ========================================================= */
.banner {
  position: relative; color: #dcebf2; overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(42, 136, 176, .45), transparent 55%),
    radial-gradient(circle at 10% 110%, rgba(211, 32, 26, .22), transparent 45%),
    linear-gradient(135deg, #0b2f40 0%, var(--blue-ink) 45%, #145a78 100%);
}
.banner::before { /* faint dot grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.banner__track { display: grid; position: relative; }
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.slide__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-block: clamp(44px, 6vw, 76px);
}
.slide__copy { min-width: 0; }
.slide__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: #ffb4ae; margin-bottom: 1rem;
}
.slide__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.slide__title { color: #fff; font-size: var(--step-4); margin-bottom: .45em; }
.slide__text { font-size: var(--step-1); color: #c9dde7; max-width: 52ch; margin-bottom: 1.75rem; }
.slide.is-active .slide__copy > * { animation: slideUp .7s ease both; }
.slide.is-active .slide__copy > *:nth-child(2) { animation-delay: .06s; }
.slide.is-active .slide__copy > *:nth-child(3) { animation-delay: .12s; }
.slide.is-active .slide__copy > *:nth-child(4) { animation-delay: .18s; }
.slide.is-active .slide__stage { animation: stageIn .8s ease both; }
@keyframes slideUp { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes stageIn { from { transform: translateY(10px) scale(.98); } to { transform: none; } }

.slide__art { position: relative; min-width: 0; display: flex; justify-content: center; }
.slide__stage {
  background: #fff; border-radius: 16px; padding: clamp(14px, 2vw, 22px);
  width: min(100%, 470px); height: clamp(240px, 26vw, 330px);
  display: grid; place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.slide__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.slide__tag {
  position: absolute; left: max(0px, calc(50% - 235px)); bottom: -14px; margin-left: 18px;
  background: var(--red); color: #fff; font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }

.banner__bar { position: relative; background: rgba(4, 22, 31, .45); border-top: 1px solid rgba(255, 255, 255, .1); }
.banner__controls { display: flex; align-items: stretch; justify-content: space-between; gap: 12px; }
.banner__tabs { display: flex; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.banner__tabs::-webkit-scrollbar { display: none; }
.banner__tab {
  flex: none; font: inherit; font-family: var(--font-display); font-size: .88rem; font-weight: 500;
  color: #a9c3cf; background: none; border: 0; border-top: 3px solid transparent;
  padding: 14px 16px 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.banner__tab:hover { color: #fff; }
.banner__tab[aria-pressed="true"] { color: #fff; border-top-color: var(--red); background: rgba(255, 255, 255, .06); }
.banner__num { font-size: .72rem; color: #6f93a3; font-variant-numeric: tabular-nums; }
.banner__tab[aria-pressed="true"] .banner__num { color: #ffb4ae; }
.banner__nav { display: flex; align-items: center; gap: 6px; flex: none; }
.banner__btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer;
}
.banner__btn:hover { background: rgba(255, 255, 255, .12); }
.banner__btn svg { width: 18px; height: 18px; }
.banner__pause .i-play { display: none; }
.banner__pause[aria-pressed="true"] .i-play { display: block; }
.banner__pause[aria-pressed="true"] .i-pause { display: none; }
.banner__progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.banner__progress span { display: block; height: 100%; width: 0; background: var(--red); }
.banner__progress span.is-running { width: 100%; transition: width linear var(--slide-ms, 6500ms); }

@media (max-width: 900px) {
  .slide__inner { grid-template-columns: 1fr; padding-bottom: 56px; }
  .slide__art { order: -1; }
  .slide__stage { height: 220px; }
  .slide__title { font-size: var(--step-3); }
  .slide__text { font-size: var(--step-0); }
}
@media (max-width: 560px) {
  .banner__nav .banner__btn[data-dir] { display: none; }
  .banner__tab { padding: 12px 12px 13px; }
}

/* Facts strip now sits below the banner */
.facts-band { margin-top: clamp(28px, 4vw, 44px); }

/* =========================================================
   Image cards, photos, logos
   ========================================================= */
.card--media { padding: 0; overflow: hidden; }
.card--media > :not(.card__media) { margin-inline: 24px; }
.card--media > :last-child { margin-bottom: 24px; }
.card__media {
  background: linear-gradient(180deg, #fff, var(--mist));
  border-bottom: 1px solid var(--line);
  height: 190px; display: grid; place-items: center; padding: 14px; margin-bottom: 8px;
}
.card__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s ease; }
a.card--media:hover .card__media img { transform: scale(1.04); }

.stack { display: grid; gap: 20px; min-width: 0; }
.photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; display: grid; place-items: center; }
.photo img { max-height: 280px; width: auto; }
.photo--plain { background: #fff; border: 0; }
.photo--plain img { max-height: 220px; }

.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1060px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 96px; display: grid; place-items: center; padding: 12px 16px;
}
.logo-tile img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-tile:hover img { filter: none; opacity: 1; }

.partner-pill--logo { padding: 8px 18px; display: inline-flex; align-items: center; }
.partner-pill--logo img { height: 40px; width: auto; }

.partner-card__logo { height: 84px; display: flex; align-items: center; }
.partner-card__logo img { max-height: 72px; max-width: 200px; width: auto; height: auto; object-fit: contain; }

/* Image containment fixes */
.card__media, .slide__stage, .photo { display: flex; align-items: center; justify-content: center; }
.card__media img { max-height: 162px; }
@media (max-width: 900px) { .slide__stage img { max-height: 188px; } }
@media (max-width: 600px) {
  .topbar__addr { display: none; }
  .topbar .wrap { justify-content: center; }
}


/* =========================================================
   WordPress integration
   ========================================================= */

[hidden] { display: none !important; }

/* Accessibility helpers */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
  background: #fff; color: var(--ink); padding: 12px 20px; left: 8px; top: 8px; display: block;
}

/* Admin bar offset for the sticky header */
body.admin-bar .site-header { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { body.admin-bar .site-header { top: calc(46px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 600px) { body.admin-bar .site-header { top: env(safe-area-inset-top, 0px); } }

/* Custom logo from the Customizer */
.brand .custom-logo-link { display: block; }
.brand .custom-logo, .brand img { width: 190px; height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
@media (max-width: 1060px) { .brand .custom-logo, .brand img { width: 160px; } }
.footer-logo img { width: 170px; height: auto; }

/* Menu: WordPress list items and drop-down sub-menus */
.nav__list li { position: relative; }
.nav__list .current-menu-item > .nav__link,
.nav__list .current_page_item > .nav__link,
.nav__list .current-menu-ancestor > .nav__link { color: var(--red); }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 8px; }
@media (min-width: 1061px) {
  .nav__list .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 60;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  .nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
  .nav__list .sub-menu .nav__link::after { display: none; }
}
@media (max-width: 1060px) {
  .nav__list .sub-menu { padding: 0 0 0 16px; }
}

/* Small additions to existing components */
.card--dashed { background: var(--mist); border-style: dashed; }
.info-card__title { font-size: var(--step-2); margin: 0 0 18px; }
.info-card > .info-card__title { margin: 0; }
.specialty__cta { margin-top: 24px; }
.plan__name { margin: 0; font-size: var(--step-1); }
.quote blockquote p { margin: 0; }
.page-intro { margin-bottom: clamp(32px, 4vw, 48px); }
.page-outro { margin-top: clamp(32px, 4vw, 48px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.filter a {
  font-family: var(--font-display); font-size: .9rem; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.filter a:hover { border-color: var(--blue); color: var(--blue-deep); }
.filter a[aria-current="page"] { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }

/* Form feedback */
.cni-form { position: relative; }
.form-success, .form-error { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin: 0 0 20px; }
.form-success { background: #e6f5ec; color: #1d5a35; border: 1px solid #b7e0c6; }
.form-error { background: #fdecea; color: #8a1712; border: 1px solid #f3c2bf; }
.form-success svg, .form-error svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.field-error { color: var(--red-deep); font-size: .88rem; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fffafa; }

/* Post content (block editor output) */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: var(--step-2); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--step-1); margin-top: 1.4em; }
.entry-content h4 { font-size: 1.05rem; margin-top: 1.3em; }
.entry-content p, .entry-content li { color: #2c3c46; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .35em; }
.entry-content a { color: var(--blue-deep); }
.entry-content blockquote, .entry-content .wp-block-quote {
  margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); font-size: 1.1rem; color: var(--ink);
}
.entry-content blockquote cite { display: block; font-size: .9rem; color: var(--muted); font-style: normal; margin-top: 6px; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption, .wp-caption-text { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .97rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--mist); font-weight: 600; }
.entry-content code, .entry-content pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--mist); border-radius: 4px; }
.entry-content code { padding: 2px 5px; }
.entry-content pre { padding: 16px; overflow-x: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .wp-block-button__link, .entry-content .wp-element-button {
  background: var(--red); color: #fff; border-radius: var(--radius); padding: .8rem 1.4rem;
  font-family: var(--font-display); font-weight: 500; text-decoration: none;
}
.entry-content .wp-block-button__link:hover { background: var(--red-deep); color: #fff; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--blue-deep); border: 2px solid currentColor; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }
.has-cni-blue-color { color: #17607f; } .has-cni-blue-background-color { background-color: #17607f; }
.has-cni-red-color { color: #d3201a; } .has-cni-red-background-color { background-color: #d3201a; }
.has-cni-ink-color { color: #14212b; } .has-cni-ink-background-color { background-color: #14212b; }
.has-cni-mist-color { color: #f0f6f9; } .has-cni-mist-background-color { background-color: #f0f6f9; }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }

/* Blog cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.post-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--mist), var(--mist-2)); overflow: hidden; max-width: 100%; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; }
.post-card__placeholder img { width: 52%; height: auto; object-fit: contain; opacity: .55; filter: grayscale(.3); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__title { font-size: var(--step-1); margin: 0; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue-deep); }
.post-card p { margin: 0; color: var(--muted); }
.post-card .card__more { margin-top: auto; text-decoration: none; }
a.post__cat { text-decoration: none; }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 500; background: #fff;
}
.pagination .page-numbers.current { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Single article */
.page-head--post .post-title { max-width: 26ch; }
.post__meta--lg { font-size: .95rem; gap: 6px 20px; }
.post__meta--lg span + span::before { content: "·"; margin-right: 20px; color: var(--line); }
.article { max-width: 780px; margin-inline: auto; }
.article__hero { margin: 0 0 32px; }
.article__hero img { width: 100%; border-radius: var(--radius-lg); }
.article .entry-content { max-width: none; font-size: 1.1rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tags a { font-size: .85rem; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--blue-deep); text-decoration: none; }
.article__cta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--mist); border: 1px solid var(--line);
}
.article__cta h2 { font-size: var(--step-1); margin: 0 0 4px; }
.article__cta p { margin: 0; color: var(--muted); }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.post-navigation a:hover { border-color: var(--blue); }
.post-navigation .nav-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.post-navigation .nav-title { font-family: var(--font-display); font-weight: 500; }
@media (max-width: 600px) {
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { grid-column: auto; }
}

/* Comments (Twenty Sixteen comments.php markup) */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: var(--step-2); }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--mist-2); }
.comment-meta { font-size: .9rem; color: var(--muted); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.comment-author .avatar { width: 40px; height: 40px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: .9rem; font-weight: 600; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; font: inherit; border: 1px solid #b9cdd8; border-radius: var(--radius); padding: .7rem .8rem;
}
.comment-form .submit, .search-form .search-submit {
  background: var(--red); color: #fff; border: 0; border-radius: var(--radius); padding: .8rem 1.4rem;
  font-family: var(--font-display); font-weight: 500; cursor: pointer;
}
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Search form (Twenty Sixteen searchform.php markup) */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; font: inherit; border: 1px solid #b9cdd8; border-radius: var(--radius); padding: .7rem .8rem; }
.search-form .search-submit .screen-reader-text { position: static !important; clip: auto; clip-path: none; width: auto; height: auto; margin: 0; }
.search-again { margin-bottom: 32px; }

/* =========================================================
   Version 3: WhatsApp chat, forms, jobs, service pages
   ========================================================= */
:root { --wa: #1fa855; --wa-deep: #128c4b; --wa-bg: #efeae2; }

/* WhatsApp buttons */
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: var(--wa-deep); color: #fff; }
.btn--whatsapp svg { width: 20px; height: 20px; flex: none; }
.btn--sm { padding: .55rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.info-card .btn--block + .btn--block { margin-top: -10px; }

/* Floating chat */
.wa-chat { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-chat--right { right: 18px; }
.wa-chat--left { left: 18px; align-items: flex-start; }
@media (max-width: 760px) { .wa-chat--no-mobile { display: none; } }
@media (min-width: 761px) { .wa-chat--no-desktop { display: none; } }
.wa-chat__toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 500;
  box-shadow: 0 8px 24px rgba(18, 140, 75, .35); transition: transform .2s, background .2s;
}
.wa-chat__toggle:hover { background: var(--wa-deep); color: #fff; transform: translateY(-2px); }
.wa-chat__toggle svg { width: 28px; height: 28px; }
@media (max-width: 560px) {
  .wa-chat__toggle { width: 56px; padding: 0; justify-content: center; }
  .wa-chat__label { display: none; }
}
.wa-chat__toggle[aria-expanded="false"] { animation: waPulse 2.6s ease-out 1.5s 3; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .55), 0 8px 24px rgba(18,140,75,.35); } 70% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0), 0 8px 24px rgba(18,140,75,.35); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0), 0 8px 24px rgba(18,140,75,.35); } }

.wa-chat__panel {
  width: min(360px, calc(100vw - 36px)); background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 30, 40, .28); display: flex; flex-direction: column;
  transform-origin: bottom right; animation: waIn .22s ease-out;
}
.wa-chat--left .wa-chat__panel { transform-origin: bottom left; }
@keyframes waIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: #fff; }
.wa-chat__avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }
.wa-chat__name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3; color: #fff; }
.wa-chat__status { margin: 0; font-size: .82rem; color: #d2efe9; display: flex; align-items: center; gap: 6px; }
.wa-chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.wa-chat__close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; }
.wa-chat__close:hover { background: rgba(255, 255, 255, .15); }
.wa-chat__body {
  padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; max-height: 46vh; overflow-y: auto;
  background: var(--wa-bg) radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px) 0 0 / 14px 14px;
}
.wa-chat__bubble { position: relative; align-self: flex-start; max-width: 88%; background: #fff; border-radius: 0 10px 10px 10px; padding: 10px 12px 18px; font-size: .95rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-chat__bubble::before { content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 8px 10px 0; }
.wa-chat__bubble p { margin: 0; color: #111b21; }
.wa-chat__bubble p + p { margin-top: 4px; }
.wa-chat__bubble time { position: absolute; right: 10px; bottom: 4px; font-size: .7rem; color: #667781; }
.wa-chat__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-chat__topic {
  font: inherit; font-size: .88rem; background: #fff; color: #075e54; border: 1px solid #b9e3cf; border-radius: 999px;
  padding: 7px 12px; cursor: pointer; text-align: left;
}
.wa-chat__topic:hover, .wa-chat__topic:focus-visible { background: #e7f8ef; border-color: var(--wa); }
.wa-chat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid #e9edef; background: #f0f2f5; }
.wa-chat__form textarea { flex: 1; min-width: 0; resize: none; font: inherit; font-size: .95rem; line-height: 1.4; border: 0; border-radius: 16px; padding: 10px 14px; min-height: 76px; max-height: 140px; background: #fff; }
.wa-chat__form textarea:focus { outline: 2px solid var(--wa); }
.wa-chat__send { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--wa); color: #fff; padding: 10px 14px; font-family: var(--font-display); font-weight: 500; cursor: pointer; }
.wa-chat__send:hover { background: var(--wa-deep); }
.wa-chat__send svg { width: 18px; height: 18px; }
.wa-chat__note { margin: 0; padding: 0 12px 10px; background: #f0f2f5; font-size: .75rem; color: #667781; text-align: center; }

/* Forms */
.form-step { font-size: 1.05rem; margin: 6px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--blue-ink); }
.form-grid + .form-step { margin-top: 26px; }
.field--checks { border: 0; padding: 0; margin: 0; }
.field--checks legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; }
@media (max-width: 900px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid label { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; padding: 6px 8px; border-radius: var(--radius); cursor: pointer; }
.check-grid label:hover { background: var(--mist); }
.check-grid input { margin-top: 4px; accent-color: var(--blue-deep); width: 16px; height: 16px; flex: none; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-q { font-family: var(--font-display); font-weight: 600; background: var(--mist); border: 1px dashed var(--blue); color: var(--blue-ink); padding: .6rem .9rem; border-radius: var(--radius); white-space: nowrap; }
.field .captcha-a { max-width: 110px; }

/* Cards: two links */
.card__links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.card__links .card__more { margin-top: 0; padding-top: 0; text-decoration: none; }
.card__more--alt { color: var(--red); }
.card__title-link { color: inherit; text-decoration: none; }
.card__title-link:hover { color: var(--blue-deep); }
a.card__media { display: flex; }

/* Jobs */
.jobs { display: grid; gap: 14px; }
.job { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 20px 22px; }
.job__main { min-width: 0; flex: 1 1 420px; }
.job h3 { margin: 0 0 6px; }
.job p { margin: 0; color: var(--muted); }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px !important; font-size: .92rem; }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 16px; height: 16px; color: var(--blue); }
.section-gap { height: clamp(40px, 5vw, 64px); }
.training-box { background: #fff; border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); }
.training-box h3 { font-size: 1.05rem; margin-bottom: 6px; }
.training-box p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; }
.tech-tags span { background: var(--mist); color: var(--blue-deep); font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* Map */
.map-embed { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 6; min-height: 280px; max-width: 100%; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Single service */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } }
.service-hero { margin: 0 0 28px; background: linear-gradient(180deg, #fff, var(--mist)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; justify-content: center; }
.service-hero img { max-height: 340px; width: auto; object-fit: contain; }
.service-main .entry-content { max-width: none; font-size: 1.08rem; }
.service-side { display: grid; gap: 20px; position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); }
@media (max-width: 960px) { .service-side { position: static; } }
.service-side .checks { font-size: .97rem; }
.service-nav { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.service-nav h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.service-nav ul { list-style: none; display: grid; gap: 2px; }
.service-nav a { display: block; padding: 7px 10px; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: .97rem; }
.service-nav a:hover { background: var(--mist); color: var(--blue-deep); }
.service-nav a[aria-current="page"] { background: var(--blue-ink); color: #fff; }
.logo-tile a { display: grid; place-items: center; width: 100%; height: 100%; }
