/* Home Care — WordPress-specific CSS overrides.
   tokens.css and site.css are the canonical design system; this file only patches WP-isms. */

/* Push fixed header below the wp-admin bar when logged in. */
.admin-bar .site-hdr { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .site-hdr { top: 46px; }
}

/* Skip-to-content accessibility link — visible only on focus. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: var(--hc-bg);
    color: var(--hc-fg);
    padding: 12px 20px;
    text-decoration: underline;
    font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Standard WP block alignments. */
.alignwide  { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull  { max-width: 100%; }

/* WP comment-form reset */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-r-md);
    font: inherit;
}

/* Button color overrides — site.css doesn't pin color on :hover/:active,
   so the global `a:hover { color: var(--hc-primary-700) }` from tokens.css
   was bleeding through and turning button text dark on hover. */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
}
.btn-primary:hover svg,
.btn-primary:focus svg,
.btn-primary:active svg {
    color: #fff;
}

/* Header CTA button — match .btn-primary visual style.
   site.css ships `.cta-hdr` as a plum, uppercase, letter-spaced pill; the brand book
   says buttons should be sentence case + coral. Override here so the responsive
   selector `.nav > a:not(.cta-hdr)` (site.css:294) keeps working.
   `!important` on color defeats the global `a:hover` rule from tokens.css and
   any caching weirdness — the button MUST stay white at all times. */
.cta-hdr {
    background: var(--hc-primary) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 14px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: background 240ms cubic-bezier(.2,.7,.2,1) !important;
}
.cta-hdr:hover,
.cta-hdr:focus {
    background: var(--hc-primary-700) !important;
    color: #fff !important;
}
.cta-hdr:active {
    background: var(--hc-primary-600) !important;
    color: #fff !important;
}
.cta-hdr svg {
    width: 14px;
    height: 14px;
    color: #fff;
    transition: transform 200ms;
}
.cta-hdr:hover svg,
.cta-hdr:focus svg {
    transform: translateX(3px);
}

/* JetFormBuilder form styling — match site.css `.form-card` / `.field` / `.inp` aesthetic.
   JFB outputs its own classes (.jet-form-builder, .jet-form-builder-row, etc.); we
   restyle them so the form sits inside `.form-card` and looks like the canonical mockup.

   Important: JFB ships `.jet-form-builder__label { flex: 0 1 100% }` which interacts
   badly with our parent grid + flex-column row, causing the field-wrap to overflow
   into the next column. We force display:block on the row + children to neutralize
   flex sizing, and use plain margins for vertical spacing. */
.form-card .jet-form-builder.layout-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin: 0;
    padding: 0;
}
.form-card .jet-form-builder-row {
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.form-card .jet-form-builder__label {
    display: block;
    margin: 0 0 8px;
    max-width: none;
    width: auto;
    flex: none;
}
.form-card .jet-form-builder__field-wrap {
    display: block;
    width: 100%;
    margin: 0;
}
.form-card .jet-form-builder-row.field-type-select-field,
.form-card .jet-form-builder-row.field-type-textarea-field,
.form-card .jet-form-builder-row.field-type-submit-field,
.form-card .jet-form-builder-row.field-type-checkbox-field,
.form-card .jet-form-builder-row.field-type-hidden-field,
.form-card .jet-form-builder-row[class*="hidden"],
.form-card .jet-form-builder-messages-wrap {
    grid-column: 1 / -1;
}
.form-card .jet-form-builder__label {
    margin: 0;
}
.form-card .jet-form-builder__label-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--hc-ink);
    letter-spacing: 0.02em;
}
.form-card .jet-form-builder__required {
    color: var(--hc-primary);
    margin-left: 2px;
}
.form-card .jet-form-builder__field-wrap {
    margin: 0;
}
.form-card .jet-form-builder__field {
    font-family: inherit;
    font-size: 15px;
    height: 52px;
    width: 100%;
    padding: 0 16px;
    background: #fff;
    border: 1.5px solid var(--hc-border);
    border-radius: 10px;
    color: var(--hc-ink);
    transition: border-color 200ms, box-shadow 200ms;
    outline: none;
    box-sizing: border-box;
}
.form-card textarea.jet-form-builder__field {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    line-height: 1.55;
    resize: vertical;
}
.form-card .jet-form-builder__field::placeholder {
    color: var(--hc-fg-4);
}
.form-card .jet-form-builder__field:focus {
    border-color: var(--hc-primary);
    box-shadow: 0 0 0 4px rgba(240, 112, 80, 0.12);
}
.form-card .jet-form-builder__action-button-wrapper {
    margin-top: 8px;
}
.form-card .jet-form-builder__submit {
    width: 100%;
    background: var(--hc-primary);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    border: 0;
    border-radius: 999px;
    height: 56px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 200ms;
}
.form-card .jet-form-builder__submit:hover,
.form-card .jet-form-builder__submit:focus {
    background: var(--hc-primary-700);
    color: #fff !important;
}
.form-card .jet-form-builder__submit:active {
    background: var(--hc-primary-600);
}
/* Hidden tech rows shouldn't take grid space at all. */
.form-card .jet-form-builder-row input[type="hidden"] {
    display: none;
}
@media (max-width: 720px) {
    .form-card .jet-form-builder.layout-column {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   About page (/za-nas/) — page-specific styles
   ported from wp-content/Project Homecare/ui_kits/website/about.html
   ========================================================= */

/* Page hero (also reused by other static pages) */
.page-hero { padding: 160px 0 80px; background: var(--hc-bg-soft); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(240,112,80,0.06) 0%, transparent 60%); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--hc-fg-3); margin-bottom: 28px; font-weight: 500; }
.breadcrumb a { color: var(--hc-fg-3); }
.breadcrumb a:hover { color: var(--hc-primary); }
.breadcrumb .sep, .breadcrumb .bc-sep { color: var(--hc-border-strong); }
.page-hero h1 { font-size: clamp(52px, 6vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; color: var(--hc-ink); max-width: 800px; margin: 0 0 28px; }
.page-hero h1 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); }
.page-hero .lead { font-size: 20px; line-height: 1.55; color: var(--hc-fg-2); max-width: 620px; }
.page-hero .hero-wm { position: absolute; right: -60px; bottom: -60px; font-size: 360px; font-weight: 800; color: var(--hc-primary); opacity: 0.05; letter-spacing: -0.06em; line-height: 0.8; pointer-events: none; }

