/* Global refinement shared by the refreshed Dekorate templates. */
:root {
    --color-primary: #171918;
    --color-accent: #c9472e;
    --color-accent-hover: #a93623;
    --color-accent-light: #f7e4df;
    --color-bg: #ffffff;
    --color-bg-warm: #f5f5f7;
    --color-bg-alt: #f0f1ef;
    --color-text: #1d1d1f;
    --color-text-muted: #5f6361;
    --color-border: #d7d9d7;
    --color-border-light: #e7e8e7;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --radius-md: 8px;
    --radius-lg: 8px;
    --letter-spacing-label: 0;
    --shadow-card: 0 1px 0 rgba(20, 25, 21, 0.08);
    --shadow-lg: 0 18px 50px rgba(20, 25, 21, 0.16);
}

body,
button,
input,
textarea,
select {
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    letter-spacing: 0;
}

:focus-visible {
    outline: 3px solid rgba(201, 71, 46, 0.42);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 12px 16px;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.label {
    color: #a93623;
    letter-spacing: 0;
}

.btn--primary,
.wpcf7 input[type="submit"] {
    color: #fff;
    font-weight: 700;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(23, 25, 24, 0.28);
    text-underline-offset: 5px;
}

.text-link:hover {
    color: var(--color-accent-hover);
    text-decoration-color: currentColor;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--color-border-light);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 28px;
}

.site-logo img,
.site-logo .custom-logo,
.site-branding img,
.site-branding .custom-logo {
    height: 39px;
    max-width: 166px;
}

.primary-navigation .menu-wrapper {
    gap: 2px;
}

.primary-navigation .menu-wrapper li a {
    padding: 9px 12px;
    border-radius: 0;
    color: #353936;
}

.primary-navigation .menu-wrapper > li > a {
    border-bottom: 2px solid transparent;
}

.primary-navigation .menu-wrapper > li > a:hover,
.primary-navigation .menu-wrapper > li.current-menu-item > a,
.primary-navigation .menu-wrapper > li.current-menu-ancestor > a {
    border-bottom-color: var(--color-accent);
}

.primary-navigation .menu-wrapper .sub-menu {
    border-radius: 6px;
    padding: 8px 0;
}

.primary-navigation .menu-wrapper .sub-menu li a {
    border: 0;
}

.header-actions {
    gap: 16px;
}

.header-phone {
    font-size: 0.82rem;
}

.header-cta,
.primary-navigation .mobile-nav-cta {
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
}

.header-cta:hover,
.primary-navigation .mobile-nav-cta:hover {
    background: var(--color-accent-hover);
}

.burger {
    width: 42px;
    height: 42px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
}

.primary-navigation .close {
    width: 44px;
    height: 44px;
    font-family: var(--font-family);
    font-size: 2rem;
    line-height: 1;
}

/* Services index */
.services-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    padding: 0;
    background: #20211f;
    color: #fff;
}

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

.services-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 10, 9, 0.82) 0%, rgba(9, 10, 9, 0.66) 38%, rgba(9, 10, 9, 0.18) 78%), linear-gradient(0deg, rgba(9, 10, 9, 0.28), transparent 42%);
}

.services-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 560px;
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: 52px;
}

.services-hero__content {
    max-width: 720px;
}

.services-hero .label {
    display: block;
    margin-bottom: 16px;
    color: #ef8a76;
}

.services-hero h1 {
    max-width: 720px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.03;
}

.services-hero__content p {
    max-width: 610px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.65;
}

.services-hero__actions {
    display: flex;
    gap: 12px;
}

.services-hero__actions .btn {
    min-width: 190px;
    min-height: 50px;
    justify-content: center;
}

.services-hero__actions .btn--primary {
    border-color: #fff;
    background: #fff;
    color: #171817;
}

.services-hero__actions .btn--outline {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(20, 21, 20, 0.34);
    color: #fff;
}

.services-hero__actions .btn:hover {
    border-color: #d9dad8;
    background: #d9dad8;
    color: #171817;
}

