/*!
 * blogpage.css - the public Blog listing and the Contact page.
 * `.blg-` prefix for the blog, `.ctc-` for contact; tokens on each section
 * root; every icon rule sets BOTH color and stroke with !important so the
 * inline-SVG partial always takes the colour.
 */

/* ================================================================= BLOG === */
.blg-section {
    --blg-teal: var(--site-base, #09a9b7);
    --blg-teal-dark: var(--site-base-dark, #087e8b);
    --blg-navy: var(--site-secondary, #0d1c51);
    --blg-text: #24355e;
    --blg-muted: #6b7897;
    --blg-line: #dfeaf0;
    --blg-bg: var(--site-base-bg, #f5fbfd);
    --blg-soft: var(--site-base-tint, #eaf9fb);
    --blg-amber: #f5a623;
    --blg-radius: 16px;
    --blg-shadow: 0 8px 26px rgba(20, 70, 100, .08);
}

.blg-section h1, .blg-section h2, .blg-section h3, .blg-section h4, .blg-section p { margin: 0; }
.blg-section a { text-decoration: none; }
.blg-section .is-hidden { display: none !important; }

.blg-wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-right: var(--bs-gutter-x, 12px);
    padding-left: var(--bs-gutter-x, 12px);
}
@media (min-width: 576px)  { .blg-wrap { max-width: 540px; } }
@media (min-width: 768px)  { .blg-wrap { max-width: 720px; } }
@media (min-width: 992px)  { .blg-wrap { max-width: 960px; } }
@media (min-width: 1200px) { .blg-wrap { max-width: 1140px; } }
@media (min-width: 1500px) { .blg-wrap { max-width: 1440px; } }

/* ------------------------------------------------------------------- hero */
.blg-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfefe 0%, #eaf8fb 100%); padding: 18px 0 20px; }
.blg-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -200px; right: -130px; background: radial-gradient(circle, color-mix(in srgb, var(--site-base) 13%, transparent), transparent 70%); pointer-events: none; }

.blg-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
@media (max-width: 991px) { .blg-hero__grid { grid-template-columns: 1fr; } }

.blg-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 15px; border-radius: 999px;
    background: var(--blg-soft); color: var(--blg-teal-dark) !important;
    font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.blg-eyebrow svg { width: 14px; height: 14px; color: var(--blg-teal-dark) !important; stroke: var(--blg-teal-dark) !important; }

.blg-hero__title { margin-top: 10px; font-size: 40px; font-weight: 800; line-height: 1.18; letter-spacing: -.8px; color: var(--blg-navy); }
.blg-hero__title em { font-style: normal; color: var(--blg-teal); }
.blg-hero__sub { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--blg-muted); max-width: 540px; }

.blg-hero__card {
    position: relative; z-index: 2;
    background: #fff; border: 1px solid var(--blg-line); border-radius: var(--blg-radius);
    box-shadow: var(--blg-shadow); padding: 14px 17px; margin: -42px auto 0;
    max-width: 300px;
}
.blg-hero__card h3 { font-size: 13.5px; font-weight: 800; color: var(--blg-navy); margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.blg-hero__card h3 svg { width: 16px; height: 16px; color: var(--blg-teal) !important; stroke: var(--blg-teal) !important; }
.blg-hero__card li { display: flex; align-items: center; gap: 8px; list-style: none; padding: 3.5px 0; font-size: 12.5px; font-weight: 500; color: var(--blg-text); }
.blg-hero__card li svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--blg-green, #1f9254) !important; stroke: var(--blg-green, #1f9254) !important; }

/* hero art */
.blg-hero__art { position: relative; }
.blg-hero__art img { width: 100%; max-width: 290px; margin: 0 auto; display: block; }

/* search + category pills */
.blg-searchbar { position: relative; z-index: 2; margin-top: 15px; display: flex; gap: 10px; max-width: 640px; }
.blg-searchbar span {
    flex: 1 1 auto; display: flex; align-items: center; gap: 10px;
    padding: 0 15px; border: 1px solid var(--blg-line); border-radius: 12px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.blg-searchbar span:focus-within { border-color: var(--blg-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-base) 12%, transparent); }
.blg-searchbar span > svg { width: 16px; height: 16px; flex: 0 0 auto; color: #9aa6bd !important; stroke: #9aa6bd !important; }
.blg-searchbar input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 0; font-size: 13.5px; color: var(--blg-text); font-family: inherit; }

.blg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border: 1.5px solid transparent; border-radius: 12px;
    background: var(--blg-teal); color: #fff !important;
    font-size: 14px; font-weight: 600; line-height: 1.2;
    cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.blg-btn:hover { background: var(--blg-teal-dark); color: #fff !important; }
.blg-btn svg { width: 16px; height: 16px; color: #fff !important; stroke: #fff !important; }
.blg-btn--outline { background: transparent; border-color: var(--blg-teal); color: var(--blg-teal-dark) !important; }
.blg-btn--outline:hover { background: var(--blg-soft); color: var(--blg-teal-dark) !important; }
.blg-btn--block { width: 100%; }
.blg-btn--sm { padding: 9px 16px; font-size: 13px; }

.blg-cats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.blg-cat {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px; border: 1px solid var(--blg-line); border-radius: 999px;
    background: #fff; font-size: 13px; font-weight: 600; color: var(--blg-text);
    transition: all .2s ease;
}
.blg-cat:hover { border-color: var(--blg-teal); color: var(--blg-teal-dark) !important; background: var(--blg-soft); }
.blg-cat.is-on { background: var(--blg-teal); border-color: var(--blg-teal); color: #fff !important; }
.blg-cat svg { width: 14px; height: 14px; color: inherit; }
.blg-cat__n { font-size: 11px; opacity: .75; }

@media (max-width: 575px) {
    .blg-hero { padding: 32px 0 28px; }
    .blg-hero__title { font-size: 26px; letter-spacing: -.3px; }
    .blg-hero__sub { font-size: 13.5px; }
    .blg-searchbar { flex-direction: column; }
    .blg-searchbar .blg-btn { width: 100%; }
    .blg-cats { gap: 7px; }
    .blg-cat { padding: 7px 12px; font-size: 12px; }
}

/* ------------------------------------------------------------------- body */
.blg-body { padding: 18px 0 50px; background: #fff; }
.blg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
@media (max-width: 991px) { .blg-layout { grid-template-columns: 1fr; } }

.blg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1199px) { .blg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .blg-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- card */
.blg-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--blg-line); border-radius: var(--blg-radius);
    box-shadow: var(--blg-shadow); overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.blg-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20, 70, 100, .13); }

.blg-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--blg-soft); overflow: hidden; }
.blg-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.blg-card__badge {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 11px; border-radius: 999px;
    background: var(--blg-teal); color: #fff !important;
    font-size: 11px; font-weight: 700; letter-spacing: .2px;
}

.blg-card__body { padding: 15px 17px 17px; flex: 1 1 auto; display: flex; flex-direction: column; }

.blg-card__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.blg-card__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--blg-muted); }
.blg-card__meta svg { width: 14px; height: 14px; color: #9aa6bd !important; stroke: #9aa6bd !important; }

.blg-card__t { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--blg-navy); }
.blg-card__t a { color: inherit; transition: color .2s ease; }
.blg-card__t a:hover { color: var(--blg-teal-dark); }