/* Intro 2-col + metrics row */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--hc-bg-soft); position: relative; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms; }
.intro-img:hover img { transform: scale(1.04); }
.intro-txt h2 { font-size: clamp(36px, 3.8vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; color: var(--hc-ink); margin: 0 0 24px; }
.intro-txt h2 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.intro-txt p { font-size: 17px; line-height: 1.7; color: var(--hc-fg-2); margin: 0 0 20px; }
.intro-stats { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--hc-border); margin-top: 12px; }
.intro-stats > div { }
.intro-stat-num { font-size: 52px; font-weight: 800; color: var(--hc-primary); line-height: 1; letter-spacing: -0.03em; font-feature-settings: 'tnum'; }
.intro-stat-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--hc-fg-3); margin-top: 8px; font-weight: 600; }

/* Timeline */
.timeline-sec { background: var(--hc-bg-soft); }
.timeline-sec h2 { font-size: clamp(36px, 3.8vw, 52px); font-weight: 800; letter-spacing: -0.025em; color: var(--hc-ink); margin: 0 0 64px; max-width: 640px; line-height: 1.06; }
.timeline-sec h2 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.timeline { position: relative; max-width: 960px; }
.timeline::before { content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 1px; background: var(--hc-border); }
.tl-item { display: flex; gap: 48px; padding: 0 0 56px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--hc-border); display: flex; align-items: center; justify-content: center; flex: 0 0 56px; position: relative; z-index: 1; transition: all 300ms; }
.tl-item:hover .tl-dot { background: var(--hc-primary); border-color: var(--hc-primary); }
.tl-dot svg { width: 22px; height: 22px; color: var(--hc-ink); }
.tl-item:hover .tl-dot svg { color: #fff; }
.tl-dot.is-current { background: var(--hc-primary); border-color: var(--hc-primary); }
.tl-dot.is-current svg { color: #fff; }
.tl-year { font-family: var(--hc-font-mono); font-size: 12px; color: var(--hc-primary); font-weight: 700; letter-spacing: 0.14em; margin-bottom: 8px; }
.tl-title { font-size: 22px; font-weight: 700; color: var(--hc-ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.tl-desc { font-size: 15px; color: var(--hc-fg-3); line-height: 1.65; }

/* Values 3x2 grid (mirrors why-grid) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border: 1px solid var(--hc-border); border-radius: 24px; overflow: hidden; background: var(--hc-border); }
.val-item { background: #fff; padding: 44px; transition: background 300ms; }
.val-item:hover { background: var(--hc-bg-soft); }
.val-num { font-family: var(--hc-font-mono); font-size: 12px; color: var(--hc-primary); font-weight: 700; letter-spacing: 0.12em; margin-bottom: 20px; display: block; }
.val-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--hc-primary-100); color: var(--hc-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: all 300ms; }
.val-item:hover .val-icon { background: var(--hc-primary); color: #fff; transform: rotate(-8deg); }
.val-icon svg { width: 26px; height: 26px; }
.val-item h3 { font-size: 22px; font-weight: 700; color: var(--hc-ink); margin: 0 0 12px; letter-spacing: -0.01em; }
.val-item p { font-size: 15px; color: var(--hc-fg-3); line-height: 1.65; margin: 0; }

/* Certifications (dark plum panel) */
.certs-sec { background: var(--hc-ink); color: #fff; overflow: hidden; position: relative; padding: 100px 0; }
.certs-sec .eyebrow { color: var(--hc-primary); }
.certs-sec h2 { font-size: clamp(36px, 3.8vw, 52px); font-weight: 800; letter-spacing: -0.025em; color: #fff; margin: 0 0 8px; line-height: 1.06; }
.certs-sec h2 em, .certs-sec h2 .accent { font-style: italic; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.certs-sec .lead { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 580px; line-height: 1.6; margin: 0; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; background: rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; }
.cert-item { background: rgba(255,255,255,0.04); padding: 40px 32px; text-align: center; transition: background 250ms; }
.cert-item:hover { background: rgba(255,255,255,0.09); }
.cert-badge { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(240,112,80,0.4); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.cert-badge svg { width: 36px; height: 36px; color: var(--hc-primary); }
.cert-code { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.01em; margin-bottom: 8px; }
.cert-name { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.certs-wm { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-size: 400px; font-weight: 800; color: rgba(255,255,255,0.02); line-height: 0.8; pointer-events: none; }

/* Memberships — 2x2 cards on dark certs panel */
.members-block { margin-top: 72px; position: relative; z-index: 1; }
.members-block .eyebrow { color: var(--hc-primary); }
.members-block h3 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 20px; letter-spacing: -0.015em; }
.members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.member-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all 240ms cubic-bezier(.2,.7,.2,1);
}
.member-card:hover {
    background: rgba(240,112,80,0.08);
    border-color: rgba(240,112,80,0.4);
    transform: translateY(-2px);
}
.member-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(240,112,80,0.15);
    color: var(--hc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 240ms cubic-bezier(.2,.7,.2,1);
}
.member-card:hover .member-icon {
    background: var(--hc-primary);
    color: #fff;
}
.member-text { min-width: 0; }
.member-short {
    font-family: var(--hc-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--hc-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.member-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    line-height: 1.35;
    letter-spacing: -0.005em;
}
@media (max-width: 720px) {
    .members-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .intro-grid { grid-template-columns: 1fr; gap: 48px; }
    .certs-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .values-grid, .certs-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .tl-dot { width: 40px; height: 40px; flex: 0 0 40px; }
    .tl-item { gap: 24px; }
    .intro-stats { flex-wrap: wrap; gap: 24px; }
}

/* =========================================================
   Contacts page (/kontakti/) — page-specific styles
   ported from wp-content/Project Homecare/ui_kits/website/contacts.html
   ========================================================= */

/* Dark page hero (DIFFERENT from About's light page-hero — overrides where needed). */
.contacts-page .page-hero {
    padding: 160px 0 72px;
    background: var(--hc-ink);
    color: #fff;
}
.contacts-page .page-hero::before { display: none; }
.contacts-page .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(240,112,80,0.2) 0%, transparent 60%);
}
.contacts-page .page-hero .container { position: relative; z-index: 2; }
.contacts-page .breadcrumb { color: rgba(255,255,255,0.6); }
.contacts-page .breadcrumb a { color: inherit; }
.contacts-page .breadcrumb .sep, .contacts-page .breadcrumb .bc-sep { color: rgba(255,255,255,0.3); }
.contacts-page .page-hero h1 { color: #fff; }
.contacts-page .page-hero .lead { color: rgba(255,255,255,0.82); max-width: 520px; font-size: 19px; }
.contacts-page .page-hero .hero-wm {
    color: rgba(255,255,255,0.03);
    font-size: 320px;
    opacity: 1;
}

/* Quick contact bar (coral strip) */
.quick-contact { background: var(--hc-primary); }
.quick-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.qc-item {
    padding: 40px 36px;
    border-right: 1px solid rgba(255,255,255,0.2);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.qc-item:last-child { border-right: 0; }
.qc-ic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
}
.qc-ic svg { width: 22px; height: 22px; }
.qc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.75);
    font-weight: 700;
    margin-bottom: 6px;
}
.qc-val {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.qc-val a { color: inherit; }
.qc-val a:hover { text-decoration: underline; }
.qc-meta { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* Main 2-col grid */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
}
.offices-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.offices-head h2 {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--hc-ink);
    margin: 0;
    line-height: 1.06;
}
.offices-head h2 em {
    font-style: normal;
    color: var(--hc-primary);
    font-family: var(--hc-font-serif);
    font-weight: 600;
}

/* Office cards grid */
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office-card {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: 18px;
    padding: 28px;
    transition: all 260ms;
}
.office-card:hover {
    border-color: var(--hc-primary);
    box-shadow: 0 14px 36px rgba(43,31,69,0.1);
}
.office-card.is-hq {
    border-color: var(--hc-primary);
    background: var(--hc-primary-100);
}
.office-city {
    font-size: 18px;
    font-weight: 700;
    color: var(--hc-ink);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.office-hq-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--hc-primary);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}
.office-detail {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--hc-fg-3);
    margin-top: 12px;
    line-height: 1.5;
    align-items: flex-start;
}
.office-detail svg {
    width: 14px;
    height: 14px;
    color: var(--hc-primary);
    flex: 0 0 14px;
    margin-top: 2px;
}
.office-detail a { color: inherit; }
.office-detail a:hover { color: var(--hc-primary); }

/* Map placeholder (dark) */
.map-placeholder {
    background: var(--hc-ink);
    border-radius: 20px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}
.map-placeholder .map-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.map-placeholder .pin-group {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.map-placeholder .big-pin {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--hc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pinPulse2 2s infinite;
}
.map-placeholder .big-pin svg {
    width: 24px;
    height: 24px;
    color: #fff;
}
@keyframes pinPulse2 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240,112,80,0.5); }
    70% { box-shadow: 0 0 0 18px rgba(240,112,80,0); }
}
.map-placeholder .map-label {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
}
.map-note {
    font-size: 13px;
    color: var(--hc-fg-3);
    margin-top: 12px;
    text-align: center;
}

/* Contact form card (sticky on the right) */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 18px 48px rgba(43,31,69,0.07);
    position: sticky;
    top: 100px;
}
.contact-form-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--hc-ink);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.contact-form-card h3 em {
    font-style: normal;
    color: var(--hc-primary);
    font-family: var(--hc-font-serif);
    font-weight: 600;
}
.contact-form-card > p {
    font-size: 16px;
    color: var(--hc-fg-3);
    margin: 0 0 20px;
    line-height: 1.55;
}
.contact-form-card .eyebrow { display: inline-block; margin-bottom: 16px; }