.service-jump-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 80;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.service-jump-nav__inner {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.service-jump-nav__inner::-webkit-scrollbar {
    display: none;
}

.service-jump-nav a {
    flex: 0 0 auto;
    padding: 18px 0 15px;
    border-bottom: 3px solid transparent;
    color: var(--color-text-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.service-jump-nav a:hover {
    border-bottom-color: var(--color-accent);
    color: var(--color-primary);
}

.service-group {
    padding: 84px 0 92px;
    scroll-margin-top: calc(var(--header-height) + 54px);
}

.service-group--muted {
    background: var(--color-bg-alt);
}

.service-group__header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.service-group__header .label {
    display: block;
    margin-bottom: 14px;
}

.service-group__header h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 4vw, 48px);
}

.service-group__header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.service-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 20px;
}

@media (min-width: 769px) {
    .service-index-grid--wide-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-index-grid--single {
        grid-template-columns: minmax(0, 1fr);
        max-width: 820px;
        margin-right: auto;
        margin-left: auto;
    }
}

.service-index-card {
    min-width: 0;
}

.service-index-card__link {
    display: block;
    height: 100%;
    color: var(--color-text);
    text-decoration: none;
}

.service-index-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
    background: #dfe2df;
}

.service-index-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-index-card:hover .service-index-card__image img {
    transform: scale(1.025);
}

.service-index-card__body {
    padding: 18px 2px 0;
}

.service-index-card__title {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.service-index-card__body h3 {
    margin: 0 0 9px;
    font-size: 1.28rem;
}

.service-index-card__title span {
    flex: 0 0 auto;
    padding-top: 2px;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 220ms ease;
}

.service-index-card:hover .service-index-card__title span {
    transform: translateX(4px);
}

.service-index-card__body p {
    min-height: 0;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.91rem;
    line-height: 1.6;
}

.service-proof {
    padding: 86px 0 92px;
    background: #1b1c1b;
    color: #fff;
}

.service-proof__inner {
    display: block;
    text-align: center;
}

.service-proof h2 {
    max-width: 720px;
    margin: 14px auto 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
}

.service-proof__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.service-proof__steps li {
    display: flex;
    min-height: 150px;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 24px 24px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

.service-proof__steps span {
    color: #ef8a76;
    font-size: 0.78rem;
}

.service-proof__steps li:first-child {
    border-left: 0;
}

.page-template-servicii .cta-band {
    padding: 76px 0 80px;
}

.page-template-servicii .cta-band h2 {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(34px, 4vw, 48px);
}

.page-template-servicii .cta-band p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

/* Service detail */
.service-detail {
    padding: 0;
}

.service-detail-hero {
    background: #f5f5f3;
    color: var(--color-text);
}

.service-detail-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    height: min(640px, calc(100svh - var(--header-height)));
    min-height: 520px;
    overflow: hidden;
}

.service-detail-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 68px 64px 68px max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
}

.service-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.service-breadcrumbs a:hover {
    color: var(--color-primary);
}

.service-detail-hero h1 {
    margin-bottom: 24px;
    color: var(--color-text);
    font-size: clamp(40px, 4.5vw, 60px);
    line-height: 1.04;
}

.service-detail-hero__copy > p {
    max-width: 600px;
    margin-bottom: 32px;
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.service-detail-hero__image {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #e2e3e1;
}

.service-detail-hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.service-detail-overview {
    padding: 76px 0 80px;
}

.service-detail-overview__inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2.2fr);
    gap: 72px;
    align-items: start;
}

.service-detail-overview__header .label {
    display: block;
    margin-bottom: 14px;
}

.service-detail-overview__header h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    margin: 0;
}

.service-intro-grid__panel {
    border-top: 1px solid var(--color-border);
    padding: 26px 0 10px;
    background: transparent;
}

.service-intro-grid__panel h3 {
    margin-bottom: 22px;
    font-size: 1.25rem;
}

.service-intro-grid__panel ul {
    display: grid;
    gap: 0;
}

.service-intro-grid__panel li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-muted);
}

.service-gallery {
    margin-top: 0;
    padding: 80px 0 86px;
}

.service-gallery .gallery_head {
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 0 var(--container-padding);
    text-align: center;
}

.service-gallery .gallery_head h2 {
    margin-bottom: 10px;
    font-size: clamp(30px, 4vw, 48px);
}

.service-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.service-gallery__grid .gallery_item {
    aspect-ratio: 4 / 3;
    border-radius: 5px;
}

