/* ==========================================================================
   Complyexa — inner pages
   ========================================================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 6vw, 78px) 0 clamp(46px, 6vw, 70px);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(60% 100% at 90% 0%, rgba(127, 227, 183, 0.18), transparent 62%),
        radial-gradient(50% 100% at 0% 100%, rgba(201, 162, 39, 0.08), transparent 60%),
        var(--cream);
}

.page-hero::after {
    content: "";
    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%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-hero--center .page-hero__inner {
    margin-inline: auto;
    text-align: center;
}

.page-hero--center .breadcrumbs {
    justify-content: center;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 5vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.038em;
}

.page-hero h1 em {
    color: var(--emerald);
    font-style: normal;
}

.page-hero .lead {
    max-width: 640px;
    margin-bottom: 0;
}

.page-hero--center .lead {
    margin-inline: auto;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 24px;
    color: var(--muted-2);
    font-size: 0.7rem;
    font-weight: 600;
}

.breadcrumbs a {
    color: var(--muted);
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--emerald-deep);
}

.breadcrumbs svg {
    opacity: 0.45;
}

.breadcrumbs [aria-current="page"] {
    color: var(--ink-2);
    font-weight: 700;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.page-hero--center .page-hero__actions {
    justify-content: center;
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 22px;
    color: var(--muted-2);
    font-size: 0.72rem;
    font-weight: 600;
}

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

/* ==========================================================================
   Service detail
   ========================================================================== */

.detail-hero {
    padding: clamp(40px, 5vw, 64px) 0 clamp(50px, 6vw, 76px);
    background:
        radial-gradient(60% 100% at 95% 0%, var(--accent-soft, #e3f4ec), transparent 55%),
        var(--cream);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

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

.detail-hero h1 {
    font-size: clamp(2.5rem, 4.6vw, 3.9rem);
    margin-bottom: 18px;
}

.detail-hero .lead {
    max-width: 590px;
    margin-bottom: 26px;
    color: var(--muted);
}

.detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-hero__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.quick-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(127, 227, 183, 0.16), transparent 55%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-lg);
}

.quick-card h3 {
    margin-bottom: 18px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quick-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.8rem;
}

.quick-card__row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.48);
}

.quick-card__row strong {
    color: #fff;
    text-align: right;
}

.quick-card__foot {
    margin-top: 18px;
}

.quick-card__foot .btn {
    width: 100%;
}

.quick-card__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.65rem;
}

.detail-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(36px, 6vw, 76px);
    align-items: start;
}

.detail-content > h2 {
    margin-top: 0;
}

.prose-block {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.8;
}

.prose-block p {
    margin-bottom: 16px;
}

.prose-block p:last-child {
    margin-bottom: 0;
}

.detail-aside {
    position: sticky;
    top: 118px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.aside-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.aside-card p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.aside-card .btn {
    width: 100%;
}

.aside-card__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--emerald-deep);
    font-size: 0.78rem;
    font-weight: 800;
}

.aside-card--dark {
    border-color: transparent;
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(127, 227, 183, 0.16), transparent 55%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.65);
}

.aside-card--dark h3 {
    color: #fff;
}

.aside-card--dark p {
    color: rgba(255, 255, 255, 0.52);
}

.detail-section {
    margin-bottom: clamp(38px, 5vw, 58px);
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-section__head h2 {
    margin: 0;
    font-size: clamp(1.65rem, 2.7vw, 2.1rem);
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink-2);
    font-size: 0.81rem;
    line-height: 1.5;
}

.check-list li svg {
    margin-top: 2px;
    flex: none;
    color: var(--emerald);
}

.steps-detailed {
    display: grid;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-detailed li {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    margin: 0;
    padding-bottom: 26px;
}

.steps-detailed li:last-child {
    padding-bottom: 0;
}

.steps-detailed li::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(var(--line-strong), var(--line));
}

.steps-detailed li:last-child::before {
    display: none;
}

.steps-detailed__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-family: var(--font-display);
    font-size: 0.98rem;
    color: var(--emerald-deep);
}

