/*
Theme Name: Careline
Theme URI: https://careline.lk/
Author: Digital Solutions Lanka
Author URI: https://dsolk.com/
Description: Company website theme for Careline Pharmaceuticals (Pvt) Ltd, a pharmaceutical distributor in Sri Lanka. Built to win distribution partnerships from importers and manufacturers: partner enquiry form, services, coverage areas and principals, with built-in SEO (titles, descriptions, canonical, Open Graph, JSON-LD, sitemap tuning) that steps aside when an SEO plugin is installed. No page builder or premium plugin needed.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: careline
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #0F2E35;
  --ink-2: #1D4249;
  --paper: #F4F7F7;
  --white: #FFFFFF;
  --foil: #E6EDED;
  --rule: #CCD9DA;
  --muted: #4A6166;
  --brand: #0B6B57;
  --brand-dark: #07513F;
  --mark: #C0392B;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --r: 6px;
  --sec: clamp(56px, 8vw, 104px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; font-stretch: 106%; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.cl-ico { flex: none; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.15rem; border-radius: var(--r);
  font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 52px; padding: .85rem 1.4rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--quiet { color: var(--ink); background: transparent; padding-left: .6rem; padding-right: .6rem; }
.btn--quiet:hover { background: var(--foil); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--foil); color: var(--ink); }
.btn--line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--line-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.text-link { font-weight: 650; text-decoration: underline; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-logo { max-height: 48px; width: auto; }
.brand-mark { flex: none;
  width: 34px; height: 16px; border-radius: 999px; transform: rotate(-32deg);
  background: linear-gradient(90deg, var(--brand) 0 50%, var(--ink) 50% 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 750; font-size: 1.4rem; font-stretch: 112%; letter-spacing: -.02em; }
.brand-sub { white-space: nowrap; font-size: .74rem; font-stretch: 82%; color: var(--muted); font-weight: 550; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 14px; }
.site-head .wrap { max-width: 1340px; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list a { display: block; white-space: nowrap; padding: 10px 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; border-radius: 4px; }
.nav-list a:hover { background: var(--foil); }
.nav-list .current-menu-item > a, .nav-list .current-menu-ancestor > a, .nav-list a[aria-current] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-list .sub-menu { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--rule); background: #fff; border-radius: var(--r); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

@media (max-width: 1400px) { .brand-sub { display: none; } }
@media (max-width: 1320px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 20px;
    box-shadow: 0 16px 24px -16px rgba(15,46,53,.25);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 13px 4px; border-bottom: 1px solid var(--foil); border-radius: 0; }
  .nav-list .current-menu-item > a { box-shadow: none; }
  .nav-actions { flex-direction: column; align-items: stretch; padding-top: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.03; font-stretch: 112%; font-weight: 720; letter-spacing: -.025em; max-width: 15ch; margin-bottom: .45em; }
.hero-text { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 54ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The distribution label: the one bold device on the site. */
.label {
  position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 4px;
  box-shadow: 10px 10px 0 var(--foil);
  animation: label-in .7s cubic-bezier(.2,.7,.2,1) both .1s;
}
.label::before { /* perforation */
  content: ""; position: absolute; left: 10px; right: 10px; top: -8px; height: 8px;
  background: radial-gradient(circle at 5px 8px, var(--ink) 2.2px, transparent 2.6px) 0 0 / 14px 8px repeat-x;
}
.label-top { background: var(--ink); color: #fff; padding: 16px 20px 14px; border-bottom: 5px solid var(--mark); }
.label-by { display: block; font-size: .8rem; font-stretch: 78%; font-weight: 500; opacity: .8; letter-spacing: .01em; }
.label-co { display: block; font-size: 1.12rem; font-weight: 700; font-stretch: 104%; margin-top: 2px; }
.label-rows { margin: 0; padding: 10px 20px 6px; }
.label-row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.label-row + .label-row { border-top: 1px solid var(--foil); }
.label-row dt { flex: 1 1 auto; display: flex; align-items: baseline; gap: 10px; font-size: .86rem; font-stretch: 82%; color: var(--muted); font-weight: 550; min-width: 0; }
.label-row dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--rule); transform: translateY(-4px); }
.label-row dd { margin: 0; flex: 0 1 55%; text-align: right; font-weight: 680; font-size: .98rem; font-variant-numeric: tabular-nums; }
.label-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px 16px; border-top: 2px solid var(--ink); }
.label-lic { font-size: .78rem; font-stretch: 80%; color: var(--muted); text-align: right; line-height: 1.35; }
.label-lic strong { color: var(--ink); font-size: .9rem; font-stretch: 100%; }
.barcode {
  position: relative; display: block; width: 132px; height: 38px; flex: none; overflow: hidden;
  background:
    linear-gradient(90deg,
      var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
      var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px,
      var(--ink) 16px 17px, transparent 17px 19px, var(--ink) 19px 23px, transparent 23px 24px,
      var(--ink) 24px 25px, transparent 25px 28px, var(--ink) 28px 30px, transparent 30px 31px,
      var(--ink) 31px 32px, transparent 32px 35px, var(--ink) 35px 38px, transparent 38px 40px,
      var(--ink) 40px 41px, transparent 41px 43px, var(--ink) 43px 44px, transparent 44px 47px,
      var(--ink) 47px 50px, transparent 50px 51px, var(--ink) 51px 53px, transparent 53px 56px,
      var(--ink) 56px 57px, transparent 57px 59px, var(--ink) 59px 63px, transparent 63px 64px,
      var(--ink) 64px 65px, transparent 65px 66px) 0 0 / 66px 100% repeat-x;
}
.barcode::after { /* a single scan pass on load */
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px; left: -6px;
  background: var(--mark); box-shadow: 0 0 10px 2px rgba(192,57,43,.45);
  animation: scan 1.1s ease-in-out .8s 1 both;
}
@keyframes label-in { from { opacity: 0; transform: translateY(14px) rotate(.6deg); } to { opacity: 1; transform: none; } }
@keyframes scan { 0% { left: -6px; opacity: 1; } 90% { opacity: 1; } 100% { left: 136px; opacity: 0; } }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-tight { padding-top: clamp(36px, 5vw, 64px); padding-bottom: var(--sec); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink h2 { color: #fff; }
.sec--foil { background: var(--foil); }
.sec--rule { border-top: 1px solid var(--rule); }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.sec-head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; max-width: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-head { position: sticky; top: 104px; }
.split-head p { color: var(--muted); font-size: 1.06rem; }
.empty-note { color: var(--muted); font-style: italic; }

/* Services list (no cards: ruled entries) */
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.svc-list li { padding: 22px 0 24px; border-top: 1px solid var(--rule); }
.svc-list h3 { margin-bottom: .35em; }
.svc-list h3 a { color: var(--ink); text-decoration: none; }
.svc-list h3 a:hover { color: var(--brand); text-decoration: underline; }
.svc-list p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Reporting */
.report-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead-light { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 52ch; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.ticks--light li { color: rgba(255,255,255,.92); }
.ticks--light li::before { border-color: #6FD3B6; }
.sheet { margin: 0; background: #fff; color: var(--ink); border-radius: 4px; padding: 18px 18px 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 40px -24px rgba(0,0,0,.6); }
.sheet figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-weight: 680; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sheet-note { font-weight: 500; font-size: .8rem; font-stretch: 82%; color: var(--muted); }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; min-width: 460px; }
.sheet th { text-align: left; font-weight: 600; font-stretch: 82%; color: var(--muted); padding: 10px 8px 8px; border-bottom: 1px solid var(--rule); }
.sheet td { padding: 10px 8px; border-bottom: 1px solid var(--foil); }
.sheet .num { text-align: right; }
.sheet tr.flag td { color: var(--mark); font-weight: 600; border-bottom: 0; }
.sheet tr.flag td:first-child { padding-left: 12px; box-shadow: inset 3px 0 0 var(--mark); }

/* Coverage */
.area-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; }
.area-list li { padding: 20px 0 22px; border-top: 2px solid var(--ink); }
.area-name { display: inline-block; font-size: 1.35rem; font-weight: 700; font-stretch: 108%; color: var(--ink); text-decoration: none; margin: 0 0 4px; }
.area-name a { color: inherit; text-decoration: none; }
a.area-name:hover, .area-name a:hover { color: var(--brand); text-decoration: underline; }
.area-count { display: block; font-weight: 650; color: var(--brand); font-stretch: 90%; }
.area-freq { margin: 6px 0 0; font-size: .95rem; }
.area-towns { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }

/* Principals */
.logo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.logo-grid a { display: flex; align-items: center; justify-content: center; height: 104px; padding: 16px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; }
.logo-grid img { max-height: 64px; width: auto; object-fit: contain; }
.logo-name { font-weight: 700; color: var(--ink); text-align: center; font-stretch: 96%; }
.principal-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.principal-list > li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; }
.principal-logo { display: flex; align-items: center; justify-content: center; height: 80px; border-right: 1px solid var(--foil); padding-right: 12px; text-decoration: none; }
.principal-logo img { max-height: 60px; width: auto; object-fit: contain; }
.principal-list h2 { font-size: 1.12rem; margin: 0 0 2px; font-stretch: 100%; }
.principal-list h2 a { color: var(--ink); text-decoration: none; }
.principal-list h2 a:hover { color: var(--brand); text-decoration: underline; }
.principal-ctry { margin: 0; font-size: .88rem; font-stretch: 85%; color: var(--muted); }
.principal-brands { margin: 6px 0 0; font-size: .93rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { padding: 8px 14px; border: 1.5px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .93rem; background: #fff; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.brands-h { font-size: 1.35rem; margin-top: 1.8em; }
.brand-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); font-size: .97rem; }
.brand-table th, .brand-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--foil); }
.brand-table th { font-stretch: 85%; color: var(--muted); font-weight: 600; background: var(--paper); }
.brand-table td:first-child { font-weight: 650; }