.service-gallery__grid .load-more {
    grid-column: 1 / -1;
    justify-self: center;
}

.service-detail .service-process {
    padding: 78px 0 82px;
    background: #1b1c1b;
    color: #fff;
}

.service-detail .service-process .section-header {
    margin-bottom: 42px;
    text-align: center;
}

.service-detail .service-process .section-header .label {
    display: block;
    margin-bottom: 14px;
}

.service-detail .service-process .section-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 46px);
}

.service-detail .service-process .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.service-detail .service-process .process-grid::before {
    display: none;
}

.service-detail .service-process .process-step {
    padding: 24px 26px 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
}

.service-detail .service-process .process-step:first-child {
    border-left: 0;
}

.service-detail .service-process .process-step__number {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d7654f;
    font-size: 0.72rem;
    line-height: 1;
}

.service-detail .service-process .process-step h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1rem;
}

.service-detail .service-process .process-step p {
    max-width: 240px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.service-faq {
    padding: 82px 0 86px;
    background: #f5f5f7;
}

.service-faq__inner {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
}

.service-faq h2 {
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 46px);
}

.service-faq details {
    border-top: 1px solid var(--color-border);
}

.service-faq details:last-child {
    border-bottom: 1px solid var(--color-border);
}

.service-faq summary {
    cursor: pointer;
    padding: 22px 34px 22px 0;
    font-family: var(--font-display);
    font-weight: 600;
}

.service-faq details p {
    max-width: 680px;
    padding: 0 34px 22px 0;
    color: var(--color-text-muted);
}

.service-detail .project-section {
    padding: 82px 0 88px;
}

.service-detail .project-section .section-header {
    margin-bottom: 40px;
    text-align: center;
}

.service-detail-cta {
    padding: 78px 0 82px;
    text-align: center;
}

.service-detail-cta h2 {
    max-width: 820px;
    margin: 0 auto 16px;
    font-size: clamp(32px, 4vw, 48px);
}

.service-detail-cta p {
    max-width: 680px;
    margin: 0 auto;
}

.service-detail-cta .cta-band__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* Editorial pages */
.editorial-hero,
.contact-hero,
.portfolio-archive-hero {
    padding: 88px 0 76px;
    background: #f5f5f3;
}

.editorial-hero__inner,
.contact-hero__inner,
.portfolio-archive-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 72px;
    align-items: end;
}

.editorial-hero .label,
.contact-hero .label,
.portfolio-archive-hero .label {
    display: block;
    margin-bottom: 18px;
    color: #a93623;
}

.editorial-hero h1,
.contact-hero h1,
.portfolio-archive-hero h1 {
    max-width: 900px;
    color: var(--color-text);
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.04;
}

