/* ==========================================================================
   Complyexa — components used by inner-page markup
   ========================================================================== */

/* Shared hero */
.page-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.page-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-hero__orb--a {
    top: -190px;
    right: -110px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(127, 227, 183, 0.3), transparent 70%);
}

.page-hero__orb--b {
    bottom: -220px;
    left: -130px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.16), transparent 70%);
}

.page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 31, 24, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 24, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, #000, transparent 92%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.page-hero__lead {
    max-width: 680px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.page-hero--sm {
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(36px, 4.5vw, 56px);
}

.page-hero--sm h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.eyebrow--dark {
    color: var(--emerald-deep);
}

.section--sm {
    padding-top: clamp(34px, 4vw, 52px);
    padding-bottom: clamp(34px, 4vw, 52px);
}

.pill--soft {
    border-color: rgba(30, 142, 102, 0.2);
    background: var(--emerald-soft);
    color: var(--emerald-deep);
}

/* About — stats, story, team */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-card__value {
    color: var(--forest);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stat-card__label {
    margin-top: 8px;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 800;
}

.stat-card__note {
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 0.7rem;
    line-height: 1.5;
}

.counter {
    font-variant-numeric: tabular-nums;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}

.story-copy .lead {
    max-width: 640px;
}

.story-visual {
    position: relative;
}

.story-card {
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid rgba(127, 227, 183, 0.22);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(127, 227, 183, 0.18), transparent 60%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-lg);
}

.story-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: rgba(127, 227, 183, 0.14);
    color: var(--gold-light);
}

.story-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.story-card p {
    font-size: 0.88rem;
    line-height: 1.75;
}

.story-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--mint);
    font-size: 0.7rem;
    font-weight: 700;
}

.story-card__footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.team-card__avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.team-card__role {
    display: block;
    margin-bottom: 8px;
    color: var(--emerald-deep);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* CTA background decorations */
.cta-band__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-band__orb {
    position: absolute;
    border-radius: 50%;
}

.cta-band__orb--a {
    top: -170px;
    right: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(127, 227, 183, 0.22), transparent 70%);
}

.cta-band__orb--b {
    bottom: -200px;
    left: -110px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(241, 217, 139, 0.14), transparent 70%);
}

/* Services */
.service-card__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex: none;
    border-radius: 14px;
    background: var(--accent-soft, var(--emerald-soft));
    color: var(--accent-ink, var(--emerald-deep));
}

.service-card__num {
    color: var(--muted-2);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.service-card__list {
    position: relative;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.service-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.service-card__list svg {
    margin-top: 3px;
    flex: none;
    color: var(--emerald);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--emerald-deep);
    font-size: 0.76rem;
    font-weight: 800;
}

.service-card__link:hover {
    gap: 11px;
    color: var(--forest);
}

/* Pricing */
.price-card--featured {
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(127, 227, 183, 0.18), transparent 55%),
        var(--forest-deep);
    border-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.price-card--featured:hover {
    transform: translateY(-14px);
}

.price-card--featured h3,
.price-card--featured .price-card__price,
.price-card--featured .price-card__amount {
    color: #fff;
}

.price-card--featured .price-card__head p,
.price-card--featured .price-card__note,
.price-card--featured .price-card__features li {
    color: rgba(255, 255, 255, 0.6);
}

.price-card--featured .price-card__features {
    border-color: rgba(255, 255, 255, 0.1);
}

.price-card--featured .price-card__features li svg {
    color: var(--mint);
}

.price-card__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(241, 217, 139, 0.16);
    color: var(--gold-light);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-card:not(.price-card--featured) .price-card__badge {
    background: var(--emerald-soft);
    color: var(--emerald-deep);
}

.price-card__head {
    min-height: 78px;
}

.price-card__head h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.price-card__head p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.price-card__amount {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-card__note {
    color: var(--muted-2);
    font-size: 0.72rem;
    font-weight: 700;
}

/* FAQ tools */
.faq-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.faq-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    flex: 1;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted-2);
}

.faq-search:focus-within {
    border-color: rgba(30, 142, 102, 0.4);
    box-shadow: 0 0 0 3px rgba(30, 142, 102, 0.08);
}

.faq-search input {
    width: 100%;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.85rem;
}