/* Response time badge inside form card */
.response-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hc-primary-100);
    border: 1px solid var(--hc-primary-200);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 24px;
}
.response-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hc-primary);
    animation: pulse-dot 1.8s infinite;
    flex: 0 0 8px;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240,112,80,0.6); }
    70% { box-shadow: 0 0 0 8px rgba(240,112,80,0); }
}
.response-badge span { font-size: 13px; font-weight: 600; color: var(--hc-primary-700); }

/* Reuse the .form-card JFB overrides for the contact form inside .contact-form-card.
   The JFB shortcode wraps in `.hc-form-wrap`; we already style based on .form-card,
   so wrap the shortcode in .form-card OR alias selector. Use alias here. */
.contact-form-card .jet-form-builder.layout-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin: 0;
    padding: 0;
}
.contact-form-card .jet-form-builder-row { display: block; margin: 0; padding: 0; min-width: 0; }
.contact-form-card .jet-form-builder__label { display: block; margin: 0 0 8px; max-width: none; width: auto; flex: none; }
.contact-form-card .jet-form-builder__field-wrap { display: block; width: 100%; margin: 0; }
.contact-form-card .jet-form-builder-row.field-type-select-field,
.contact-form-card .jet-form-builder-row.field-type-textarea-field,
.contact-form-card .jet-form-builder-row.field-type-submit-field,
.contact-form-card .jet-form-builder-row.field-type-checkbox-field,
.contact-form-card .jet-form-builder-row.field-type-hidden-field,
.contact-form-card .jet-form-builder-row[class*="hidden"],
.contact-form-card .jet-form-builder-messages-wrap { grid-column: 1 / -1; }
.contact-form-card .jet-form-builder__label-text { font-size: 13px; font-weight: 600; color: var(--hc-ink); letter-spacing: 0.02em; }
.contact-form-card .jet-form-builder__required { color: var(--hc-primary); margin-left: 2px; }
.contact-form-card .jet-form-builder__field {
    font-family: inherit; font-size: 15px; height: 52px; width: 100%; padding: 0 16px;
    background: #fff; border: 1.5px solid var(--hc-border); border-radius: 10px;
    color: var(--hc-ink); transition: border-color 200ms, box-shadow 200ms; outline: none;
    box-sizing: border-box;
}
.contact-form-card textarea.jet-form-builder__field { height: auto; min-height: 110px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.contact-form-card .jet-form-builder__field::placeholder { color: var(--hc-fg-4); }
.contact-form-card .jet-form-builder__field:focus { border-color: var(--hc-primary); box-shadow: 0 0 0 4px rgba(240,112,80,0.12); }
.contact-form-card .jet-form-builder__action-button-wrapper { margin-top: 8px; }
.contact-form-card .jet-form-builder__submit {
    width: 100%; background: var(--hc-primary); color: #fff !important;
    font-size: 15px; font-weight: 600; border: 0; border-radius: 999px;
    height: 56px; cursor: pointer; display: inline-flex; align-items: center;
    justify-content: center; gap: 8px; transition: background 200ms;
}
.contact-form-card .jet-form-builder__submit:hover,
.contact-form-card .jet-form-builder__submit:focus { background: var(--hc-primary-700); color: #fff !important; }
.contact-form-card .jet-form-builder-row input[type="hidden"] { display: none; }

@media (max-width: 1100px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .quick-inner { grid-template-columns: 1fr; }
    .qc-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .qc-item:last-child { border-bottom: 0; }
    .contact-form-card { position: static; }
}
@media (max-width: 720px) {
    .offices-grid { grid-template-columns: 1fr; }
    .contact-form-card .jet-form-builder.layout-column { grid-template-columns: 1fr; }
}

/* =========================================================
   Projects archive (/proekti/) — page-specific styles
   ========================================================= */

/* The base .page-hero rules (background bg-soft, hero-wm, h1, lead, breadcrumb)
   are already defined in the About page block above. We only override the
   small differences here. */

/* Filter chips bar */
.archive-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 48px 0 0;
}
.filter-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--hc-border);
    background: #fff;
    color: var(--hc-fg-2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 220ms;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.filter-btn:hover,
.filter-btn.is-active {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    color: #fff;
}

/* Projects grid (uniform 3-col version — simpler than the mockup's mosaic layout
   since our V1 has 3 demo projects; we can switch to mosaic later via spans). */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

/* Archive .proj card — DARK plum, image with overlay, hover lift.
   This OVERRIDES the home-services .svc-style usage; class is .proj-card to
   avoid conflict with home services' simpler `.svc` cards. */
.archive-grid .proj-card,
.projects-grid .proj-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--hc-ink);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: transform 280ms, box-shadow 280ms;
    min-height: 380px;
    aspect-ratio: 4/5;
}
.proj-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(43,31,69,0.25);
}
.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
    transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity 400ms;
    position: absolute;
    inset: 0;
}
.proj-card:hover img {
    transform: scale(1.07);
    opacity: 1;
}
.proj-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,31,69,0.06) 30%, rgba(43,31,69,0.86) 100%);
    transition: background 400ms;
    pointer-events: none;
}
.proj-card:hover::after {
    background: linear-gradient(180deg, rgba(240,112,80,0.1) 20%, rgba(43,31,69,0.9) 100%);
}
.proj-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    z-index: 2;
}
.proj-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(240,112,80,0.25);
    border: 1px solid rgba(240,112,80,0.4);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hc-primary);
    margin-bottom: 12px;
}
.proj-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    transition: color 250ms;
    color: #fff;
}
.proj-card:hover .proj-title { color: var(--hc-primary); }
.proj-meta-row {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 16px;
}
.proj-meta-row > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.proj-meta-row svg { width: 12px; height: 12px; }
.proj-card-arr {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 280ms;
    z-index: 3;
}
.proj-card:hover .proj-card-arr {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    transform: rotate(-45deg);
}
.proj-card-arr svg { width: 16px; height: 16px; }