.editorial-hero__inner > p,
.contact-hero__inner > div:last-child p,
.portfolio-archive-hero__inner > div:last-child p {
    color: var(--color-text-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.contact-hero .text-link,
.portfolio-archive-hero .text-link {
    color: var(--color-primary);
    text-decoration-color: rgba(23, 25, 24, 0.28);
}

.content-section-heading {
    max-width: 720px;
    margin-bottom: 44px;
}

.content-section-heading .label {
    display: block;
    margin-bottom: 14px;
}

.content-section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
}

/* About */
.about-story {
    padding: 96px 0;
}

.about-story__inner {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 76px;
    align-items: center;
}

.about-story__image {
    min-height: 520px;
    overflow: hidden;
    background: #dfe2df;
}

.about-story__image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.about-story__copy .label {
    display: block;
    margin-bottom: 16px;
}

.about-story__copy h2 {
    margin-bottom: 24px;
    font-size: clamp(30px, 4vw, 48px);
}

.about-story__copy p {
    margin-bottom: 28px;
    color: var(--color-text-muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.about-principles {
    padding: 92px 0;
}

.about-principles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

.about-principle {
    border-top: 1px solid rgba(23, 25, 24, 0.3);
    padding-top: 18px;
}

.about-principle__number,
.equipment-column__number {
    display: block;
    margin-bottom: 36px;
    color: #a93623;
    font-size: 0.78rem;
    font-weight: 600;
}

.about-principle h3 {
    margin-bottom: 16px;
    font-size: 1.28rem;
}

.about-principle p {
    color: var(--color-text-muted);
    font-size: 0.94rem;
}

/* Contact */
.contact-hero h1 {
    max-width: 700px;
}

.contact-section--page {
    padding-top: 82px;
}

/* Guides */
.guides-page {
    min-height: 360px;
    padding: 90px 0;
}

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

.guide-card {
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
}

.guide-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.guide-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-card__body {
    padding: 20px 0 8px;
}

.guide-card__body > span {
    display: block;
    margin-bottom: 12px;
    color: var(--color-text-muted);
    font-size: 0.76rem;
}

.guide-card h2 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.guide-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.guides-empty {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    padding: 50px 0 70px;
    border-top: 1px solid var(--color-border);
}

.guides-empty h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 48px);
}

.guides-empty p {
    max-width: 620px;
    margin-bottom: 28px;
    color: var(--color-text-muted);
    font-size: 1.04rem;
}

.guide-pagination {
    margin-top: 48px;
}

/* Equipment */
.equipment-content {
    padding: 94px 0;
}

.equipment-content__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

.equipment-column {
    min-width: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 18px;
}

.equipment-column__content h2,
.equipment-column__content h3,
.equipment-column__content h4,
.equipment-column__content h5,
.equipment-column__content h6,
.equipment-column__content strong {
    display: block;
    margin: 24px 0 10px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.35;
}

.equipment-column__content p,
.equipment-column__content li {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.equipment-column__content img {
    width: 100%;
    margin: 22px 0;
}

/* Legacy work archive */
.portfolio-archive-hero__inner h1 {
    max-width: 840px;
}

.legacy-work-group {
    padding: 92px 0;
}

.legacy-work-group__header {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 64px;
    margin-bottom: 42px;
}

.legacy-work-group__header h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.legacy-work-group__header p {
    max-width: 620px;
    color: var(--color-text-muted);
    font-size: 1.02rem;
}

.legacy-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
}

.legacy-work-card {
    min-width: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
    scroll-margin-top: calc(var(--header-height) + 40px);
}

.legacy-work-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe2df;
}

.legacy-work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.legacy-work-card:hover .legacy-work-card__image img {
    transform: scale(1.025);
}

.legacy-work-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 146px;
    padding: 18px 0 4px;
}

.legacy-work-card__body > div {
    margin-bottom: auto;
}

.legacy-work-card__meta {
    display: block;
    margin-bottom: 7px;
    color: var(--color-text-muted);
    font-size: 0.76rem;
}

.legacy-work-card h3 {
    margin-bottom: 18px;
    font-size: 1.18rem;
}

/* Footer */
.site-footer {
    padding-top: 0;
    background: #181918;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer > .container {
    max-width: 1120px;
}

.footer-lead {
    display: grid;
    grid-template-columns: 0.4fr 1.35fr auto;
    gap: 36px;
    align-items: end;
    padding: 70px 0;
    border-bottom: 1px solid var(--color-border);
}

.footer-lead__label {
    align-self: start;
    color: #a93623;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-lead h2 {
    max-width: 720px;
    color: var(--color-text);
    font-size: clamp(28px, 4vw, 48px);
}

.footer_content {
    grid-template-columns: minmax(260px, 1.35fr) minmax(210px, 1fr) minmax(130px, 0.58fr) minmax(130px, 0.58fr);
    gap: clamp(28px, 4vw, 52px);
    padding: 52px 0 42px;
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.footer_content .column h4,
.footer_content .column h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
}

.footer_content .column.first .logo {
    margin-bottom: 18px;
}

.footer_content .column.first .logo img,
.footer_content .column.first .logo .custom-logo {
    height: 42px;
    max-width: 168px;
    filter: invert(1) hue-rotate(180deg) brightness(1.15);
}

.footer_content .column.first p {
    max-width: 330px;
    margin: 0;
    line-height: 1.65;
}

.footer_content .column .block {
    margin-bottom: 18px;
}

.footer_content .column .block span {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.46);
}

.site-footer .footer-contact .block a {
    min-height: 0;
    padding: 3px 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.66);
    font-size: var(--font-size-sm);
}

.footer-links a:hover {
    color: #fff;
}

.footer_content .column .block span,
.footer_bottom p {
    color: rgba(255, 255, 255, 0.46);
}