/* Process (a real sequence, so it is numbered) */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 62px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font-size: 2.6rem; line-height: 1; font-weight: 750; font-stretch: 70%; color: var(--brand);
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 44px; right: -14px; height: 2px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); margin: 0; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.post-card-img { display: block; margin-bottom: 14px; border-radius: 4px; overflow: hidden; background: var(--foil); aspect-ratio: 16 / 10; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-date { margin: 0 0 4px; font-size: .86rem; font-stretch: 85%; color: var(--muted); }
.post-card-title { font-size: 1.2rem; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { color: var(--brand); text-decoration: underline; }
.post-card p:last-child { color: var(--muted); font-size: .98rem; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; padding: 0 12px; background: #fff; }
.nav-links .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* CTA band */
.cta-band { background: var(--brand-dark); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--rule); padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 52px); }
.page-title { font-size: clamp(2rem, 4.2vw, 3.1rem); font-stretch: 110%; letter-spacing: -.02em; max-width: 24ch; margin-bottom: .3em; }
.page-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; margin: 0; }
.meta { color: var(--muted); font-size: .93rem; margin: 0; }
.meta-sep { margin: 0 2px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: .86rem; font-stretch: 88%; margin-bottom: 16px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--rule); }
.crumbs a { color: var(--muted); }
.prose-wrap { max-width: calc(72ch + 2 * var(--gut)); }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.7em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); font-size: 1.12rem; }
.prose img { border-radius: 4px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; }
.article-img { margin: 0 0 28px; }
.article-img img { border-radius: 4px; display: block; }
.post-navigation { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.post-navigation .nav-links { justify-content: space-between; margin: 0; }
.post-navigation a { text-decoration: none; font-weight: 600; }
.post-navigation span { display: block; font-size: .84rem; color: var(--muted); font-weight: 500; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-box { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 20px 22px; }
.side-h { font-size: 1rem; font-stretch: 100%; margin: 0 0 12px; }
.side-box .ticks { margin-top: 0; }
.side-links { list-style: none; display: grid; gap: 2px; }
.side-links a { display: block; padding: 7px 0; text-decoration: none; border-bottom: 1px solid var(--foil); }
.side-note { font-size: .92rem; color: var(--muted); }
.side-logo { display: flex; justify-content: center; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--foil); }
.side-logo img { max-height: 80px; width: auto; }
.facts { margin: 0 0 16px; display: grid; gap: 12px; }
.facts dt { font-size: .82rem; font-stretch: 85%; color: var(--muted); font-weight: 550; }
.facts dd { margin: 0; font-weight: 650; }
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.town-list li { padding: 4px 10px; background: var(--paper); border-radius: 999px; font-size: .9rem; }
.svc-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; }
.svc-index > li { padding: 26px 0 28px; border-top: 2px solid var(--ink); }
.svc-index h2 { font-size: 1.4rem; font-stretch: 104%; }
.svc-index h2 a { color: var(--ink); text-decoration: none; }
.svc-index h2 a:hover { color: var(--brand); text-decoration: underline; }
.svc-index > li > p { color: var(--muted); }
.link-list { list-style: none; display: grid; gap: 6px; margin-bottom: 32px; font-size: 1.1rem; font-weight: 600; }
.search-again { max-width: 480px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; }
.contact-list { display: grid; gap: 18px; margin: 0 0 2em; padding: 22px 24px; background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--brand); border-radius: 4px; }
.contact-list dt { font-size: .84rem; font-stretch: 85%; color: var(--muted); font-weight: 550; }
.contact-list dd { margin: 2px 0 0; font-weight: 600; }