/* Archive empty state (kept for when no projects exist) */
.archive-empty {
    text-align: center;
    padding: 96px 24px;
    background: var(--hc-bg-soft);
    border-radius: 24px;
    margin-top: 56px;
}
.archive-empty h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--hc-ink);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}
.archive-empty p {
    font-size: 16px;
    color: var(--hc-fg-3);
    margin: 0 0 28px;
    line-height: 1.6;
}

/* Pagination — round 48x48 buttons */
.archive-pagination {
    margin-top: 72px;
    display: flex;
    justify-content: center;
}
.archive-pagination .nav-links {
    display: flex;
    gap: 8px;
}
.archive-pagination .page-numbers {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--hc-border);
    background: #fff;
    color: var(--hc-ink);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms;
    text-decoration: none;
}
.archive-pagination .page-numbers:hover {
    border-color: var(--hc-primary);
    color: var(--hc-primary);
}
.archive-pagination .page-numbers.current {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    color: #fff;
}
.archive-pagination .page-numbers.dots {
    border-color: transparent;
    color: var(--hc-fg-3);
}

@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Single Service (/uslugi/{slug}/) — page-specific styles
   ported from wp-content/Project Homecare/ui_kits/website/service.html
   ========================================================= */

/* Body class scopes the dark page-hero override below. */
.single-service .page-hero {
    padding: 160px 0 80px;
    background: var(--hc-ink);
    color: #fff;
}
.single-service .page-hero::before { display: none; }
.single-service .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(240,112,80,0.18) 0%, transparent 55%);
}
.single-service .page-hero .container { position: relative; z-index: 2; }
.single-service .breadcrumb { color: rgba(255,255,255,0.6); }
.single-service .breadcrumb a { color: inherit; }
.single-service .breadcrumb .sep, .single-service .breadcrumb .bc-sep { color: rgba(255,255,255,0.3); }
.single-service .page-hero h1 { color: #fff; font-size: clamp(48px, 5.6vw, 80px); }
.single-service .page-hero .lead { color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 0 40px; font-size: 19px; }
.single-service .page-hero .hero-wm {
    color: rgba(255,255,255,0.03);
    font-size: 420px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
}

/* Service tag pill (e.g. "Услуга 03 / 06") */
.pg-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(240,112,80,0.2);
    color: var(--hc-primary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 28px;
    border: 1px solid rgba(240,112,80,0.3);
}
.pg-tag svg { width: 14px; height: 14px; }

/* Intro (2-col image + text + stats) */
.svc-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.svc-intro img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.svc-intro h2 {
    font-size: clamp(36px, 3.6vw, 50px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--hc-ink);
    margin: 0 0 22px;
}
.svc-intro h2 em {
    font-style: normal;
    color: var(--hc-primary);
    font-family: var(--hc-font-serif);
    font-weight: 600;
}
.svc-intro p { font-size: 17px; line-height: 1.7; color: var(--hc-fg-2); margin: 0 0 18px; }
.svc-intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.svc-intro-stat { padding: 16px 20px; background: var(--hc-primary-100); border-radius: 12px; }
.svc-intro-stat-num { font-size: 24px; font-weight: 800; color: var(--hc-primary); letter-spacing: -0.02em; }
.svc-intro-stat-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--hc-fg-3); margin-top: 4px; font-weight: 600; }