.footer_content .column.first p,
.footer_content .column .block a,
.footer_content .column .block p,
.footer_content .footer-menu-container ul li a {
    color: rgba(255, 255, 255, 0.66);
}

.footer_content .column .block a:hover,
.footer_content .footer-menu-container ul li a:hover {
    color: #fff;
}

.footer_content .footer-menu-container ul li {
    margin-bottom: 10px;
}

.footer_bottom {
    padding: 18px 0 22px;
}

.footer_bottom .anpc img {
    height: 28px;
    opacity: 0.78;
}

/* Bright, product-led surfaces shared by legacy homepage sections. */
.projects-section {
    background: #fff;
}

.projects-section .section-header h2,
.projects-section .section-header .label {
    color: var(--color-text);
}

.projects-section .section-header .label {
    color: #a93623;
}

.projects-section .section-header p {
    color: var(--color-text-muted);
}

.process-step__number {
    border: 1px solid var(--color-border);
    background: #fff;
    color: #a93623;
}

.cta-band {
    background: #f5f5f7;
}

.cta-band h2 {
    color: var(--color-text);
}

.cta-band p,
.cta-band__contact-item,
.cta-band__contact-item a {
    color: var(--color-text-muted);
}

.cta-band__contact-item a:hover {
    color: var(--color-primary);
}

.home-hero-refresh .btn--primary,
.cta-band .btn--primary,
.footer-lead .btn {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.home-hero-refresh .btn--primary:hover,
.cta-band .btn--primary:hover,
.footer-lead .btn:hover {
    border-color: #343735;
    background: #343735;
    color: #fff;
}

.cta-band .btn--outline {
    border-color: #858987;
    color: var(--color-primary);
}

.cta-band .btn--outline:hover {
    border-color: var(--color-primary);
    background: #fff;
}

.footer-contact .block a {
    display: flex;
    min-height: 48px;
    align-items: center;
}

.clients-section {
    overflow: hidden;
}

.contact > *,
.contact .details,
.contact .details .column,
.contact .form_side {
    min-width: 0;
    max-width: 100%;
}

.wpcf7 input[type="file"] {
    max-width: 100%;
}

.wpcf7 select {
    width: 100%;
    min-height: 50px;
    padding: 12px 42px 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    background-color: var(--color-bg-warm);
    color: var(--color-text);
    font: inherit;
}

.wpcf7 input:focus-visible,
.wpcf7 textarea:focus-visible,
.wpcf7 select:focus-visible,
.wpcf7 input[type="submit"]:focus-visible {
    outline: 3px solid rgba(201, 71, 46, 0.42);
    outline-offset: 3px;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #a5261f;
    font-size: 0.85rem;
}

.wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;
    border-width: 2px;
    border-radius: 5px;
}

.wpcf7 input[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.7;
}