.blg-card__x { margin-top: 9px; font-size: 13px; line-height: 1.7; color: var(--blg-muted); flex: 1 1 auto; }

.blg-card__who { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding-top: 13px; border-top: 1px dashed var(--blg-line); }
.blg-card__ava { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--blg-soft); flex: 0 0 auto; }
.blg-card__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blg-card__who b { display: block; font-size: 12.5px; font-weight: 700; color: var(--blg-navy); }
.blg-card__who span { display: block; font-size: 11px; color: var(--blg-muted); margin-top: 1px; }

.blg-card__more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 13px;
    font-size: 12.5px; font-weight: 700; color: var(--blg-teal-dark) !important;
}
.blg-card__more svg { width: 14px; height: 14px; transition: transform .2s ease; color: var(--blg-teal-dark) !important; stroke: var(--blg-teal-dark) !important; }
.blg-card:hover .blg-card__more svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- sidebar */
.blg-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 991px) { .blg-side { position: static; } }

.blg-sbox { background: #fff; border: 1px solid var(--blg-line); border-radius: var(--blg-radius); box-shadow: var(--blg-shadow); padding: 18px 18px 20px; }
.blg-sbox__t { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; color: var(--blg-navy); margin-bottom: 15px; }
.blg-sbox__t svg { width: 18px; height: 18px; color: var(--blg-teal) !important; stroke: var(--blg-teal) !important; }

/* popular */
.blg-pop { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--blg-line); }
.blg-pop:first-child { padding-top: 0; }
.blg-pop:last-child { border-bottom: 0; padding-bottom: 0; }
.blg-pop__img { width: 64px; height: 52px; border-radius: 9px; overflow: hidden; background: var(--blg-soft); flex: 0 0 auto; }
.blg-pop__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blg-pop__t { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--blg-navy); }
.blg-pop__t:hover { color: var(--blg-teal-dark); }
.blg-pop__d { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11px; color: var(--blg-muted); }
.blg-pop__d svg { width: 12px; height: 12px; color: #9aa6bd !important; stroke: #9aa6bd !important; }

/* categories */
.blg-catrow {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0; border-bottom: 1px dashed var(--blg-line);
    font-size: 13.5px; font-weight: 500; color: var(--blg-text);
    transition: color .2s ease;
}
.blg-catrow:last-child { border-bottom: 0; padding-bottom: 0; }
.blg-catrow:hover { color: var(--blg-teal-dark); }
.blg-catrow svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--blg-teal) !important; stroke: var(--blg-teal) !important; }
.blg-catrow span { flex: 1 1 auto; }
.blg-catrow.is-on { color: var(--blg-teal-dark) !important; font-weight: 700; }
.blg-catrow__n {
    flex: 0 0 auto; min-width: 26px; padding: 2px 7px; border-radius: 999px;
    background: var(--blg-soft); color: var(--blg-teal-dark) !important;
    font-size: 11px; font-weight: 700; text-align: center;
}