/* Includes section (3-col grid of items on bg-soft) */
.includes-sec { background: var(--hc-bg-soft); }
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inc-item {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: 18px;
    padding: 36px;
    transition: all 280ms;
}
.inc-item:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(43,31,69,0.12); border-color: transparent; }
.inc-item:hover .inc-ic { background: var(--hc-primary); color: #fff; transform: rotate(-8deg); }
.inc-ic {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--hc-primary-100);
    color: var(--hc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 280ms;
}
.inc-ic svg { width: 26px; height: 26px; }
.inc-item h3 { font-size: 20px; font-weight: 700; color: var(--hc-ink); margin: 0 0 10px; letter-spacing: -0.01em; }
.inc-item p { font-size: 14px; color: var(--hc-fg-3); line-height: 1.65; margin: 0; }

/* Process steps (4-step flow with connector line) */
.process-sec h2 {
    font-size: clamp(36px, 3.6vw, 52px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--hc-ink);
    margin: 0;
    line-height: 1.06;
}
.process-sec h2 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.process-sec .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 64px;
}
.process-sec .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% - 1px);
    right: calc(12.5% - 1px);
    height: 1px;
    background: var(--hc-border);
    z-index: 0;
}
.step { padding: 0 24px; text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--hc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hc-font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--hc-ink);
    margin: 0 auto 24px;
    transition: all 280ms;
}
.step:hover .step-num { background: var(--hc-primary); border-color: var(--hc-primary); color: #fff; }
.step h4 { font-size: 17px; font-weight: 700; color: var(--hc-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--hc-fg-3); line-height: 1.6; margin: 0; }

/* Service form section (DARK background) */
.svc-form-sec { background: var(--hc-ink); color: #fff; }
.svc-form-sec .eyebrow { color: var(--hc-primary); }
.svc-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.svc-form-wrap h2 {
    font-size: clamp(36px, 3.6vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 22px;
}
.svc-form-wrap h2 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.svc-form-wrap p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0; }
.dark-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}
/* JFB form fields on dark background */
.dark-form .jet-form-builder.layout-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin: 0;
    padding: 0;
}
.dark-form .jet-form-builder-row { display: block; margin: 0; padding: 0; min-width: 0; }
.dark-form .jet-form-builder__label { display: block; margin: 0 0 8px; max-width: none; width: auto; flex: none; }
.dark-form .jet-form-builder__field-wrap { display: block; width: 100%; margin: 0; }
.dark-form .jet-form-builder-row.field-type-select-field,
.dark-form .jet-form-builder-row.field-type-textarea-field,
.dark-form .jet-form-builder-row.field-type-submit-field,
.dark-form .jet-form-builder-row.field-type-checkbox-field,
.dark-form .jet-form-builder-row.field-type-hidden-field,
.dark-form .jet-form-builder-row[class*="hidden"],
.dark-form .jet-form-builder-messages-wrap { grid-column: 1 / -1; }
.dark-form .jet-form-builder__label-text { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }
.dark-form .jet-form-builder__required { color: var(--hc-primary); margin-left: 2px; }
.dark-form .jet-form-builder__field {
    font-family: inherit; font-size: 15px; height: 52px; width: 100%; padding: 0 16px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    transition: border-color 200ms, box-shadow 200ms; outline: none;
    box-sizing: border-box;
}
.dark-form textarea.jet-form-builder__field { height: auto; min-height: 110px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.dark-form .jet-form-builder__field::placeholder { color: rgba(255,255,255,0.4); }
.dark-form .jet-form-builder__field:focus { border-color: var(--hc-primary); box-shadow: 0 0 0 4px rgba(240,112,80,0.15); }
.dark-form select.jet-form-builder__field option { color: var(--hc-ink); background: #fff; }
.dark-form .jet-form-builder__action-button-wrapper { margin-top: 8px; }
.dark-form .jet-form-builder__submit {
    width: 100%; background: var(--hc-primary); color: #fff !important;
    font-size: 15px; font-weight: 600; border: 0; border-radius: 999px;
    height: 56px; cursor: pointer; display: inline-flex; align-items: center;
    justify-content: center; gap: 8px; transition: background 200ms;
}
.dark-form .jet-form-builder__submit:hover, .dark-form .jet-form-builder__submit:focus { background: var(--hc-primary-700); color: #fff !important; }
.dark-form .jet-form-builder-row input[type="hidden"] { display: none; }

/* Related services (image cards on bg-soft) */
.svc-related { background: var(--hc-bg-soft); }
.svc-related h2 {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--hc-ink);
    margin: 0 0 48px;
    line-height: 1.06;
}
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 280px;
    color: #fff;
    transition: transform 280ms, box-shadow 280ms;
    text-decoration: none;
}
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,31,69,0.18); }
.rel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; position: absolute; inset: 0; }
.rel-card:hover img { transform: scale(1.08); }
.rel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,31,69,0.1) 30%, rgba(43,31,69,0.8) 100%);
    pointer-events: none;
}
.rel-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 28px; z-index: 2; }
.rel-card h4 { font-size: 22px; font-weight: 700; margin: 0 0 8px; transition: color 250ms; color: #fff; }
.rel-card:hover h4 { color: var(--hc-primary); }
.rel-card-meta { font-size: 13px; opacity: 0.8; display: flex; align-items: center; gap: 8px; }
.rel-card-meta svg { width: 14px; height: 14px; }

@media (max-width: 1100px) {
    .svc-intro, .svc-form-wrap { grid-template-columns: 1fr; gap: 48px; }
    .includes-grid, .svc-related-grid { grid-template-columns: 1fr 1fr; }
    .process-sec .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
    .process-sec .steps::before { display: none; }
    .single-service .page-hero .hero-wm { font-size: 280px; }
}
@media (max-width: 720px) {
    .includes-grid, .svc-related-grid, .process-sec .steps { grid-template-columns: 1fr; }
    .svc-intro-stats { grid-template-columns: 1fr; }
    .dark-form .jet-form-builder.layout-column { grid-template-columns: 1fr; }
}

/* =========================================================
   Single Service — additional sections (metric strip, target audience, FAQ)
   ========================================================= */

/* Coral metric strip below hero */
.svc-metric-strip { background: var(--hc-primary); }
.svc-metric-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.svc-metric-item {
    padding: 36px 36px;
    border-right: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    gap: 20px;
}
.svc-metric-item:last-child { border-right: 0; }
.svc-metric-ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
}
.svc-metric-ic svg { width: 22px; height: 22px; }
.svc-metric-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.svc-metric-lbl {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    margin-top: 4px;
}

