:root {
    --yntek-navy: #0d1d35;
    --yntek-blue: #2c659b;
    --yntek-accent: #f5a623;
    --yntek-text: #111827;
    --yntek-muted: #4b5563;
    --yntek-light: #f4f6f8;
    --yntek-border: #dfe4ea;
    --yntek-container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--yntek-text);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.yntek-container {
    width: min(calc(100% - 48px), var(--yntek-container));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--yntek-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    min-height: 96px;
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    min-height: 88px;
}

.site-header__menu,
.site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__nav {
    margin-left: auto;
}

.site-header__menu a {
    color: #2f343b;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header__toggle {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--yntek-border);
    border-radius: 6px;
    background: #fff;
    color: var(--yntek-navy);
    cursor: pointer;
}

.site-header__toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.custom-logo {
    display: block;
    width: 180px;
    height: auto;
}

.site-default-logo {
    display: block;
    width: 172px;
    height: auto;
}

.site-logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.language-switcher-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #26303b;
    font-size: 14px;
    font-weight: 700;
}

.language-switcher-placeholder span,
.language-switcher-placeholder a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
}

.language-switcher-placeholder .is-active {
    color: #fff;
    background: var(--yntek-navy);
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--yntek-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.front-hero,
.archive-hero,
.page-entry__header,
.service-entry__header,
.work-entry__header {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: var(--yntek-light);
}

.front-hero--with-image {
    min-height: 620px;
    display: grid;
    align-items: center;
    color: #fff;
    background: var(--yntek-navy);
}

.front-hero--with-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(13, 29, 53, 0.92) 0%, rgba(13, 29, 53, 0.74) 34%, rgba(13, 29, 53, 0.2) 100%),
        linear-gradient(180deg, rgba(13, 29, 53, 0.1) 0%, rgba(13, 29, 53, 0.88) 100%);
}

.front-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-hero__inner {
    position: relative;
    z-index: 1;
}

.front-hero h1,
.archive-hero h1,
.page-entry__header h1,
.service-entry__header h1,
.work-entry__header h1 {
    max-width: 820px;
    margin: 0;
    color: var(--yntek-navy);
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.05;
}

.front-hero--with-image h1 {
    color: #fff;
}

.front-hero__actions,
.yntek-cta__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.front-hero__actions {
    margin-top: 30px;
}

.section-eyebrow {
    margin: 0 0 18px;
    color: var(--yntek-accent);
    font-weight: 700;
    text-transform: uppercase;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    color: var(--yntek-navy);
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.08;
}

.section-summary {
    max-width: 720px;
    color: var(--yntek-muted);
    font-size: 20px;
}

.front-hero--with-image .section-summary {
    color: rgba(255, 255, 255, 0.82);
}

.yntek-section,
.page-content,
.page-entry__content,
.service-entry__content,
.work-entry__content {
    padding: 72px 0;
}

.yntek-section--light {
    background: var(--yntek-light);
}

.yntek-standard-page__body {
    padding-top: 48px;
}

.yntek-standard-page__content {
    max-width: 860px;
    color: var(--yntek-text);
    font-size: 18px;
}

.yntek-standard-page__content > *:first-child {
    margin-top: 0;
}

.yntek-standard-page__content > *:last-child {
    margin-bottom: 0;
}

.yntek-standard-page__content h2,
.yntek-standard-page__content h3,
.yntek-standard-page__content h4 {
    margin: 42px 0 16px;
    color: var(--yntek-navy);
    line-height: 1.15;
}

.yntek-standard-page__content h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.yntek-standard-page__content h3 {
    font-size: clamp(24px, 3vw, 32px);
}

.yntek-standard-page__content p,
.yntek-standard-page__content ul,
.yntek-standard-page__content ol,
.yntek-standard-page__content figure,
.yntek-standard-page__content table,
.yntek-standard-page__content .wp-block-buttons {
    margin: 0 0 24px;
}

.yntek-standard-page__content ul,
.yntek-standard-page__content ol {
    padding-left: 24px;
}

.yntek-standard-page__content li + li {
    margin-top: 8px;
}

.yntek-standard-page__content img {
    border-radius: 8px;
}

.yntek-standard-page__content figcaption {
    margin-top: 10px;
    color: var(--yntek-muted);
    font-size: 14px;
}

.yntek-standard-page__content table {
    width: 100%;
    border-collapse: collapse;
}

.yntek-standard-page__content th,
.yntek-standard-page__content td {
    padding: 14px 16px;
    border: 1px solid var(--yntek-border);
    text-align: left;
    vertical-align: top;
}

.yntek-standard-page__content th {
    color: var(--yntek-navy);
    background: var(--yntek-light);
}

.yntek-standard-page__content .wp-block-button__link {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 6px;
    background: var(--yntek-blue);
    color: #fff;
    font-weight: 700;
}

.yntek-standard-page__content .is-style-outline .wp-block-button__link {
    border-color: var(--yntek-blue);
    color: var(--yntek-blue);
    background: transparent;
}

.yntek-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid var(--yntek-blue);
    border-radius: 6px;
    background: var(--yntek-blue);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.yntek-button--secondary {
    border-color: currentColor;
    background: transparent;
    color: inherit;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.content-card {
    padding: 24px;
    border: 1px solid var(--yntek-border);
    background: #fff;
}

.content-card__media,
.content-card__icon {
    display: block;
    margin-bottom: 18px;
}

.content-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.content-card__icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.content-card__eyebrow,
.card-index {
    margin: 0 0 10px;
    color: var(--yntek-blue);
    font-weight: 700;
    text-transform: uppercase;
}

.content-card h2 {
    margin: 0 0 12px;
    color: var(--yntek-navy);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
}

.numbered-grid,
.faq-list {
    display: grid;
    gap: 18px;
}

.numbered-card {
    padding: 24px;
    border: 1px solid var(--yntek-border);
    background: #fff;
}

.numbered-card span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--yntek-blue);
    font-weight: 700;
}