.steps-detailed h4 {
    margin: 8px 0 4px;
    font-size: 0.94rem;
}

.steps-detailed p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.doc-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border-radius: 13px;
    background: var(--cream-2);
    color: var(--ink-2);
    font-size: 0.8rem;
    line-height: 1.5;
}

.doc-card svg {
    margin-top: 1px;
    color: var(--emerald);
    flex: none;
}

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

.related-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: transform 0.25s, border-color 0.25s;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 142, 102, 0.3);
}

.related-card__icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex: none;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.related-card strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.81rem;
}

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

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

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

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

.price-card--popular {
    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--popular:hover {
    transform: translateY(-14px);
}

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

.price-card--popular .price-card__desc,
.price-card--popular .price-card__period,
.price-card--popular .price-card__features li {
    color: rgba(255, 255, 255, 0.6);
}

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

.price-card__flag {
    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 h3 {
    margin-bottom: 6px;
    font-size: 1.6rem;
}

.price-card__desc {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.2vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.price-card__period {
    margin-bottom: 22px;
    color: var(--muted-2);
    font-size: 0.7rem;
    font-weight: 700;
}

.price-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 22px 0 0;
    margin: 0 0 24px;
    border-top: 1px solid var(--line);
}

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

.price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.5;
}

.price-card__features li svg {
    margin-top: 2px;
    flex: none;
    color: var(--emerald);
}

.price-card .btn {
    width: 100%;
    margin-top: auto;
}

.pricing-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.5);
}

.pricing-note h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.pricing-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.7;
}

.pricing-note__item {
    display: flex;
    gap: 13px;
}

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

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 26px;
    font-size: 0.84rem;
}

.fee-table th,
.fee-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.fee-table th {
    color: var(--muted-2);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fee-table td:last-child,
.fee-table th:last-child {
    text-align: right;
}

.fee-table tr:last-child td {
    border-bottom: 0;
}

.fee-table td:first-child {
    font-weight: 700;
}

.fee-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 4px 10px;
}

/* ==========================================================================
   FAQ page tools
   ========================================================================== */

.faq-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
    border-color: var(--line-strong);
    color: var(--ink);
}

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

.search-field {
    position: relative;
    min-width: 240px;
}

.search-field input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.search-field input:focus {
    border-color: var(--emerald);
    background: #fff;
}

.search-field svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-2);
    pointer-events: none;
}

.faq-empty {
    display: none;
    padding: 40px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

/* ==========================================================================
   Blog listing
   ========================================================================== */

.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.blog-feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    margin-bottom: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.blog-feature__cover {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 330px;
    padding: 30px;
    background:
        radial-gradient(90% 100% at 100% 0%, var(--accent-soft, #e3f4ec), transparent 60%),
        linear-gradient(150deg, #0d4032, #071f17);
    color: rgba(255, 255, 255, 0.65);
    overflow: hidden;
}

.blog-feature__cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(90% 90% at 100% 0%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(90% 90% at 100% 0%, #000, transparent 75%);
}

.blog-feature__badge {
    position: relative;
    align-self: flex-start;
    padding: 6px 12px;
    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.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.blog-feature__art {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-feature__art .art-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    backdrop-filter: blur(10px);
    animation: floatY 7s ease-in-out infinite;
}

.blog-feature__art strong {
    display: block;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.blog-feature__art small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
}

.blog-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.blog-feature__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--muted-2);
    font-size: 0.68rem;
    font-weight: 700;
}

.blog-feature h2 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}

.blog-feature p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ==========================================================================
   Article
   ========================================================================== */

.article-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 5vw, 66px) 0 clamp(34px, 4vw, 48px);
    background:
        radial-gradient(60% 100% at 90% 0%, var(--accent-soft, #e3f4ec), transparent 60%),
        var(--cream);
    border-bottom: 1px solid var(--line);
}

.article-hero__inner {
    max-width: 860px;
}

.article-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.05;
}

.article-hero .lead {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    color: var(--muted-2);
    font-size: 0.72rem;
    font-weight: 600;
}

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

.article-meta .pill {
    font-size: 0.66rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(36px, 6vw, 70px);
    align-items: start;
}

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

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

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

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

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

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

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

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

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

.article-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);
}