.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.faq-filter {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.73rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-filter:hover {
    border-color: rgba(30, 142, 102, 0.3);
    color: var(--emerald-deep);
}

.faq-filter.is-active {
    border-color: var(--forest);
    background: var(--forest);
    color: #fff;
}

/* Blog */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.blog-filter {
    padding: 9px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.blog-filter:hover {
    border-color: rgba(30, 142, 102, 0.3);
    color: var(--emerald-deep);
}

.blog-filter.is-active {
    border-color: var(--forest);
    background: var(--forest);
    color: #fff;
}

.blog-feature__image {
    display: grid;
    place-items: center;
    min-height: 330px;
    color: var(--accent-ink, var(--emerald-deep));
    background:
        radial-gradient(100% 100% at 50% 0%, var(--accent-soft, #e3f4ec), transparent 70%),
        var(--cream-2);
}

.blog-card__image--emerald { --accent: #1e8e66; --accent-soft: #e3f4ec; --accent-ink: #0e5b40; }
.blog-card__image--amber { --accent: #b98316; --accent-soft: #f9efd6; --accent-ink: #75520a; }
.blog-card__image--violet { --accent: #7557b8; --accent-soft: #eee9fb; --accent-ink: #4d3585; }
.blog-card__image--blue { --accent: #2f6f9e; --accent-soft: #e6f1f9; --accent-ink: #1c4c6f; }
.blog-card__image--teal { --accent: #18858d; --accent-soft: #e0f5f5; --accent-ink: #0e5b61; }
.blog-card__image--rose { --accent: #b34c72; --accent-soft: #fbe9f0; --accent-ink: #7d2e4c; }
.blog-card__image--orange { --accent: #bd642e; --accent-soft: #fbeadf; --accent-ink: #83421a; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card__image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 170px;
    background:
        radial-gradient(100% 100% at 50% 0%, var(--accent-soft, #e3f4ec), transparent 72%),
        var(--cream-2);
    color: var(--accent-ink, var(--emerald-deep));
}

.blog-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink-2);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-card__visual {
    display: grid;
    place-items: center;
    opacity: 0.55;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted-2);
    font-size: 0.68rem;
    font-weight: 700;
}

.blog-card__body h3 {
    margin: 10px 0 8px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.blog-card__body h3 a:hover {
    color: var(--emerald-deep);
}

.blog-card__body p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.blog-card__author {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: var(--ink-2);
    font-size: 0.73rem;
    font-weight: 700;
}

/* Article */
.article {
    min-width: 0;
}

.article__body {
    min-width: 0;
}

.article__lead {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.28rem;
    line-height: 1.55;
}

.article-meta__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
}

.article__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article__author-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article__author-card strong {
    display: block;
    font-size: 0.88rem;
}

.article__author-card small {
    color: var(--muted-2);
    font-size: 0.7rem;
}

.prose {
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.85;
}

.prose > p:first-of-type {
    font-size: 1.08rem;
    color: var(--ink);
}

.prose h2 {
    margin: 2.1em 0 0.55em;
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    letter-spacing: -0.02em;
}

.prose h3 {
    margin: 1.6em 0 0.5em;
    font-size: 1.22rem;
}

.prose p {
    margin-bottom: 1.25em;
    color: var(--muted);
}

.prose ul,
.prose ol {
    margin: 0 0 1.35em;
    padding-left: 1.25em;
    color: var(--muted);
}

.prose li {
    margin-bottom: 0.45em;
}

.prose strong {
    color: var(--ink);
}

.prose a {
    color: var(--emerald-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose blockquote {
    margin: 1.8em 0;
    padding: 20px 24px;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: var(--cream-2);
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--ink);
}

.side-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.side-card + .side-card {
    margin-top: 16px;
}

.side-card h3 {
    margin-bottom: 12px;
    font-size: 1.12rem;
}

.side-card--cta {
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(127, 227, 183, 0.18), transparent 60%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.65);
    border-color: transparent;
}

.side-card--cta h3 {
    color: #fff;
}

.side-card--cta p {
    margin-bottom: 18px;
    font-size: 0.8rem;
    line-height: 1.65;
}

.side-card__posts {
    display: flex;
    flex-direction: column;
}

.side-card__posts a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.side-card__posts a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.side-card__posts strong {
    display: block;
    color: var(--ink);
    font-size: 0.8rem;
    line-height: 1.4;
}

.side-card__posts small {
    color: var(--muted-2);
    font-size: 0.68rem;
}

.side-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.side-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.side-card__list svg {
    margin-top: 3px;
    flex: none;
    color: var(--emerald);
}

/* Contact & start case */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 4.5vw, 54px);
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: background 0.2s, border-color 0.2s;
}

.contact-card:hover {
    background: var(--cream-2);
    border-color: rgba(30, 142, 102, 0.3);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 11px;
    background: var(--emerald-soft);
    color: var(--emerald-deep);
}

.contact-card strong,
.contact-card span,
.contact-card small {
    display: block;
}

.contact-card strong {
    color: var(--muted-2);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card span {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    word-break: break-word;
}

.contact-card small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
}

.contact-card:hover span {
    color: var(--emerald-deep);
}

.contact-office,
.contact-promise {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-office h3,
.contact-promise strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-office h3 svg,
.contact-promise strong svg {
    flex: none;
    color: var(--emerald);
}

.contact-office p,
.contact-promise p {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.65;
}

.contact-office__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 0.7rem;
}

.contact-office__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-form-wrap {
    min-width: 0;
}

.form-card__head {
    margin-bottom: 22px;
}

.form-card__head h2 {
    margin-bottom: 6px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.form-card__head p {
    color: var(--muted);
    font-size: 0.82rem;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.form-note {
    margin: 0;
    color: var(--muted-2);
    font-size: 0.72rem;
}

.form-note a {
    color: var(--emerald-deep);
    text-decoration: underline;
}

.form-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

/* Shared image captcha */
.captcha-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.captcha-field > span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image {
    width: 160px;
    height: 52px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    background: var(--cream);
}

.captcha-image:hover {
    border-color: rgba(30, 142, 102, 0.45);
}

.captcha-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    outline: none;
}

.captcha-input:focus {
    border-color: rgba(30, 142, 102, 0.45);
    box-shadow: 0 0 0 3px rgba(30, 142, 102, 0.08);
}

.captcha-hint {
    color: var(--muted-2);
    font-size: 0.66rem;
}

.rf-lead-form .captcha-field > span,
.rf-lead-form .captcha-hint {
    color: rgba(255, 255, 255, 0.72);
}

.rf-lead-form .captcha-image {
    border-color: rgba(255, 255, 255, 0.3);
}

.rf-lead-form .captcha-input {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.rf-lead-form .captcha-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
    .captcha-row { flex-wrap: wrap; }
}

/* Track case */
.track-form,
.track-result {
    min-width: 0;
}

.track-card {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.track-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.track-card__head h2 {
    margin: 10px 0 4px;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.track-card__head p {
    margin: 0;
    color: var(--muted-2);
    font-size: 0.74rem;
}

.track-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.track-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.track-step::before {
    content: "";
    position: absolute;
    top: 11px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--line);
}

.track-step:first-child::before {
    display: none;
}

.track-step__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: #fff;
}

.track-step small {
    color: var(--muted-2);
    font-size: 0.65rem;
    line-height: 1.3;
}

.track-step.is-done::before,
.track-step.is-active::before {
    background: var(--emerald);
}

.track-step.is-done .track-step__dot,
.track-step.is-active .track-step__dot {
    border-color: var(--emerald);
    background: var(--emerald);
}

.track-step.is-active .track-step__dot {
    box-shadow: 0 0 0 5px rgba(30, 142, 102, 0.14);
}

.track-step.is-done small,
.track-step.is-active small {
    color: var(--emerald-deep);
    font-weight: 700;
}

.track-updates {
    padding-top: 22px;
}

.track-updates h3 {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.track-update {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 0 0 20px 4px;
}

.track-update__dot {
    position: relative;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 4px rgba(30, 142, 102, 0.12);
}

.track-update:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 4px;
    left: 8px;
    width: 1px;
    background: var(--line);
}

.track-update__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.track-update__head time {
    color: var(--muted-2);
    font-size: 0.69rem;
}

.track-update p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.65;
}

.track-empty {
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.5);
}

.muted-note {
    color: var(--muted-2);
    font-size: 0.78rem;
}

/* Home reference grid wrappers */
.rf-why__left,
.rf-why__right {
    min-width: 0;
}

.rf-svc-hero__copy {
    min-width: 0;
}

/* Service page — lead capture */
.rf-lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rf-lead-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rf-lead-field > span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rf-lead-field small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-weight: 500;
}

.rf-lead-captcha {
    padding: 10px 12px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

.rf-lead-captcha > span {
    color: var(--gold-light);
    font-weight: 800;
}

.rf-lead-field input,
.rf-lead-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--rf-font-inter);
    font-size: 13px;
    line-height: 1.4;
    outline: none;
    resize: vertical;
}

.rf-lead-field input::placeholder,
.rf-lead-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.rf-lead-field input:focus,
.rf-lead-field textarea:focus {
    border-color: var(--mint);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(127, 227, 183, 0.15);
}

.rf-svc-cta .rf-pill {
    margin-top: 4px;
    min-height: 48px;
    padding: 11px 20px;
    font-size: 15px;
}

.rf-svc-cta .rf-pill:hover {
    background: #eef4ff;
}

.rf-lead-errors {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.18);
    color: #ffe1d8;
    font-size: 11px;
    line-height: 1.45;
}

.rf-lead-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    line-height: 1.5;
}

.rf-lead-note svg {
    margin-top: 2px;
    flex: none;
}

.rf-lead-success {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
}

.rf-lead-success > svg {
    margin-bottom: 8px;
    color: var(--mint);
}

.rf-lead-success strong {
    display: block;
    color: #fff;
    font-family: var(--rf-font-serif);
    font-size: 1.25rem;
}

.rf-lead-success p {
    margin: 8px 0 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    line-height: 1.6;
}

.rf-lead-success a {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
}

/* Service page — interactive self-check */
.rf-check-section {
    padding: clamp(48px, 6vw, 84px) 0;
    border-top: 1px solid var(--line);
    background: var(--cream);
}

.rf-check-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.rf-check-copy h2 {
    margin: 6px 0 10px;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.rf-check-copy > p {
    max-width: 560px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.rf-check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.rf-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink-2);
    font-family: var(--rf-font-inter);
    font-size: 0.82rem;
    line-height: 1.5;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.rf-check-item:hover {
    border-color: rgba(30, 142, 102, 0.35);
}

.rf-check-item:has(input:checked) {
    border-color: rgba(30, 142, 102, 0.45);
    background: var(--emerald-soft);
    box-shadow: 0 10px 24px -18px rgba(30, 142, 102, 0.6);
}

.rf-check-item input {
    margin: 3px 0 0;
    flex: none;
    accent-color: var(--emerald);
}

.rf-check-result {
    position: relative;
    padding: clamp(26px, 3vw, 38px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(127, 227, 183, 0.2), transparent 60%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-lg);
}

.rf-check-result__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.rf-check-result__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(127, 227, 183, 0.14);
    color: var(--gold-light);
}

.rf-check-result h3 {
    max-width: 90%;
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
}

.rf-check-result p {
    margin-bottom: 22px;
    font-size: 0.85rem;
    line-height: 1.7;
}

.rf-check-result .rf-pill {
    background: #fff;
    color: var(--forest);
    width: 100%;
    font-size: 0.9rem;
    min-height: 48px;
    padding: 11px 20px;
}

.rf-check-result .rf-pill:hover {
    background: #eef4ff;
}

.rf-check-result__call {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-align: center;
    text-decoration: underline;
}

/* Service page — sticky mobile CTA */
.rf-mobile-lead {
    display: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .page-hero__lead { font-size: 0.95rem; }
    .story-grid,
    .contact-grid,
    .track-layout { grid-template-columns: 1fr; }
    .contact-info,
    .article-aside,
    .faq-aside { position: static; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .rf-check-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .stats-grid,
    .blog-grid,
    .services-grid { grid-template-columns: 1fr; }
    .blog-feature { grid-template-columns: 1fr; }
    .blog-feature__image { min-height: 220px; }
    .track-progress { grid-template-columns: 1fr; gap: 12px; }
    .track-step { flex-direction: row; justify-content: flex-start; gap: 10px; }
    .track-step::before { display: none; }
    .page-hero__actions .btn { width: 100%; }
    .rf-check-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body.rf-svc-page { padding-bottom: 74px; }

    .rf-mobile-lead {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3000;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -8px 24px rgba(10, 31, 24, 0.1);
        backdrop-filter: blur(10px);
    }

    .rf-mobile-lead a:not(.rf-mobile-lead__main) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        min-width: 54px;
        color: var(--forest);
        font-size: 10px;
        font-weight: 700;
    }

    .rf-mobile-lead__main {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border-radius: 999px;
        background: var(--forest);
        color: #fff;
        font-size: 13px;
        font-weight: 800;
    }
}