@media (max-width: 1100px) {
    .header-phone {
        display: none;
    }

    .primary-navigation .menu-wrapper li a {
        padding-inline: 9px;
    }

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

    .service-detail-overview__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

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

    .service-detail .service-process .process-step:nth-child(3) {
        border-left: 0;
    }

    .service-detail .service-process .process-step:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

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

    .service-proof__steps li:nth-child(3) {
        border-left: 0;
    }

    .service-proof__steps li:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

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

    .equipment-content__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        gap: 12px;
    }

    .burger {
        display: flex;
    }

    .primary-navigation {
        padding: 72px 24px 28px;
    }

    .primary-navigation .menu-wrapper li a {
        border-bottom: 0;
        font-size: 1rem;
    }

    .services-hero {
        min-height: 660px;
        padding: 0;
    }

    .services-hero__image {
        object-position: 46% center;
    }

    .services-hero__shade {
        background: linear-gradient(180deg, rgba(9, 10, 9, 0.76) 0%, rgba(9, 10, 9, 0.58) 54%, rgba(9, 10, 9, 0.28) 100%);
    }

    .services-hero__inner {
        min-height: 660px;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .services-hero__content p {
        font-size: 16px;
        line-height: 1.55;
    }

    .services-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .services-hero__actions .btn {
        width: 100%;
    }

    .services-hero__inner,
    .service-group__header,
    .service-proof__inner,
    .service-detail-hero__inner,
    .service-faq__inner,
    .editorial-hero__inner,
    .contact-hero__inner,
    .portfolio-archive-hero__inner,
    .about-story__inner,
    .guides-empty,
    .legacy-work-group__header,
    .footer-lead {
        grid-template-columns: 1fr;
    }

    .services-hero__inner,
    .service-proof__inner,
    .service-faq__inner,
    .editorial-hero__inner,
    .contact-hero__inner,
    .portfolio-archive-hero__inner,
    .about-story__inner,
    .guides-empty,
    .legacy-work-group__header {
        gap: 34px;
    }

    .services-hero h1,
    .service-detail-hero h1,
    .editorial-hero h1,
    .contact-hero h1,
    .portfolio-archive-hero h1 {
        font-size: 36px;
    }

    .editorial-hero,
    .contact-hero,
    .portfolio-archive-hero {
        padding: 54px 0 50px;
    }

    .service-jump-nav__inner {
        gap: 24px;
        padding-right: 24px;
    }

    .service-group {
        padding: 62px 0;
    }

    .service-group__header {
        gap: 12px;
        margin-bottom: 32px;
    }

    .service-group__header .label {
        grid-column: 1;
    }

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

    .service-index-grid {
        grid-template-columns: none;
        grid-auto-columns: 86%;
        grid-auto-flow: column;
        gap: 14px;
        margin-right: calc(var(--container-padding) * -1);
        padding-right: var(--container-padding);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    .service-index-grid::-webkit-scrollbar {
        display: none;
    }

    .service-index-card {
        scroll-snap-align: start;
    }

    .service-index-card__body p {
        min-height: 0;
    }

    .service-proof {
        padding: 62px 0;
    }

    .service-proof__steps {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .service-proof__steps li,
    .service-proof__steps li:first-child,
    .service-proof__steps li:nth-child(3) {
        min-height: 0;
        gap: 16px;
        padding: 22px 0 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .service-proof__steps li:first-child {
        border-top: 0;
    }

    .page-template-servicii .cta-band {
        padding: 62px 0 66px;
    }

    .service-detail-hero__inner {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .service-detail-hero__copy {
        padding: 48px var(--container-padding);
    }

    .service-breadcrumbs {
        margin-bottom: 28px;
    }

    .service-detail-hero__image,
    .service-detail-hero__image img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .service-detail-hero__image img {
        position: static;
    }

    .service-detail-overview,
    .service-gallery,
    .service-faq,
    .about-story,
    .about-principles,
    .guides-page,
    .equipment-content,
    .legacy-work-group {
        padding: 62px 0;
    }

    .about-story__image,
    .about-story__image img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .about-principles__grid,
    .equipment-content__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .service-detail .service-process {
        padding: 62px 0 66px;
    }

    .service-detail .service-process .section-header {
        margin-bottom: 28px;
    }

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

    .service-detail .service-process .process-step {
        padding: 22px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .service-detail .service-process .process-step:first-child {
        border-top: 0;
    }

    .service-detail .service-process .process-step__number {
        margin-bottom: 14px;
    }

    .service-detail .service-process .process-step p {
        max-width: 520px;
    }

    .service-detail-cta .cta-band__actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
    }

    .footer-lead {
        gap: 24px;
        align-items: start;
        padding: 54px 0;
    }

    .footer-lead .btn {
        justify-self: start;
    }

    .footer_content {
        grid-template-columns: 1fr 1fr;
        gap: 34px 48px;
        padding: 46px 0 38px;
    }

    .footer_content .footer-brand {
        grid-column: 1 / -1;
    }

    .contact .details .column,
    .contact .form_side {
        width: 100%;
        padding: 24px;
    }

    .clients-section .slick-next {
        right: 0;
    }

    .clients-section .slick-prev {
        left: 0;
    }
}

@media (max-width: 520px) {
    .legacy-work-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

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

    .footer_content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 34px;
    }

    .footer_content .footer-brand {
        grid-column: auto;
    }

    .footer_bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 0 24px;
    }
}

/* Keep every action button consistent across templates. */
#page .btn:not(.btn--disabled):hover,
.header-cta:hover,
.primary-navigation .mobile-nav-cta:hover,
.load-more:hover,
.wpcf7 input[type="submit"]:hover {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(169, 54, 35, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