/* subscribe */
.blg-sub { text-align: center; background: linear-gradient(160deg, #eaf9fb, #d9f2f6); border-color: transparent; }
.blg-sub__ico {
    width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
}
.blg-sub__ico svg { width: 21px; height: 21px; color: var(--blg-teal-dark) !important; stroke: var(--blg-teal-dark) !important; }
.blg-sub p { font-size: 12.5px; line-height: 1.6; color: var(--blg-muted); margin-top: 8px; }
.blg-sub form { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.blg-sub span {
    display: flex; align-items: center; gap: 9px; text-align: left;
    padding: 0 13px; border: 1px solid #fff; border-radius: 10px; background: #fff;
}
.blg-sub span:focus-within { border-color: var(--blg-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-base) 12%, transparent); }
.blg-sub span > svg { width: 15px; height: 15px; flex: 0 0 auto; color: #9aa6bd !important; stroke: #9aa6bd !important; }
.blg-sub input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; padding: 11px 0; font-size: 13px; color: var(--blg-text); font-family: inherit; }
.blg-sub small { display: block; margin-top: 10px; font-size: 10.5px; color: var(--blg-muted); line-height: 1.5; }

/* alerts */
.blg-alert { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; margin-bottom: 18px; border-radius: 11px; font-size: 13px; line-height: 1.5; }
.blg-alert svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.blg-alert--ok { border: 1px solid #bfe3cc; background: #f2fbf5; color: #1f7a46; }
.blg-alert--ok svg { color: #1f9254 !important; stroke: #1f9254 !important; }
.blg-alert--bad { border: 1px solid #f6c9c6; background: #fdf3f2; color: #a63c36; }
.blg-alert--bad svg { color: #e2564f !important; stroke: #e2564f !important; }

/* empty */
.blg-empty { grid-column: 1 / -1; text-align: center; padding: 48px 22px; border: 1px dashed var(--blg-line); border-radius: var(--blg-radius); background: var(--blg-bg); }
.blg-empty__ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.blg-empty__ico svg { width: 25px; height: 25px; color: #9aa6bd !important; stroke: #9aa6bd !important; }
.blg-empty h4 { font-size: 17px; font-weight: 700; color: var(--blg-navy); }
.blg-empty p { margin-top: 8px; font-size: 13px; color: var(--blg-muted); }
.blg-empty .blg-btn { margin-top: 16px; }

/* pagination */
.blg-page { display: flex; justify-content: center; margin-top: 30px; }
.blg-page nav { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.blg-page a, .blg-page span {
    min-width: 36px; height: 36px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--blg-line); border-radius: 9px;
    background: #fff; font-size: 13px; color: var(--blg-text);
}
.blg-page a:hover { border-color: var(--blg-teal); background: var(--blg-soft); }
.blg-page span.is-active { background: var(--blg-teal); border-color: var(--blg-teal); color: #fff !important; font-weight: 700; }
.blg-page span.is-disabled { color: #c3ccdb; }
.blg-page .gap span { border: 0; background: transparent; }

/* ============================================================== CONTACT === */
.ctc-section {
    --ctc-teal: var(--site-base, #09a9b7);
    --ctc-teal-dark: var(--site-base-dark, #087e8b);
    --ctc-navy: var(--site-secondary, #0d1c51);
    --ctc-text: #24355e;
    --ctc-muted: #6b7897;
    --ctc-line: #dfeaf0;
    --ctc-bg: var(--site-base-bg, #f5fbfd);
    --ctc-soft: var(--site-base-tint, #eaf9fb);
    --ctc-green: #1f9254;
    --ctc-red: #e2564f;
    --ctc-radius: 16px;
    --ctc-shadow: 0 8px 26px rgba(20, 70, 100, .08);
}

.ctc-section h1, .ctc-section h2, .ctc-section h3, .ctc-section p { margin: 0; }
.ctc-section a { text-decoration: none; }

.ctc-wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-right: var(--bs-gutter-x, 12px);
    padding-left: var(--bs-gutter-x, 12px);
}
@media (min-width: 576px)  { .ctc-wrap { max-width: 540px; } }
@media (min-width: 768px)  { .ctc-wrap { max-width: 720px; } }
@media (min-width: 992px)  { .ctc-wrap { max-width: 960px; } }
@media (min-width: 1200px) { .ctc-wrap { max-width: 1140px; } }
@media (min-width: 1500px) { .ctc-wrap { max-width: 1440px; } }

.ctc-crumb { background: var(--ctc-bg); padding: 13px 0; border-bottom: 1px solid var(--ctc-line); }
.ctc-crumb ol { display: flex; align-items: center; gap: 9px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ctc-crumb li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ctc-muted); }
.ctc-crumb li::after { content: "\203A"; color: #b6c2d2; font-size: 15px; }
.ctc-crumb li:last-child::after { content: none; }
.ctc-crumb a { color: var(--ctc-muted); }
.ctc-crumb a:hover { color: var(--ctc-teal-dark); }
.ctc-crumb li:last-child { color: var(--ctc-navy); font-weight: 600; }

/* hero */
.ctc-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfefe 0%, #eaf8fb 100%); padding: 48px 0 54px; }
.ctc-hero::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; top: -170px; right: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--site-base) 13%, transparent), transparent 70%); pointer-events: none; }
.ctc-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: center; }
@media (max-width: 991px) { .ctc-hero__grid { grid-template-columns: 1fr; } }

.ctc-hero__title { font-size: 40px; font-weight: 800; letter-spacing: -.8px; color: var(--ctc-navy); }
.ctc-hero__sub { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ctc-teal-dark); font-weight: 500; }
.ctc-hero__text { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--ctc-muted); max-width: 560px; }

.ctc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 1199px) { .ctc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .ctc-cards { grid-template-columns: 1fr; } }

.ctc-card {
    background: #fff; border: 1px solid var(--ctc-line); border-radius: var(--ctc-radius);
    box-shadow: var(--ctc-shadow); padding: 18px 17px;
    display: flex; align-items: flex-start; gap: 12px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ctc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 70, 100, .13); }
.ctc-card__ico {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    background: var(--ctc-soft); display: flex; align-items: center; justify-content: center;
}
.ctc-card__ico svg { width: 20px; height: 20px; color: var(--ctc-teal-dark) !important; stroke: var(--ctc-teal-dark) !important; }
.ctc-card__t { font-size: 13.5px; font-weight: 700; color: var(--ctc-navy); }
.ctc-card__v { font-size: 13px; font-weight: 600; color: var(--ctc-text); margin-top: 3px; line-height: 1.45; word-break: break-word; }
.ctc-card__v a { color: var(--ctc-teal-dark); }
.ctc-card__v a:hover { text-decoration: underline; }
.ctc-card__d { font-size: 11.5px; color: var(--ctc-muted); margin-top: 3px; line-height: 1.4; }

.ctc-hero__art { position: relative; }
.ctc-hero__art img { width: 100%; max-width: 300px; margin: 0 auto; display: block; }
.ctc-float {
    position: absolute; bottom: 4px; left: -10px; z-index: 2;
    display: flex; align-items: center; gap: 11px;
    padding: 13px 16px; border-radius: 14px;
    background: #fff; border: 1px solid var(--ctc-line); box-shadow: 0 12px 28px rgba(20, 70, 100, .15);
}
.ctc-float__ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--ctc-teal); display: flex; align-items: center; justify-content: center; }
.ctc-float__ico svg { width: 19px; height: 19px; color: #fff !important; stroke: #fff !important; }
.ctc-float b { display: block; font-size: 13px; font-weight: 800; color: var(--ctc-navy); }
.ctc-float span { display: block; font-size: 11px; color: var(--ctc-muted); margin-top: 2px; line-height: 1.35; }

@media (max-width: 991px) { .ctc-float { position: static; margin-top: 14px; max-width: 340px; } }
@media (max-width: 575px) {
    .ctc-hero { padding: 30px 0 34px; }
    .ctc-hero__title { font-size: 27px; }
    .ctc-hero__sub { font-size: 14px; }
}

/* body */
.ctc-body { padding: 42px 0 60px; background: #fff; }
.ctc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
@media (max-width: 991px) { .ctc-grid { grid-template-columns: 1fr; } }

.ctc-panel {
    background: #fff; border: 1px solid var(--ctc-line); border-radius: var(--ctc-radius);
    box-shadow: var(--ctc-shadow); padding: 24px 24px 26px;
}
.ctc-panel + .ctc-panel { margin-top: 20px; }

.ctc-panel__t { font-size: 19px; font-weight: 800; color: var(--ctc-navy); }
.ctc-panel__s { margin-top: 7px; font-size: 13.5px; line-height: 1.65; color: var(--ctc-muted); }

.ctc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 575px) { .ctc-row { grid-template-columns: 1fr; } }
.ctc-row--full { grid-template-columns: 1fr; }

.ctc-lab { display: block; }
.ctc-lab > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ctc-text); margin-bottom: 7px; }
.ctc-req { color: var(--ctc-red); font-style: normal; }

.ctc-in {
    display: flex; align-items: center; gap: 9px;
    padding: 0 13px; border: 1px solid var(--ctc-line); border-radius: 11px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ctc-in:focus-within { border-color: var(--ctc-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-base) 12%, transparent); }
.ctc-in > svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--site-base-dark, #087e8b) !important; stroke: var(--site-base-dark, #087e8b) !important; }
.ctc-in input, .ctc-in select, .ctc-in textarea {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
    padding: 12px 0; font-size: 13.5px; color: var(--ctc-text); font-family: inherit;
}
.ctc-in select { appearance: none; cursor: pointer; padding-right: 20px; }
.ctc-in.is-select { position: relative; }
.ctc-in.is-select::after {
    content: ""; position: absolute; right: 14px; top: 50%; pointer-events: none;
    width: 7px; height: 7px; margin-top: -5px;
    border-right: 2px solid #9aa6bd; border-bottom: 2px solid #9aa6bd; transform: rotate(45deg);
}
.ctc-in.is-select select { padding-right: 28px; }
.ctc-in textarea { padding: 12px 0; resize: vertical; min-height: 110px; }
.ctc-in--area { align-items: stretch; }
.ctc-in--area textarea { padding: 12px 2px; }
.ctc-in__count { display: block; text-align: right; font-size: 11px; color: var(--ctc-muted); margin-top: 5px; }

.ctc-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.ctc-human { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ctc-text); cursor: pointer; }
.ctc-human input { width: 16px; height: 16px; accent-color: var(--ctc-teal); cursor: pointer; }
.ctc-note { font-size: 11.5px; color: var(--ctc-muted); margin-top: 10px; }