/* Asymmetric Includes — first card featured (full-width); the rest 2 per row */
.includes-grid--featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.inc-item--feature {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--hc-primary) 0%, var(--hc-primary-700) 100%);
    color: #fff;
    border: 0;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    border-radius: 24px;
}
.inc-item--feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(240,112,80,0.28);
}
.inc-item--feature .inc-ic {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    margin-bottom: 0;
    border-radius: 20px;
    flex-shrink: 0;
}
.inc-item--feature .inc-ic svg { width: 36px; height: 36px; }
.inc-item--feature:hover .inc-ic { background: rgba(255,255,255,0.3); transform: rotate(-6deg); }
.inc-item--feature h3 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.inc-item--feature p { color: rgba(255,255,255,0.85); font-size: 16px; }

/* DARK "За кого е?" section — split layout */
.svc-audience {
    background: var(--hc-ink);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.svc-audience::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(240,112,80,0.12) 0%, transparent 55%);
    pointer-events: none;
}
.svc-audience .container { position: relative; z-index: 2; }
.svc-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.svc-audience-img {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: rgba(255,255,255,0.03);
}
.svc-audience-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.svc-audience-img:hover img { transform: scale(1.04); }
.svc-audience .eyebrow { color: var(--hc-primary); }
.svc-audience h2 {
    font-size: clamp(36px, 3.6vw, 50px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.06;
    color: #fff;
    margin: 0 0 24px;
}
.svc-audience h2 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.svc-audience p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0 0 32px;
    max-width: 540px;
}
.audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
}
.audience-list .check-ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(240,112,80,0.2);
    color: var(--hc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
}
.audience-list .check-ic svg { width: 14px; height: 14px; }
.audience-list strong { color: #fff; font-weight: 700; }

/* FAQ accordion */
.svc-faq { background: var(--hc-bg-soft); padding: 100px 0; }
.svc-faq h2 {
    font-size: clamp(36px, 3.6vw, 52px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--hc-ink);
    margin: 0 0 56px;
    line-height: 1.06;
    max-width: 640px;
}
.svc-faq h2 em { font-style: normal; color: var(--hc-primary); font-family: var(--hc-font-serif); font-weight: 600; }
.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 240ms;
}
.faq-item[open] { border-color: var(--hc-primary); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 17px;
    font-weight: 700;
    color: var(--hc-ink);
    letter-spacing: -0.01em;
    transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item:hover summary { color: var(--hc-primary); }
.faq-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--hc-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hc-ink);
    flex-shrink: 0;
    transition: all 240ms;
}
.faq-toggle svg { width: 14px; height: 14px; transition: transform 280ms; }
.faq-item[open] .faq-toggle {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    color: #fff;
}
.faq-item[open] .faq-toggle svg { transform: rotate(45deg); }
.faq-body {
    padding: 0 28px 28px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--hc-fg-2);
}