/* Partner page */
.partner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.partner-form { background: #fff; border: 1px solid var(--rule); border-top: 5px solid var(--brand); border-radius: 4px; padding: clamp(20px, 3vw, 32px); position: sticky; top: 96px; }
.partner-form h2 { font-size: 1.5rem; }
.form-intro { color: var(--muted); font-size: .97rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--brand); line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Forms ---------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 700; font-size: .95rem; color: var(--brand); padding: 0; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-grid p { margin: 0 0 12px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 5px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea, .search-field {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--rule); border-radius: var(--r);
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .search-field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,107,87,.18); }
.req { color: var(--mark); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-small { margin: 0; font-size: .84rem; color: var(--muted); }
.form-note { padding: 14px 16px; border-radius: var(--r); font-weight: 550; }
.form-note--ok { background: #E3F3EE; border-left: 4px solid var(--brand); color: var(--brand-dark); }
.form-note--err { background: #FBEAE8; border-left: 4px solid var(--mark); color: #8E2A20; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.78); font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.foot-name { color: #fff; font-weight: 700; font-size: 1.1rem; font-stretch: 104%; margin-bottom: 6px; }
.foot-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; }
.foot-line .cl-ico { margin-top: 2px; opacity: .7; }
.foot-ids { margin: 16px 0 0; display: grid; gap: 8px; }
.foot-ids dt { font-size: .8rem; font-stretch: 85%; opacity: .7; }
.foot-ids dd { margin: 0; color: #fff; font-weight: 600; }
.foot-h { color: #fff; font-size: .98rem; font-stretch: 100%; margin-bottom: 14px; }
.foot-list { list-style: none; display: grid; gap: 8px; }
.foot-hours { margin-top: 16px; font-size: .9rem; }
.foot-social { display: flex; gap: 16px; }
.foot-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.foot-base p { margin: 0; }
.credit { color: #fff; font-size: .95rem; }
.credit a strong { color: #7FE0C3; font-weight: 700; }
.credit-tel { margin-left: 10px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; white-space: nowrap; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.35);
}
.wa-float .cl-ico { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; background: #1EBE5A; }

/* WordPress core classes */
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: .88rem; color: var(--muted); }
.widget { margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .report-grid, .split, .detail-grid, .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .split-head, .detail-side, .partner-form { position: static; }
  .label { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2n)::after { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-co { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .svc-list, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .brand-sub { display: none; }
  .label-row { flex-wrap: wrap; gap: 2px; }
  .label-row dt { flex-basis: 100%; }
  .label-row dt::after { display: none; }
  .label-row dd { flex-basis: 100%; text-align: left; }
  .principal-list > li { grid-template-columns: 80px minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .wa-float { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-head, .site-foot, .wa-float, .cta-band, .partner-form { display: none; }
  body { background: #fff; }
}