.ctc-err { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 11.5px; color: var(--ctc-red) !important; }
.ctc-err svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; color: var(--ctc-red) !important; stroke: var(--ctc-red) !important; }

.ctc-alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; margin-bottom: 20px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.ctc-alert svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.ctc-alert--ok { border: 1px solid #bfe3cc; background: #f2fbf5; color: #1f7a46; }
.ctc-alert--ok svg { color: #1f9254 !important; stroke: #1f9254 !important; }
.ctc-alert--bad { border: 1px solid #f6c9c6; background: #fdf3f2; color: #a63c36; }
.ctc-alert--bad svg { color: #e2564f !important; stroke: #e2564f !important; }

/* buttons - the base rule was missing, so the submit button fell back to
   the browser's default grey */
.ctc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border: 0; border-radius: 11px;
    background: var(--ctc-teal); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ctc-btn:hover {
    background: var(--ctc-teal-dark); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--site-base) 25%, transparent);
}
.ctc-btn svg { width: 16px; height: 16px; color: #fff !important; stroke: #fff !important; }

.ctc-btn--outline {
    background: #fff; color: var(--ctc-teal-dark);
    border: 1.5px solid var(--ctc-line);
}
.ctc-btn--outline:hover {
    background: var(--ctc-soft); color: var(--ctc-teal-dark);
    border-color: color-mix(in srgb, var(--site-base) 45%, transparent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--site-base) 12%, transparent);
}
.ctc-btn--outline svg { color: var(--ctc-teal-dark) !important; stroke: var(--ctc-teal-dark) !important; }

/* map */
.ctc-map { position: relative; margin-top: 16px; border-radius: 13px; overflow: hidden; border: 1px solid var(--ctc-line); }
.ctc-map iframe { display: block; width: 100%; height: 250px; border: 0; }

.ctc-office { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ctc-line); }
.ctc-office__ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--ctc-soft); display: flex; align-items: center; justify-content: center; }
.ctc-office__ico svg { width: 18px; height: 18px; color: var(--ctc-teal-dark) !important; stroke: var(--ctc-teal-dark) !important; }
.ctc-office b { display: block; font-size: 12px; font-weight: 700; color: var(--ctc-navy); }
.ctc-office span { display: block; font-size: 12.5px; color: var(--ctc-muted); margin-top: 3px; line-height: 1.5; }
.ctc-office + .ctc-btn { margin-top: 16px; width: 100%; }