@media (max-width: 1100px) {
    .svc-metric-strip-inner { grid-template-columns: 1fr; }
    .svc-metric-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
    .svc-metric-item:last-child { border-bottom: 0; }
    .svc-audience-grid { grid-template-columns: 1fr; gap: 48px; }
    .inc-item--feature { grid-template-columns: 1fr; gap: 24px; padding: 36px; }
    .inc-item--feature h3 { font-size: 24px; }
}
@media (max-width: 720px) {
    .svc-metric-item { padding: 24px; }
    .faq-item summary { font-size: 16px; padding: 20px 22px; }
    .faq-body { padding: 0 22px 22px; }
}

/* =========================================================
   White-on-coral hover guarantees
   The global `a:hover { color: var(--hc-primary-700) }` rule from tokens.css bleeds
   into elements whose hover state turns the *background* coral — making the inner
   text/SVG icon a darker coral instead of staying white. Pin color: #fff explicitly
   for every such case.
   ========================================================= */

/* Footer social icons */
.ftr-social a:hover,
.ftr-social a:focus,
.ftr-social a:hover svg,
.ftr-social a:focus svg {
    color: #fff !important;
}

/* Home services carousel arrow circle (.svc-arr) */
.svc:hover .svc-arr,
.svc:focus .svc-arr,
.svc:hover .svc-arr svg,
.svc:focus .svc-arr svg {
    color: #fff;
}