.article-aside {
    position: sticky;
    top: 118px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.toc {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.6);
}

.toc h3 {
    margin-bottom: 12px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.toc a {
    display: block;
    padding: 5px 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
    transition: color 0.2s, padding-left 0.2s;
}

.toc a:hover {
    color: var(--emerald-deep);
    padding-left: 3px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 0.72rem;
    font-weight: 700;
}

.article-share a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    transition: background 0.2s, color 0.2s;
}

.article-share a:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 38px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(110% 100% at 100% 0%, rgba(127, 227, 183, 0.17), transparent 55%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.62);
}

.article-cta strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
}

.article-cta p {
    margin: 0;
    font-size: 0.8rem;
}

.article-cta .btn {
    flex: none;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-story {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.about-story__media {
    position: relative;
    min-height: 440px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        radial-gradient(90% 100% at 100% 0%, rgba(127, 227, 183, 0.22), transparent 55%),
        var(--forest-deep);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
}

.about-story__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 75%);
}

.about-story__stat {
    position: absolute;
    z-index: 2;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.66rem;
    backdrop-filter: blur(12px);
}

.about-story__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--gold-light);
    line-height: 1.1;
}

.about-story__stat--1 { top: 9%; left: 8%; animation: floatY 7s ease-in-out infinite; }
.about-story__stat--2 { bottom: 10%; right: 7%; animation: floatY 8s ease-in-out -3s infinite; }

.about-story__emblem {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.about-story__emblem img {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    animation: floatY 6s ease-in-out infinite;
}

.about-story__emblem span {
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.about-story__emblem small {
    margin-top: -12px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-story__points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.about-story__point {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.6;
}

.about-story__point svg {
    margin-top: 2px;
    color: var(--emerald);
    flex: none;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: rgba(30, 142, 102, 0.24);
}

.value-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--emerald-soft);
    color: var(--emerald-deep);
}

.value-card h3 {
    margin-bottom: 7px;
    font-size: 1.15rem;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.timeline-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
    margin-inline: auto;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    padding-bottom: 34px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 118px;
    top: 12px;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item__year {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 22px;
    padding-top: 2px;
    color: var(--emerald-deep);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
}

.timeline-item__dot {
    position: absolute;
    left: 112px;
    top: 10px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--cream);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px var(--line-strong);
}

.section--cream .timeline-item__dot {
    border-color: var(--cream-2);
}

.section--cream .timeline-item__year {
    color: var(--ink-2);
}

.timeline-item h3 {
    margin-bottom: 6px;
    padding-left: 0;
    font-size: 1.2rem;
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-card {
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

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

.team-card .avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    font-size: 1.2rem;
}

.team-card:nth-child(2) .avatar { background: linear-gradient(145deg, #d7b23c, #9a7612); color: #241c04; }
.team-card:nth-child(3) .avatar { background: linear-gradient(145deg, #5c8bbd, #2f6f9e); }
.team-card:nth-child(4) .avatar { background: linear-gradient(145deg, #9a80cc, #6e52ab); }

.team-card h3 {
    margin-bottom: 3px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 800;
}

.team-card p {
    margin: 0;
    color: var(--muted-2);
    font-size: 0.72rem;
}

.team-card small {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

/* ==========================================================================
   Testimonials page
   ========================================================================== */

.review-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 60px);
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.65);
}

.review-summary__score {
    display: flex;
    align-items: center;
    gap: 18px;
}

.review-summary__score strong {
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
}

.review-summary__score div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--muted);
    font-size: 0.76rem;
}

.review-summary__bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-2);
    font-size: 0.68rem;
}

.review-bar div {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: rgba(10, 31, 24, 0.08);
    overflow: hidden;
}

.review-bar div span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--gold);
}

.review-summary__count {
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
}

.review-summary__count strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
}

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