.plain-list {
    margin: 0;
    padding-left: 20px;
}

.narrow-content {
    max-width: 820px;
}

.service-entry__hero,
.work-entry__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 48px;
    align-items: center;
}

.service-entry__image,
.work-entry__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.yntek-cta {
    color: #fff;
    background: var(--yntek-navy);
}

.yntek-cta h2 {
    color: #fff;
}

.yntek-cta .section-summary {
    color: rgba(255, 255, 255, 0.78);
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 80px;
    align-items: start;
}

.contact-page__form {
    padding: 28px;
    border: 1px solid var(--yntek-border);
    background: var(--yntek-light);
}

.contact-page__details {
    margin-top: 28px;
}

.site-footer {
    padding: 64px 0;
    color: #fff;
    background: var(--yntek-navy);
}

.site-footer__contacts {
    display: grid;
    gap: 8px;
    font-style: normal;
}

.site-footer__cta {
    color: var(--yntek-accent);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-header__inner,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header__nav {
        margin-left: 0;
    }

    .site-header__actions {
        flex-wrap: wrap;
    }

    .contact-page__grid,
    .split-section,
    .service-entry__hero,
    .work-entry__hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .yntek-container {
        width: min(calc(100% - 28px), var(--yntek-container));
    }

    .site-header__inner {
        min-height: 84px;
    }

    .site-header__menu {
        gap: 16px;
    }

    .site-default-logo,
    .custom-logo {
        width: 142px;
    }

    .front-hero,
    .archive-hero,
    .page-entry__header,
    .service-entry__header,
    .work-entry__header {
        padding: 72px 0;
    }
}

/* Visual alignment with the original YNTEK site. */
.site-header .yntek-container {
    max-width: none;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.site-header__inner {
    min-height: 92px;
}

.site-header__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-default-logo,
.custom-logo {
    width: 176px;
}

.site-header__nav {
    margin-left: auto;
}

.site-header__menu {
    align-items: center;
    gap: 30px;
}

.site-header__menu a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #353a42;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 2px;
}

.site-header__menu .current-menu-item > a,
.site-header__menu .current_page_item > a {
    border-color: var(--yntek-accent);
    padding: 0 16px;
}

.site-header__actions {
    flex: 0 0 auto;
}

.site-header__cta {
    min-width: 206px;
    white-space: nowrap;
}

.language-switcher-placeholder span,
.language-switcher-placeholder a {
    min-width: 48px;
    min-height: 48px;
    border: 1px solid transparent;
}

.front-hero {
    padding: 0;
}

.front-hero--with-image {
    min-height: 830px;
}

.front-hero .yntek-container {
    max-width: 1180px;
}

.front-hero .section-heading {
    max-width: 780px;
}

.front-hero h1 {
    font-size: clamp(52px, 5.2vw, 80px);
    line-height: 1.08;
}

.front-hero .section-eyebrow {
    margin-bottom: 28px;
}

.front-hero .section-summary {
    max-width: 760px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.55;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    line-height: 1.2;
}

.section-eyebrow::before {
    display: inline-block;
    width: 42px;
    height: 1px;
    background: var(--yntek-accent);
    content: "";
}

.front-hero .section-eyebrow::before {
    display: none;
}

.yntek-section {
    padding: 96px 0;
}

.yntek-section--light {
    background: #f4f6f8;
}

.section-heading h2 {
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: 1.08;
}

.section-summary {
    font-size: 20px;
    line-height: 1.6;
}

.card-grid {
    gap: 24px;
}

.card-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    padding: 0;
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.content-card:hover {
    border-color: rgba(44, 101, 155, 0.65);
    box-shadow: 0 12px 30px rgba(11, 29, 58, 0.08);
}

.content-card__link {
    display: block;
    min-height: 100%;
    padding: 32px;
}

.content-card--service .content-card__link {
    min-height: 220px;
}

.content-card__head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.content-card__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 1px;
    overflow: hidden;
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
}

.content-card:hover .content-card__icon {
    border-color: var(--yntek-accent);
}