/* Floating CTA call button */
.float-cta a:hover,
.float-cta a:focus,
.float-cta a:hover svg,
.float-cta a:focus svg {
    color: #fff;
}

/* Project archive arrow circle (.proj-card-arr) — already on dark surface but enforce */
.proj-card:hover .proj-card-arr,
.proj-card:focus .proj-card-arr,
.proj-card:hover .proj-card-arr svg,
.proj-card:focus .proj-card-arr svg {
    color: #fff;
}

/* Member cards on the certs panel — icon stays white when bg becomes coral */
.member-card:hover .member-icon,
.member-card:focus .member-icon,
.member-card:hover .member-icon svg,
.member-card:focus .member-icon svg {
    color: #fff;
}

/* Process step circle on hover */
.step:hover .step-num,
.step:focus .step-num {
    color: #fff;
}

/* Timeline dot on hover (about page) */
.tl-item:hover .tl-dot,
.tl-item:focus .tl-dot,
.tl-item:hover .tl-dot svg,
.tl-item:focus .tl-dot svg {
    color: #fff;
}

/* Includes / About values — icons go white on hover */
.inc-item:hover .inc-ic,
.inc-item:focus .inc-ic,
.inc-item:hover .inc-ic svg,
.inc-item:focus .inc-ic svg,
.val-item:hover .val-icon,
.val-item:focus .val-icon,
.val-item:hover .val-icon svg,
.val-item:focus .val-icon svg,
.why-item:hover .why-ic,
.why-item:focus .why-ic,
.why-item:hover .why-ic svg,
.why-item:focus .why-ic svg {
    color: #fff;
}

/* FAQ toggle icon when open (coral fill) */
.faq-item[open] .faq-toggle,
.faq-item[open] .faq-toggle svg {
    color: #fff;
}

/* Generic safety net: any link whose background is currently coral renders white text.
   The .has-coral-bg helper class can be added on edge cases that don't match selectors above. */
a.has-coral-bg,
a.has-coral-bg:hover,
a.has-coral-bg:focus,
a.has-coral-bg svg,
a.has-coral-bg:hover svg,
a.has-coral-bg:focus svg {
    color: #fff !important;
}

/* =========================================================
   Light header on DARK hero pages
   When the page hero is dark plum (single-service, contacts), the default
   dark nav text becomes invisible against the dark hero. Switch nav + logo
   to white BEFORE scroll. After scroll the header gets a white blur background
   (.scrolled), so revert to the normal dark colors.
   ========================================================= */
.single-service .site-hdr:not(.scrolled) .nav > a,
.single-service .site-hdr:not(.scrolled) .nav-dd > a,
.contacts-page .site-hdr:not(.scrolled) .nav > a,
.contacts-page .site-hdr:not(.scrolled) .nav-dd > a {
    color: #fff;
}
.single-service .site-hdr:not(.scrolled) .nav-dd > a svg,
.contacts-page .site-hdr:not(.scrolled) .nav-dd > a svg {
    color: #fff;
}
.single-service .site-hdr:not(.scrolled) .logo img,
.contacts-page .site-hdr:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}
/* Hover on dark-hero header: keep white text, show coral underline as usual */
.single-service .site-hdr:not(.scrolled) .nav > a:hover,
.single-service .site-hdr:not(.scrolled) .nav-dd:hover > a,
.contacts-page .site-hdr:not(.scrolled) .nav > a:hover,
.contacts-page .site-hdr:not(.scrolled) .nav-dd:hover > a {
    color: #fff;
}