/* faq */
.ctc-faq { border: 1px solid var(--ctc-line); border-radius: 12px; overflow: hidden; margin-bottom: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.ctc-faq.is-open { border-color: #b6e2e8; box-shadow: 0 6px 18px rgba(20, 70, 100, .07); }
.ctc-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 18px; cursor: pointer; user-select: none;
    font-size: 14.5px; font-weight: 700; color: var(--ctc-navy); line-height: 1.45;
}
.ctc-faq__q:hover { color: var(--ctc-teal-dark); }
.ctc-faq__ico {
    flex: 0 0 auto; width: 27px; height: 27px; border-radius: 8px;
    background: var(--ctc-soft); display: flex; align-items: center; justify-content: center;
    transition: transform .25s ease, background .2s ease;
}
.ctc-faq__ico svg { width: 14px; height: 14px; color: var(--ctc-teal-dark) !important; stroke: var(--ctc-teal-dark) !important; }
.ctc-faq.is-open .ctc-faq__ico { background: var(--ctc-teal); transform: rotate(45deg); }
.ctc-faq.is-open .ctc-faq__ico svg { color: #fff !important; stroke: #fff !important; }
.ctc-faq__a { display: none; padding: 0 18px 16px; }
.ctc-faq.is-open .ctc-faq__a { display: block; }
.ctc-faq__a p { font-size: 13px; line-height: 1.8; color: var(--ctc-muted); }

.ctc-panehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ctc-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 700; color: var(--ctc-teal-dark) !important;
    background: none; border: 0; padding: 0; cursor: pointer;
}
.ctc-more svg { width: 14px; height: 14px; color: var(--ctc-teal-dark) !important; stroke: var(--ctc-teal-dark) !important; }
.ctc-more:hover { text-decoration: underline; }

/* other ways */
.ctc-socials { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ctc-social {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border: 1px solid var(--ctc-line); border-radius: 12px;
    background: #fff; transition: all .2s ease;
}
.ctc-social:hover { border-color: var(--ctc-teal); background: var(--ctc-soft); transform: translateX(3px); }
/* the child selector beats the generic `.ctc-social span { display:block }`
   rule below, which otherwise flattens the icon tile to display:block and
   shoves the glyph into the tile's top-left corner */
.ctc-social > .ctc-social__ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ctc-social__ico svg { width: 19px; height: 19px; color: #fff !important; stroke: #fff !important; }
.ctc-social__ico.is-fb { background: #1877f2; }
.ctc-social__ico.is-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.ctc-social__ico.is-yt { background: #ff0000; }
.ctc-social__ico.is-li { background: #0a66c2; }
.ctc-social__ico.is-wa { background: #25d366; }
.ctc-social b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ctc-navy); }
.ctc-social span { display: block; font-size: 11.5px; color: var(--ctc-muted); margin-top: 2px; }

.ctc-part {
    display: flex; align-items: flex-start; gap: 12px;
    margin-top: 18px; padding: 17px; border-radius: 14px;
    background: linear-gradient(140deg, #eaf9fb, #d9f2f6);
}
.ctc-part__ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--ctc-teal); display: flex; align-items: center; justify-content: center; }
.ctc-part__ico svg { width: 21px; height: 21px; color: #fff !important; stroke: #fff !important; }
.ctc-part b { display: block; font-size: 14px; font-weight: 800; color: var(--ctc-navy); }
.ctc-part p { margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--ctc-muted); }
.ctc-part .ctc-btn { margin-top: 12px; padding: 9px 16px; font-size: 13px; }

@media (hover: none), (pointer: coarse) {
    .blg-card:hover, .ctc-card:hover, .ctc-social:hover { transform: none; }
}


.ctc-lab > .ctc-in,
.ctc-lab > .ctc-phone {
    display: flex;
    align-items: center;
}
/* ---------------------------------------------------------------------------
 * Form control wrappers must stay flex rows.
 *
 * `.xx-lab > span { display: block }` (used for the field label text) also
 * matches the `.xx-in` wrapper, because that wrapper is a direct span child of
 * the label. Its specificity (0,1,1) beat `.xx-in` (0,1,0), so the wrapper
 * collapsed to a block and the icon was pushed onto its own line above the
 * input. Re-declaring the wrapper as `.xx-lab > .xx-in` (0,2,0) wins and puts
 * the icon, the control and the optional trailing button on one line again.
 * --------------------------------------------------------------------------- */