.review-grid .review-card {
    flex: none;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
    padding: clamp(24px, 3.5vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ink-2);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.field label .req {
    color: var(--danger);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fbf9f3;
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6e66' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--emerald);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 142, 102, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa69f;
}

.field__hint {
    color: var(--muted-2);
    font-size: 0.68rem;
    line-height: 1.45;
}

.field__error {
    color: var(--danger);
    font-size: 0.68rem;
    font-weight: 700;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: rgba(180, 68, 47, 0.55);
    background: #fdf8f6;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.71rem;
    line-height: 1.55;
}

.form-consent input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex: none;
    accent-color: var(--emerald);
}

.form-consent a {
    color: var(--emerald-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 0.68rem;
    line-height: 1.5;
}

.form-errors {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid rgba(180, 68, 47, 0.25);
    border-radius: 12px;
    background: #fdf3f0;
    color: #8f3624;
    font-size: 0.79rem;
}

.form-errors ul {
    margin: 4px 0 0;
    padding-left: 16px;
}

.form-errors li {
    margin-bottom: 2px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid rgba(30, 142, 102, 0.24);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.form-success__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--emerald-soft);
    color: var(--emerald-deep);
}

.form-success h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.form-success p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.code-box {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px dashed rgba(12, 59, 46, 0.25);
    border-radius: 12px;
    background: var(--cream);
}

.code-box span {
    flex: 1;
    color: var(--muted-2);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.code-box strong {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--forest);
}

.code-box button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.code-box button:hover {
    background: var(--forest);
    color: #fff;
}

/* Contact */

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 4.5vw, 54px);
    align-items: start;
}

.contact-panel {
    position: sticky;
    top: 118px;
    padding: clamp(26px, 3.5vw, 36px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(110% 100% at 100% 0%, rgba(127, 227, 183, 0.18), transparent 55%),
        var(--forest-deep);
    color: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-panel::before {
    content: "";
    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: 48px 48px;
    mask-image: radial-gradient(90% 90% at 100% 0%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(90% 90% at 100% 0%, #000, transparent 75%);
    pointer-events: none;
}

.contact-panel > * {
    position: relative;
}

.contact-panel h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.contact-panel > p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.86rem;
    line-height: 1.7;
}

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

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
    transition: background 0.2s, border-color 0.2s;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(127, 227, 183, 0.25);
}

.contact-method__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 10px;
    background: rgba(127, 227, 183, 0.12);
    color: var(--mint);
}

.contact-method div {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.contact-method small {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-method strong {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.contact-method span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.71rem;
}

.contact-panel__address {
    display: flex;
    gap: 9px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.73rem;
    line-height: 1.6;
}

.contact-panel__address svg {
    margin-top: 2px;
    flex: none;
    color: var(--mint);
}

.contact-hours {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
}

.contact-form-head {
    margin-bottom: 24px;
}

.contact-form-head h2 {
    margin-bottom: 6px;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.contact-form-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.contact-map__visual {
    position: relative;
    min-height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 30% 20%, rgba(127, 227, 183, 0.2), transparent 60%),
        linear-gradient(145deg, #e9e4d8, #dcd5c4);
    border: 1px solid var(--line);
}

.contact-map__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(12, 59, 46, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 59, 46, 0.12) 1px, transparent 1px);
    background-size: 34px 34px;
    transform: rotate(-8deg) scale(1.2);
}

.contact-map__pin {
    position: absolute;
    left: 46%;
    top: 40%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold-light);
    box-shadow: 0 0 0 12px rgba(12, 59, 46, 0.12), 0 18px 34px -14px rgba(6, 37, 27, 0.6);
    animation: floatY 5s ease-in-out infinite;
}

.contact-map__label {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font-size: 0.66rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.contact-map__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.6);
}

.contact-map__info h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.contact-map__info p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

/* Start case layout */

.start-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 4.5vw, 54px);
    align-items: start;
}

.start-aside {
    position: sticky;
    top: 118px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intake-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.intake-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.intake-steps li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.intake-steps strong {
    display: block;
    color: var(--ink);
    font-size: 0.83rem;
}

.intake-steps__num {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: none;
    border-radius: 50%;
    background: var(--emerald-soft);
    color: var(--emerald-deep);
    font-family: var(--font-display);
    font-size: 0.8rem;
}

.trust-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.trust-mini span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 700;
}