.content-card__icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.content-card__title {
    display: block;
    color: var(--yntek-navy);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.content-card--work .content-card__title {
    margin-top: 16px;
    font-size: 28px;
}

.content-card__summary {
    display: block;
    margin-top: 26px;
    color: var(--yntek-muted);
    font-size: 18px;
    line-height: 1.75;
}

.content-card__eyebrow {
    display: block;
    color: var(--yntek-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.front-why .split-section {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
}

.front-why .section-heading {
    position: sticky;
    top: 112px;
}

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

.numbered-card,
.process-card {
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 32px;
}

.numbered-card__top,
.process-card__top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.numbered-card__top span {
    color: var(--yntek-blue);
    font-size: 16px;
    font-weight: 700;
}

.numbered-card__top i,
.process-card__top i {
    flex: 1;
    height: 1px;
    background: var(--yntek-border);
}

.numbered-card p,
.process-card p {
    margin-top: 28px;
    color: var(--yntek-muted);
    font-size: 18px;
    line-height: 1.75;
}

.front-process .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card__top span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--yntek-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.process-card__top i {
    background: var(--yntek-accent);
}

.process-card h3 {
    margin: 28px 0 0;
    color: var(--yntek-navy);
    font-size: 24px;
    line-height: 1.2;
}

.front-works .split-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.front-works .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.front-works__button {
    margin-top: 20px;
}

.site-footer {
    padding: 86px 0 0;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(210px, 0.9fr) minmax(160px, 0.7fr) minmax(210px, 0.9fr) minmax(170px, 0.7fr);
    gap: 50px;
    align-items: start;
}

.site-footer__logo-link {
    display: inline-flex;
    width: fit-content;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
}

.site-footer__logo-link .site-default-logo,
.site-footer__logo-link .custom-logo {
    width: 150px;
}

.site-footer__brand p,
.site-footer__contacts span,
.site-footer__contacts a,
.site-footer__menu a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.65;
}

.site-footer__brand p {
    margin-top: 26px;
    max-width: 300px;
}

.site-footer__column h2 {
    margin: 0 0 24px;
    color: var(--yntek-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.site-footer__menu {
    display: grid;
    gap: 18px;
}

.site-footer__contacts {
    gap: 20px;
    font-style: normal;
}

.site-footer__languages .language-switcher-placeholder {
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__languages .language-switcher-placeholder span,
.site-footer__languages .language-switcher-placeholder a {
    min-width: 58px;
    min-height: 58px;
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__languages .language-switcher-placeholder .is-active {
    border-color: var(--yntek-accent);
    background: transparent;
    color: #fff;
}

.site-footer__bottom {
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__cta {
    color: var(--yntek-accent);
    font-weight: 700;
}

@media (max-width: 1180px) {
    .site-header .yntek-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-header__inner {
        flex-wrap: wrap;
        gap: 18px 28px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-header__nav {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .site-header__menu {
        justify-content: center;
    }

    .card-grid--services,
    .front-process .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .front-why .split-section,
    .front-works .split-section {
        grid-template-columns: 1fr;
    }

    .front-why .section-heading {
        position: static;
    }
}

@media (max-width: 640px) {
    .site-header .yntek-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-header__actions {
        width: 100%;
    }

    .site-header__cta {
        flex: 1;
        min-width: 0;
    }

    .site-header__menu {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .front-hero--with-image {
        min-height: 680px;
    }

    .front-hero h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .card-grid--services,
    .front-process .card-grid,
    .front-works .card-grid,
    .numbered-grid {
        grid-template-columns: 1fr;
    }

    .content-card__link,
    .numbered-card,
    .process-card {
        padding: 24px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }
}

/* Full-page parity pass: missing original sections and tighter desktop rhythm. */
.front-benefits .split-section,
.front-contact .split-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-card {
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 22px 28px;
}

.benefit-card p {
    margin: 0;
    color: var(--yntek-muted);
    font-size: 17px;
    line-height: 1.65;
}

.front-resources .section-heading {
    max-width: 880px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.resource-card {
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 24px 28px;
}

.resource-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--yntek-blue);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-card p {
    margin: 0;
    color: var(--yntek-muted);
    font-size: 17px;
    line-height: 1.65;
}

.front-contact {
    background: #fff;
}

.contact-preview-form {
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #f4f6f8;
    padding: 28px;
}

.contact-preview-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-preview-form__row span,
.contact-preview-form__message {
    display: block;
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    color: var(--yntek-muted);
    font-size: 15px;
    line-height: 1.4;
    padding: 14px 16px;
}

.contact-preview-form__message {
    min-height: 118px;
    margin-top: 14px;
}

.contact-preview-form__button {
    margin-top: 20px;
}

.front-cta,
.yntek-cta {
    min-height: 330px;
}

.yntek-cta__inner {
    justify-content: space-between;
}

.yntek-cta .section-heading {
    max-width: 680px;
    margin-bottom: 0;
}

.yntek-cta .section-heading h2 {
    font-size: clamp(38px, 4vw, 56px);
}

.front-services,
.front-process,
.front-resources {
    background: #f4f6f8;
}

@media (min-width: 1181px) {
    .site-header__inner {
        min-height: 76px;
    }

    .site-default-logo,
    .custom-logo {
        width: 142px;
    }

    .site-header__menu a {
        min-height: 40px;
        font-size: 14px;
    }

    .language-switcher-placeholder span,
    .language-switcher-placeholder a {
        min-width: 42px;
        min-height: 42px;
    }

    .site-header__cta {
        min-height: 42px;
        min-width: 168px;
        font-size: 14px;
    }

    .front-hero--with-image {
        min-height: 690px;
    }

    .front-hero h1 {
        font-size: clamp(56px, 5vw, 76px);
    }

    .section-heading h2 {
        font-size: clamp(40px, 4.4vw, 62px);
    }

    .yntek-section {
        padding: 88px 0;
    }
}

@media (max-width: 900px) {
    .front-benefits .split-section,
    .front-contact .split-section {
        grid-template-columns: 1fr;
    }

    .resource-grid,
    .contact-preview-form__row {
        grid-template-columns: 1fr;
    }
}

/* Visual parity pass: sticky header, compact desktop sections, and original hero accents. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    box-shadow: 0 1px 0 rgba(13, 29, 53, 0.08);
}

.admin-bar .site-header {
    top: 32px;
}

.front-hero .section-heading h1::after {
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 26px;
    background: var(--yntek-accent);
    content: "";
}

.front-hero .yntek-button:not(.yntek-button--secondary) {
    border-color: var(--yntek-accent);
    background: var(--yntek-accent);
    color: var(--yntek-navy);
}

.front-hero .yntek-button:not(.yntek-button--secondary):hover,
.front-hero .yntek-button:not(.yntek-button--secondary):focus {
    border-color: #f8b13d;
    background: #f8b13d;
}

.front-hero .section-summary {
    font-weight: 400;
}

@media (min-width: 1181px) {
    .front-hero--with-image {
        height: clamp(620px, 52vw, 720px);
        min-height: 0;
        max-height: none;
    }

    .admin-bar .front-hero--with-image {
        min-height: 0;
    }

    .front-hero .section-heading {
        max-width: 720px;
    }

    .front-hero h1 {
        font-size: clamp(50px, 4.35vw, 68px);
        line-height: 1.08;
    }

    .front-hero .section-summary {
        max-width: 700px;
        margin-top: 28px;
        font-size: 18px;
        line-height: 1.55;
    }

    .front-hero__actions {
        margin-top: 30px;
    }

    .front-services,
    .front-why,
    .front-process,
    .front-benefits,
    .front-resources,
    .front-works,
    .front-contact {
        display: block;
        min-height: 0;
        padding: 82px 0;
    }

    .front-services {
        padding: 76px 0;
    }

    .front-why,
    .front-benefits,
    .front-works,
    .front-contact {
        padding: 84px 0;
    }

    .front-process,
    .front-resources {
        padding: 78px 0;
    }

    .front-services .yntek-container,
    .front-why .yntek-container,
    .front-process .yntek-container,
    .front-benefits .yntek-container,
    .front-resources .yntek-container,
    .front-works .yntek-container,
    .front-contact .yntek-container {
        width: min(calc(100% - 48px), 1080px);
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: clamp(36px, 3.45vw, 54px);
        line-height: 1.08;
    }

    .section-summary {
        max-width: 710px;
        font-size: 17px;
        line-height: 1.55;
    }

    .section-eyebrow {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .front-services .section-heading {
        margin-bottom: 24px;
    }

    .front-services .section-heading h2 {
        font-size: clamp(34px, 3.2vw, 50px);
    }

    .front-services .section-summary {
        font-size: 16px;
        line-height: 1.5;
    }

    .card-grid {
        gap: 18px;
    }

    .content-card__link {
        padding: 24px 28px;
    }

    .content-card--service .content-card__link {
        min-height: 172px;
    }

    .front-services .card-grid--services {
        gap: 16px;
    }

    .front-services .content-card__link {
        padding: 20px 24px;
    }

    .front-services .content-card--service .content-card__link {
        min-height: 150px;
    }

    .content-card__head {
        gap: 14px;
    }

    .content-card__icon {
        width: 46px;
        height: 46px;
    }

    .content-card__icon img {
        width: 44px;
        height: 44px;
    }

    .content-card__title {
        font-size: 20px;
        line-height: 1.18;
    }

    .content-card__summary {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }

    .front-services .content-card__summary {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.5;
    }

    .front-why .split-section,
    .front-benefits .split-section,
    .front-works .split-section,
    .front-contact .split-section {
        align-items: center;
        gap: 52px;
    }

    .front-why .section-heading {
        position: static;
    }

    .numbered-grid,
    .front-process .card-grid,
    .resource-grid,
    .benefit-list {
        gap: 16px;
    }

    .numbered-card,
    .process-card,
    .benefit-card,
    .resource-card {
        padding: 24px;
    }

    .numbered-card p,
    .process-card p,
    .benefit-card p,
    .resource-card p {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.55;
    }

    .process-card h3,
    .benefit-card h3,
    .resource-card h3 {
        margin-top: 20px;
        font-size: 20px;
        line-height: 1.2;
    }

    .front-cta,
    .yntek-cta {
        min-height: 300px;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Inner pages parity pass: services archive, single works, contacts, language links. */
.archive-hero,
.page-entry__header,
.service-entry__header,
.work-entry__header {
    background: #fff;
    padding: 72px 0 48px;
}

.archive-hero h1,
.page-entry__header h1,
.service-entry__header h1,
.work-entry__header h1 {
    font-size: clamp(44px, 4.8vw, 66px);
}

.post-type-archive-yntek_service .archive-hero,
.post-type-archive-yntek_work .archive-hero,
.page-template-page-resources .archive-hero,
.page-template-page-contact .page-entry__header {
    padding-top: 86px;
    padding-bottom: 52px;
}

.post-type-archive-yntek_service .yntek-section,
.post-type-archive-yntek_work .yntek-section,
.page-template-page-resources .yntek-section {
    padding-top: 44px;
}

.post-type-archive-yntek_service .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.post-type-archive-yntek_service .content-card {
    overflow: hidden;
    border-radius: 8px;
}

.post-type-archive-yntek_service .content-card__link {
    display: flex;
    min-height: 392px;
    flex-direction: column;
    padding: 0 24px 24px;
}

.post-type-archive-yntek_service .content-card__media {
    order: -1;
    margin: 0 -24px 24px;
}

.post-type-archive-yntek_service .content-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-type-archive-yntek_service .content-card__icon {
    display: none;
}

.post-type-archive-yntek_service .content-card__title {
    font-size: 24px;
    line-height: 1.16;
}

.post-type-archive-yntek_service .content-card__summary {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
}

.archive-hero--works {
    padding: 56px 0 24px;
    background: #fff;
}

.archive-hero--works .yntek-container {
    max-width: var(--yntek-container);
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 78px 34px;
}

.archive-hero--works h1 {
    max-width: 640px;
    font-size: clamp(36px, 4.2vw, 56px);
    line-height: 1.06;
}

.archive-hero--works .section-summary {
    max-width: 640px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.55;
}

.archive-work-list--panel {
    padding: 0 0 64px;
    background: #fff;
}

.archive-work-list--panel > .yntek-container {
    max-width: var(--yntek-container);
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #f4f6f8;
    padding: 72px 30px 62px;
}

.archive-work-list--panel .section-heading {
    max-width: 640px;
    margin-bottom: 34px;
}

.archive-work-list--panel .section-heading h2 {
    font-size: clamp(34px, 3.8vw, 50px);
    line-height: 1.08;
}

.archive-work-list--panel .section-summary {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.55;
}

.archive-work-list--panel .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.archive-work-list--panel .content-card {
    border-radius: 6px;
    box-shadow: none;
}

.archive-work-list--panel .content-card__link {
    min-height: 202px;
    padding: 20px;
}

.archive-work-list--panel .content-card__eyebrow {
    font-size: 11px;
    line-height: 1.2;
}

.archive-work-list--panel .content-card__title {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.14;
}

.archive-work-list--panel .content-card__summary {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.52;
}

.work-entry__main {
    background: #fff;
    padding: 74px 0 34px;
}

.work-entry__panel {
    max-width: 820px;
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 70px 56px;
}

.work-entry__back {
    display: inline-block;
    margin-bottom: 50px;
    color: var(--yntek-navy);
    font-weight: 700;
}

.work-entry__hero {
    display: block;
}

.work-entry__hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--yntek-navy);
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 1.08;
}

.work-entry__hero p:not(.section-eyebrow) {
    max-width: 720px;
    color: var(--yntek-muted);
    font-size: 18px;
    line-height: 1.65;
}

.work-entry__body-section {
    padding: 28px 0 58px;
}

.work-documents {
    padding: 70px 0;
}

.work-documents__inner {
    max-width: 820px;
    border-radius: 8px;
    background: #fff;
    padding: 48px;
}

.document-list {
    display: grid;
    gap: 12px;
}

.document-card a,
.document-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid var(--yntek-border);
    border-radius: 6px;
    background: #fff;
    color: var(--yntek-navy);
    font-weight: 700;
}

.document-card b {
    padding: 4px 8px;
    border-radius: 3px;
    background: #e9f1f8;
    color: var(--yntek-blue);
    font-size: 12px;
}

.pdf-preview {
    margin-top: 28px;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.pdf-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.pdf-preview__header h2 {
    margin: 0;
    color: var(--yntek-navy);
    font-size: 24px;
    line-height: 1.2;
}

.pdf-preview__open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 38px;
    border: 1px solid var(--yntek-navy);
    border-radius: 6px;
    color: var(--yntek-navy);
    font-size: 13px;
    font-weight: 700;
}

.pdf-preview__title {
    margin: 0 0 12px;
    color: var(--yntek-muted);
    font-size: 14px;
    line-height: 1.45;
}

.pdf-preview__frame {
    width: min(100%, 620px);
    aspect-ratio: 210 / 297;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--yntek-border);
    border-radius: 4px;
    background: #fff;
}

.pdf-preview__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* About page parity with the original static layout. */
.about-page {
    background: #fff;
}

.about-page__hero {
    padding: 54px 0 38px;
    background: #fff;
}

.about-page__container {
    max-width: 1180px;
}

.about-page__hero h1 {
    margin: 0;
    color: var(--yntek-navy);
    font-size: clamp(44px, 5.4vw, 68px);
    line-height: 0.98;
}

.about-page__title {
    margin: 0;
    color: var(--yntek-navy);
    font-size: clamp(36px, 3.8vw, 48px);
    line-height: 1;
}

.about-page__hero .section-summary,
.about-page__lead {
    max-width: 720px;
    color: var(--yntek-muted);
    font-size: 18px;
    line-height: 1.65;
}

.about-page__section {
    padding: 34px 0;
}

.about-page__section--compact {
    padding: 30px 0;
}

.about-page__two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
    gap: 22px;
}

.about-card {
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    color: var(--yntek-muted);
}

.about-card h2 {
    margin: 0 0 16px;
    color: var(--yntek-navy);
    font-size: 20px;
    line-height: 1.25;
}

.about-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.about-card p + p {
    margin-top: 18px;
}

.about-card--large,
.about-card--facts,
.about-card--list,
.about-card--standards {
    padding: 28px;
}

.about-card--facts ul,
.about-card--list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-card--facts li {
    padding: 12px 0;
    border-bottom: 1px solid var(--yntek-border);
    color: var(--yntek-muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-card--facts li:last-child {
    border-bottom: 0;
}

.about-page__industry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.about-card--small {
    display: flex;
    min-height: 76px;
    align-items: center;
    padding: 22px 28px;
    font-size: 16px;
    line-height: 1.5;
}

.about-card--list li {
    position: relative;
    padding-left: 22px;
    color: var(--yntek-muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-card--list li + li {
    margin-top: 14px;
}

.about-card--list li::before {
    position: absolute;
    top: 0.78em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.about-card--gold li::before {
    background: var(--yntek-accent);
}

.about-card--blue li::before {
    background: var(--yntek-blue);
}

.about-card--standards {
    padding: 28px;
}

.about-card__note {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 6px;
    background: var(--yntek-light);
    color: var(--yntek-muted);
    font-size: 14px;
    line-height: 1.6;
}

.about-page__cta-section {
    padding-bottom: 74px;
}

.about-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    border-radius: 8px;
    background: var(--yntek-navy);
    padding: 48px 42px;
    color: #fff;
}

.about-cta h2 {
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 2.4vw, 30px);
    line-height: 1.25;
}

.about-cta p:not(.section-eyebrow) {
    max-width: 630px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
}

.about-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 6px;
    background: #fff;
    color: var(--yntek-navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.contact-page__form h2 {
    margin-top: 0;
    color: var(--yntek-navy);
}

.page-template-page-contact .page-entry__header {
    padding: 54px 0 26px;
    background: #fff;
}

.page-template-page-contact .page-entry__header .yntek-container {
    width: min(calc(100% - 48px), var(--yntek-container));
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 78px 36px 78px;
}

.page-template-page-contact .page-entry__header h1 {
    font-size: clamp(40px, 5vw, 58px);
}

.page-template-page-contact .contact-page__main {
    padding: 26px 0 96px;
    background: #fff;
}

.page-template-page-contact .contact-page__grid {
    width: min(calc(100% - 48px), var(--yntek-container));
    grid-template-columns: minmax(0, 2fr) 320px;
    gap: 36px;
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #f3f5f7;
    padding: 64px 48px;
}

.contact-page__content {
    display: grid;
    gap: 16px;
    align-content: start;
    order: 2;
}

.contact-page__form {
    order: 1;
}

.contact-page__contact-card {
    border: 1px solid var(--yntek-border);
    border-radius: 6px;
    background: #fff;
    padding: 22px;
}

.contact-page__content h2 {
    margin: 0 0 28px;
    color: var(--yntek-navy);
    font-size: 24px;
    line-height: 1.25;
}

.contact-page__details {
    display: grid;
    gap: 22px;
    margin-top: 0;
    color: var(--yntek-navy);
    font-size: 16px;
    line-height: 1.6;
}

.contact-page__details p {
    margin: 0;
}

.contact-page__details a {
    color: inherit;
    text-decoration: none;
}

.contact-page__form {
    border: 1px solid var(--yntek-border);
    border-radius: 6px;
    background: #fff;
    padding: 28px;
}

.contact-page__process {
    border: 1px solid var(--yntek-border);
    border-radius: 6px;
    background: #fff;
    padding: 22px;
}

.contact-page__process h2 {
    margin: 0 0 14px;
    color: var(--yntek-navy);
    font-size: 22px;
    line-height: 1.12;
}

.contact-page__process p {
    margin: 0;
    color: var(--yntek-muted);
    font-size: 15px;
    line-height: 1.65;
}

.yntek-static-form {
    display: grid;
    gap: 18px;
}

.yntek-static-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.yntek-static-form label {
    display: grid;
    gap: 8px;
    color: var(--yntek-navy);
    font-weight: 700;
}

.yntek-static-form input,
.yntek-static-form select,
.yntek-static-form textarea {
    width: 100%;
    border: 1px solid var(--yntek-border);
    border-radius: 6px;
    background: #fff;
    color: var(--yntek-muted);
    font: inherit;
    font-weight: 700;
    padding: 14px 16px;
}

.yntek-static-form textarea {
    min-height: 140px;
    resize: vertical;
}

.yntek-static-form__submit {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--yntek-blue);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 900px) {
    .page-template-page-contact .contact-page__grid {
        grid-template-columns: 1fr;
    }

    .contact-page__content,
    .contact-page__form {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .post-type-archive-yntek_service .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .about-page__hero {
        padding: 54px 0 22px;
    }

    .about-page__two-columns,
    .about-page__industry-grid,
    .about-cta {
        grid-template-columns: 1fr;
    }

    .about-cta {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .post-type-archive-yntek_service .card-grid,
    .yntek-static-form__grid {
        grid-template-columns: 1fr;
    }

    .work-entry__panel,
    .work-documents__inner {
        padding: 28px;
    }

    .about-card--large,
    .about-card--facts,
    .about-card--list,
    .about-card--standards,
    .about-cta {
        padding: 26px;
    }
}

/* Mobile parity: compact header, dropdown navigation, and tighter section rhythm. */
@media (max-width: 760px) {
    .site-header .yntek-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 8px 10px;
        min-height: 0;
        padding: 8px 0;
    }

    .site-header__brand {
        grid-column: 1;
    }

    .site-default-logo,
    .custom-logo {
        width: 82px;
    }

    .site-header__toggle {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        order: 0;
    }

    .site-header__nav {
        display: none;
        grid-column: 1 / -1;
        margin: 2px 0 0;
        padding: 8px 0 2px;
        border-top: 1px solid var(--yntek-border);
        order: 4;
        width: 100%;
    }

    .site-header__nav.is-open {
        display: block;
    }

    .site-header__menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        overflow: visible;
        padding: 0;
    }

    .site-header__menu a {
        width: 100%;
        min-height: 34px;
        border-radius: 6px;
        font-size: 13px;
        line-height: 1.2;
        padding: 0 10px;
    }

    .site-header__menu .current-menu-item > a,
    .site-header__menu .current_page_item > a {
        padding: 0 10px;
    }

    .site-header__actions {
        grid-column: 1 / -1;
        order: 3;
        width: 100%;
        gap: 8px;
    }

    .language-switcher-placeholder {
        gap: 4px;
        font-size: 11px;
    }

    .language-switcher-placeholder span,
    .language-switcher-placeholder a {
        min-width: 30px;
        min-height: 30px;
        border-radius: 5px;
    }

    .site-header__cta {
        flex: 1;
        min-width: 0;
        min-height: 32px;
        padding: 8px 10px;
        border-radius: 5px;
        font-size: 11px;
        line-height: 1.15;
    }

    .front-hero--with-image {
        min-height: 420px;
        height: auto;
        align-items: end;
        padding: 46px 0 30px;
    }

    .front-hero .yntek-container,
    .front-services .yntek-container,
    .front-why .yntek-container,
    .front-process .yntek-container,
    .front-benefits .yntek-container,
    .front-resources .yntek-container,
    .front-works .yntek-container,
    .front-contact .yntek-container {
        width: min(calc(100% - 28px), var(--yntek-container));
    }

    .front-hero .section-heading {
        max-width: 300px;
        margin-bottom: 0;
    }

    .front-hero .section-eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
        line-height: 1.2;
    }

    .front-hero h1 {
        font-size: clamp(26px, 9.2vw, 34px);
        line-height: 1.05;
    }

    .front-hero .section-heading h1::after {
        width: 42px;
        height: 2px;
        margin-top: 14px;
    }

    .front-hero .section-summary {
        max-width: 300px;
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.45;
    }

    .front-hero__actions {
        gap: 8px;
        margin-top: 16px;
    }

    .yntek-button {
        min-height: 32px;
        padding: 8px 12px;
        border-radius: 5px;
        font-size: 11px;
        line-height: 1.15;
    }

    .yntek-section,
    .front-services,
    .front-why,
    .front-process,
    .front-benefits,
    .front-resources,
    .front-works,
    .front-contact {
        min-height: 0;
        padding: 42px 0;
    }

    .front-services {
        padding-top: 46px;
    }

    .section-eyebrow {
        gap: 10px;
        margin-bottom: 10px;
        font-size: 10px;
        line-height: 1.2;
    }

    .section-eyebrow::before {
        width: 34px;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .section-heading h2,
    .front-services .section-heading h2 {
        font-size: clamp(24px, 8vw, 30px);
        line-height: 1.08;
    }

    .section-summary,
    .front-services .section-summary {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.45;
    }

    .card-grid,
    .card-grid--services,
    .front-process .card-grid,
    .front-works .card-grid,
    .numbered-grid,
    .resource-grid,
    .benefit-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .content-card__link,
    .front-services .content-card__link,
    .numbered-card,
    .process-card,
    .benefit-card,
    .resource-card {
        padding: 14px;
    }

    .content-card--service .content-card__link,
    .front-services .content-card--service .content-card__link {
        min-height: 0;
    }

    .content-card__head {
        gap: 10px;
    }

    .content-card__icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .content-card__icon img {
        width: 30px;
        height: 30px;
    }

    .content-card__title,
    .front-services .content-card__title {
        font-size: 15px;
        line-height: 1.18;
    }

    .content-card__summary,
    .front-services .content-card__summary,
    .numbered-card p,
    .process-card p,
    .benefit-card p,
    .resource-card p {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.45;
    }

    .numbered-card__top span,
    .process-card__top span {
        font-size: 12px;
    }

    .process-card__top span {
        width: 28px;
        height: 28px;
        border-radius: 5px;
    }

    .process-card h3,
    .benefit-card h3,
    .resource-card h3 {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.2;
    }

    .split-section,
    .front-why .split-section,
    .front-benefits .split-section,
    .front-works .split-section,
    .front-contact .split-section {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .front-cta,
    .yntek-cta {
        min-height: 0;
        padding: 42px 0;
    }

    .yntek-cta .section-heading h2 {
        font-size: clamp(24px, 8vw, 30px);
    }

    .contact-preview-form {
        padding: 14px;
    }

    .contact-preview-form__row span,
    .contact-preview-form__message {
        padding: 10px 12px;
        font-size: 12px;
    }

    .post-type-archive-yntek_service .archive-hero,
    .post-type-archive-yntek_work .archive-hero,
    .page-template-page-resources .archive-hero,
    .page-template-page-contact .page-entry__header,
    .archive-hero,
    .page-entry__header,
    .service-entry__header,
    .work-entry__header {
        padding: 44px 0 28px;
    }

    .archive-hero h1,
    .page-entry__header h1,
    .service-entry__header h1,
    .work-entry__header h1 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.06;
    }

    .post-type-archive-yntek_service .yntek-section,
    .post-type-archive-yntek_work .yntek-section,
    .page-template-page-resources .yntek-section {
        padding-top: 24px;
    }

    .post-type-archive-yntek_service .content-card__link {
        min-height: 0;
        padding: 0 14px 16px;
    }

    .post-type-archive-yntek_service .content-card__media {
        margin: 0 -14px 14px;
    }

    .post-type-archive-yntek_service .content-card__title {
        font-size: 20px;
    }

    .post-type-archive-yntek_service .content-card__summary {
        font-size: 13px;
    }

    .site-footer {
        padding-top: 34px;
    }

    .site-footer__inner {
        gap: 24px;
    }

    .site-footer__logo-link .site-default-logo,
    .site-footer__logo-link .custom-logo {
        width: 92px;
    }

    .site-footer__brand p,
    .site-footer__contacts span,
    .site-footer__contacts a,
    .site-footer__menu a {
        font-size: 12px;
        line-height: 1.5;
    }

    .site-footer__brand p {
        margin-top: 14px;
    }

    .site-footer__column h2 {
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.2;
    }

    .site-footer__menu,
    .site-footer__contacts {
        gap: 8px;
    }

    .site-footer__languages .language-switcher-placeholder span,
    .site-footer__languages .language-switcher-placeholder a {
        min-width: 36px;
        min-height: 36px;
    }

    .site-footer__bottom {
        margin-top: 26px;
    }

    .site-footer__bottom-inner {
        min-height: 58px;
        font-size: 11px;
    }
}

/* Service single pages: match the legacy static layout. */
.single-yntek_service .site-main {
    background: #fff;
}

.service-entry--native {
    background: #fff;
}

.service-entry--native .service-entry__header {
    padding: 62px 0 22px;
    background: #fff;
}

.service-entry__shell {
    width: min(calc(100% - 48px), var(--yntek-container));
}

.service-entry__intro-panel,
.service-entry__text-panel,
.service-entry__faq-panel {
    border: 1px solid var(--yntek-border);
    border-radius: 8px;
    background: #fff;
    padding: 56px;
}

.service-entry__intro-panel h1 {
    max-width: 720px;
    margin: 0;
    color: var(--yntek-navy);
    font-size: clamp(42px, 4.7vw, 62px);
    line-height: 1.06;
}

.service-entry__lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
}

.service-entry__image-wrap {
    position: relative;
    overflow: hidden;
    margin: 28px 0 0;
    border-radius: 4px;
    background: var(--yntek-navy);
}

.service-entry__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service-entry__image-cta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0;
    padding: 28px 30px;
    color: #fff;
    background: linear-gradient(180deg, rgba(13, 29, 53, 0) 0%, rgba(13, 29, 53, 0.94) 42%, rgba(13, 29, 53, 0.98) 100%);
}

.service-entry__image-cta span {
    display: grid;
    gap: 8px;
    max-width: 470px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
}

.service-entry__image-cta strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.service-entry__image-button,
.service-entry__cta-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 18px;
    border-color: var(--yntek-blue);
    background: var(--yntek-blue);
    color: #fff;
    font-size: 13px;
}

.service-entry__section {
    padding: 24px 0;
    background: #fff;
}

.service-entry__section--light {
    margin-top: 0;
    padding: 34px 0;
    background: var(--yntek-light);
}

.service-entry__text-panel h2,
.service-entry__faq-panel h2 {
    max-width: 700px;
    margin: 0 0 24px;
    color: var(--yntek-navy);
    font-size: clamp(32px, 3.7vw, 48px);
    line-height: 1.08;
}

.service-entry__text-panel p:not(.section-eyebrow),
.service-entry__faq-card p {
    max-width: 720px;
    margin: 0 0 18px;
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

.service-entry__text-panel p:last-child,
.service-entry__faq-card p:last-child {
    margin-bottom: 0;
}

.service-entry__info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-entry__info-card {
    min-height: 220px;
    border-radius: 4px;
    background: #fff;
    padding: 28px;
}

.service-entry__info-card h2 {
    margin: 0 0 18px;
    color: var(--yntek-navy);
    font-size: 18px;
    line-height: 1.24;
}

.service-entry__info-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-entry__info-card li {
    position: relative;
    padding-left: 18px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.service-entry__info-card li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--yntek-accent);
    content: "";
}

.service-entry__text-panel--compact {
    padding-bottom: 44px;
}

.service-entry__process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.service-entry__process-card {
    min-height: 150px;
    border: 1px solid var(--yntek-border);
    border-radius: 4px;
    background: #fff;
    padding: 22px;
}

.service-entry__process-card span {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--yntek-blue);
    font-size: 13px;
    font-weight: 700;
}

.service-entry__process-card p {
    margin: 0;
    color: #374151;
    font-size: 13px;
    line-height: 1.55;
}

.service-entry__faq-list {
    display: grid;
    gap: 12px;
}

.service-entry__faq-card {
    border: 1px solid var(--yntek-border);
    border-radius: 4px;
    background: #fff;
    padding: 22px 24px;
}

.service-entry__faq-card h3 {
    margin: 0 0 8px;
    color: var(--yntek-navy);
    font-size: 16px;
    line-height: 1.35;
}

.service-entry__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    border-radius: 4px;
    background: var(--yntek-navy);
    color: #fff;
    padding: 48px 56px;
}

.service-entry__cta h2 {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.08;
}

.service-entry__cta p:not(.section-eyebrow) {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
}

.service-entry__content {
    width: min(calc(100% - 48px), var(--yntek-container));
    padding: 12px 0 48px;
}

@media (max-width: 900px) {
    .service-entry__shell,
    .service-entry__content {
        width: min(calc(100% - 36px), var(--yntek-container));
    }

    .service-entry__intro-panel,
    .service-entry__text-panel,
    .service-entry__faq-panel {
        padding: 38px 28px;
    }

    .service-entry__process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-entry__cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-entry--native .service-entry__header {
        padding: 24px 0 12px;
    }

    .service-entry__shell,
    .service-entry__content {
        width: min(calc(100% - 28px), var(--yntek-container));
    }

    .service-entry__intro-panel,
    .service-entry__text-panel,
    .service-entry__faq-panel {
        padding: 26px 18px;
    }

    .service-entry__intro-panel h1 {
        font-size: clamp(32px, 10vw, 40px);
    }

    .service-entry__lead {
        font-size: 13px;
        line-height: 1.55;
    }

    .service-entry__image {
        aspect-ratio: 4 / 3;
    }

    .service-entry__image-cta {
        position: static;
        display: grid;
        gap: 16px;
        padding: 18px;
        background: var(--yntek-navy);
    }

    .service-entry__image-button,
    .service-entry__cta-button {
        width: 100%;
    }

    .service-entry__section,
    .service-entry__section--light {
        padding: 18px 0;
    }

    .service-entry__text-panel h2,
    .service-entry__faq-panel h2,
    .service-entry__cta h2 {
        font-size: clamp(26px, 8.5vw, 34px);
    }

    .service-entry__text-panel p:not(.section-eyebrow),
    .service-entry__faq-card p {
        font-size: 13px;
        line-height: 1.58;
    }

    .service-entry__info-grid,
    .service-entry__process-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-entry__info-card {
        min-height: 0;
        padding: 18px;
    }

    .service-entry__process-card,
    .service-entry__faq-card {
        min-height: 0;
        padding: 18px;
    }

    .service-entry__cta {
        gap: 22px;
        padding: 28px 20px;
    }
}

@media (max-width: 380px) {
    .front-hero--with-image {
        min-height: 390px;
    }

    .front-hero h1 {
        font-size: 28px;
    }

    .front-hero .section-summary {
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .archive-work-list--panel .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .archive-hero--works {
        padding: 28px 0 14px;
    }

    .archive-hero--works .yntek-container,
    .archive-work-list--panel > .yntek-container {
        width: min(calc(100% - 28px), 820px);
        padding: 34px 20px;
    }

    .archive-work-list--panel {
        padding-bottom: 34px;
    }

    .archive-work-list--panel .card-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .archive-hero--works h1,
    .archive-work-list--panel .section-heading h2 {
        font-size: clamp(28px, 9vw, 34px);
        line-height: 1.08;
    }

    .archive-work-list--panel .section-heading {
        margin-bottom: 22px;
    }

    .archive-work-list--panel .content-card__link {
        min-height: 0;
        padding: 16px;
    }

    .archive-work-list--panel .content-card__title {
        font-size: 17px;
    }

    .archive-work-list--panel .content-card__summary {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.45;
    }
}