.trust-mini svg {
    color: var(--emerald);
}

/* Track */

.track-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 4.5vw, 54px);
    align-items: start;
}

.track-form-card {
    padding: clamp(24px, 3.5vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.case-result {
    padding: clamp(24px, 3.5vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.case-result__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.case-result__head h2 {
    margin-bottom: 4px;
    font-size: clamp(1.5rem, 2.8vw, 1.95rem);
}

.case-result__head p {
    margin: 0;
    color: var(--muted-2);
    font-size: 0.73rem;
}

.case-result__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.case-fact small {
    display: block;
    margin-bottom: 3px;
    color: var(--muted-2);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-fact strong {
    font-size: 0.86rem;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 22px;
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding-bottom: 22px;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
}

.timeline__item:last-child::before {
    display: none;
}

.timeline__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--emerald-deep);
    font-size: 0.62rem;
    font-weight: 800;
}

.timeline__item:first-child .timeline__dot {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
}

.timeline__body h4 {
    margin: 5px 0 3px;
    font-size: 0.82rem;
}

.timeline__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.timeline__body small {
    display: block;
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 0.63rem;
}

.track-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 30px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.4);
    text-align: center;
    color: var(--muted);
}

.track-empty__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--emerald-deep);
}

.track-empty h3 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.track-empty p {
    max-width: 330px;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive — pages
   ========================================================================== */

@media (max-width: 1024px) {
    .detail-hero__grid,
    .detail-body,
    .about-story,
    .contact-layout,
    .start-layout,
    .track-layout,
    .blog-feature {
        grid-template-columns: 1fr;
    }

    .quick-card {
        max-width: 560px;
    }

    .detail-aside,
    .contact-panel,
    .start-aside {
        position: static;
    }

    .detail-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .contact-panel {
        max-width: none;
    }

    .start-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-inline: auto;
    }

    .price-card--popular {
        transform: none;
    }

    .price-card--popular:hover {
        transform: translateY(-5px);
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .blog-feature__cover {
        min-height: 250px;
    }
}

@media (max-width: 820px) {
    .detail-aside,
    .start-aside,
    .article-aside {
        grid-template-columns: 1fr;
    }

    .check-list,
    .doc-grid,
    .related {
        grid-template-columns: 1fr;
    }

    .related {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-note {
        grid-template-columns: 1fr;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-hero {
        padding-top: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field--full {
        grid-column: auto;
    }

    .form-card {
        padding: 22px;
    }

    .contact-map {
        grid-template-columns: 1fr;
    }

    .contact-panel__address {
        font-size: 0.7rem;
    }

    .trust-mini {
        grid-template-columns: 1fr;
    }

    .pricing-note {
        padding: 22px;
    }

    .fee-table {
        font-size: 0.78rem;
    }

    .fee-table th,
    .fee-table td {
        padding: 11px 10px;
    }

    .about-story__media {
        min-height: 360px;
    }

    .about-story__stat {
        font-size: 0.6rem;
        padding: 12px 14px;
    }

    .about-story__stat strong {
        font-size: 1.25rem;
    }

    .about-story__emblem img {
        width: 84px;
        height: 84px;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 30px;
    }

    .timeline-item::before {
        left: 7px;
        top: 12px;
    }

    .timeline-item__dot {
        left: 1px;
    }

    .timeline-item__year {
        justify-content: flex-start;
        padding: 0;
        font-size: 1rem;
    }

    .related {
        grid-template-columns: 1fr;
    }

    .blog-feature__body {
        padding: 26px 22px;
    }

    .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field {
        min-width: 0;
    }

    .article-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-hero h1 {
        font-size: clamp(1.95rem, 8vw, 2.6rem);
    }

    .review-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-summary__bars {
        width: 100%;
    }

    .case-result__grid {
        grid-template-columns: 1fr;
    }

    .contact-method strong {
        font-size: 0.8rem;
    }
}
