:root {
    --ink: #161616;
    --ink-soft: #242424;
    --paper: #f5f3ee;
    --paper-soft: #faf9f6;
    --white: #ffffff;
    --muted: #68655f;
    --line: #ded9cf;
    --line-dark: rgba(255,255,255,.13);
    --gold: #d3a342;
    --gold-strong: #bd8c2d;
    --gold-soft: #f1e4c4;
    --max: 1240px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 10px 28px rgba(24,22,18,.07);
    --shadow: 0 18px 52px rgba(18,17,15,.10);
    --ease: 260ms cubic-bezier(.2,.8,.2,1);
    --adminbar: 0px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
body.admin-bar { --adminbar: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(211,163,66,.6); outline-offset: 3px; }

.container {
    width: min(calc(100% - 48px), var(--max));
    margin-inline: auto;
}
.site-main { overflow: clip; }
.skip-link {
    position: fixed;
    left: 14px;
    top: -100px;
    z-index: 9999;
    background: var(--white);
    color: var(--ink);
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 14px; }

/* Typography */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--gold-strong);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
    flex: 0 0 auto;
}
.eyebrow--light { color: #e3b95f; }
.section { padding: 84px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section h2,
.page-hero h1,
.service-hero h1,
.hero h1,
.hero h2,
.prefooter-cta h2,
.contact-info h2,
.form-panel h2,
.narrow-content h2 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.06;
}
.section h2 { font-size: clamp(2.05rem, 2.8vw, 2.4rem); }
.lead { font-size: 1.08rem; color: #393733; }
.section-dark .lead { color: #d6d2ca; }

/* Buttons & links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    font-size: .9rem;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg,
.text-link svg,
.header-strip svg,
.mobile-call svg,
.contact-phone svg,
.trust-mark svg,
.back-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.btn-gold,
.btn-brand {
    background: var(--gold);
    color: #17130d;
    border-color: var(--gold);
    box-shadow: 0 8px 22px rgba(170,122,31,.14);
}
.btn-gold:hover,
.btn-brand:hover { background: #dfb04d; border-color: #dfb04d; }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: #2c2c2c; border-color: #2c2c2c; }
.btn-ghost {
    color: var(--white);
    border-color: rgba(255,255,255,.45);
    background: rgba(12,12,12,.16);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.4); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 800;
    transition: color var(--ease), gap var(--ease);
}
.text-link:hover { color: var(--gold-strong); gap: 11px; }
.text-link--large { font-size: .98rem; }
.text-link--light { color: #ebe8e1; }
.text-link--light:hover { color: #e3b95f; }

/* Header */
.site-header {
    position: sticky;
    top: var(--adminbar);
    z-index: 100;
    color: var(--white);
    background: #111;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.header-strip {
    background: #0b0b0b;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-strip__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #bdb8af;
    font-size: .76rem;
}
.header-strip p { margin: 0; }
.header-strip p span { color: #6e6a63; margin-inline: 5px; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e3b95f;
    font-weight: 800;
    white-space: nowrap;
}
.header-phone svg { width: 15px; height: 15px; }
.header-main { background: #161616; }
.header-main__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand {
    display: flex;
    align-items: center;
    margin-right: auto;
    min-width: 0;
}
.brand__link,
.brand .custom-logo-link { display: flex; align-items: center; }
.brand img,
.brand .custom-logo {
    width: 176px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
}
.site-nav { display: flex; align-items: center; gap: 21px; }
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 21px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__list li { position: relative; }
.site-nav__list a {
    display: inline-flex;
    align-items: center;
    color: #e6e3dc;
    font-size: .86rem;
    font-weight: 700;
    padding: 15px 0;
    position: relative;
}
.site-nav__list > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 8px;
    height: 2px;
    background: var(--gold);
    transition: right var(--ease);
}
.site-nav__list > li > a:hover::after,
.site-nav__list > .current-menu-item > a::after,
.site-nav__list > .current-menu-ancestor > a::after { right: 0; }
.site-nav__list .sub-menu {
    position: absolute;
    left: -16px;
    top: calc(100% - 2px);
    z-index: 4;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.site-nav__list .sub-menu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
}
.site-nav__list .sub-menu a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.nav-cta { min-height: 44px; padding-inline: 17px; white-space: nowrap; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 7px;
    background: transparent;
    color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav-toggle__close { display: none; }

/* Home hero */
.hero {
    position: relative;
    height: min(620px, calc(100vh - 122px));
    min-height: 520px;
    color: var(--white);
    background: #111;
}
.hero__slides,
.hero-slide { position: absolute; inset: 0; }
.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 760ms ease, visibility 760ms ease;
}
.hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; }
.hero-slide__media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero-slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.69) 38%, rgba(8,8,8,.30) 68%, rgba(8,8,8,.10) 100%),
        linear-gradient(0deg, rgba(0,0,0,.2), transparent 35%);
}
.hero-slide__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-copy {
    max-width: 680px;
    padding: 36px 0 54px;
}
.hero-copy h1,
.hero-copy h2 {
    max-width: 780px;
    font-size: clamp(2.85rem, 4.8vw, 4.55rem);
}
.hero-copy p {
    max-width: 650px;
    margin: 22px 0 28px;
    color: #e4e0d8;
    font-size: 1.02rem;
    line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
    min-height: 116px;
    padding: 23px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-right: 1px solid var(--line);
}
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: #8d641b;
}
.trust-mark svg { width: 17px; height: 17px; }
.trust-item h3 { margin: 0 0 5px; font-size: .96rem; line-height: 1.3; }
.trust-item p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

/* Generic content */
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 60px;
    align-items: center;
}
.split-layout--reverse { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ddd;
    box-shadow: var(--shadow);
}
.media-frame::before { content: ""; display: block; padding-top: 70%; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame--roof { border-radius: var(--radius-lg); }
.media-frame__badge {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 136px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    background: var(--gold);
    color: #17130d;
}
.media-frame__badge strong { font-size: 1.65rem; line-height: 1; letter-spacing: -.04em; }
.media-frame__badge span { margin-top: 5px; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.section-copy h2 { margin-bottom: 22px; }
.section-copy p { color: #55514a; }
.section-copy .lead { color: #302e2a; }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.check-list svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 3px; fill: none; stroke: var(--gold-strong); stroke-width: 2; }
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .68fr);
    gap: 52px;
    align-items: end;
    margin-bottom: 42px;
}
.section-heading h2 { max-width: 760px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1rem; }
.section-heading--compact { margin-bottom: 34px; }
.section-heading--light > p { color: #c8c3ba; }
.section-center { display: flex; justify-content: center; margin-top: 40px; }

/* Service band */
.service-band { background: #191919; color: var(--white); }
.service-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-band__item {
    min-height: 150px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line-dark);
    transition: background var(--ease);
}
.service-band__item:first-child { border-left: 1px solid var(--line-dark); }
.service-band__item:hover { background: rgba(255,255,255,.035); }
.service-band__mark { display: block; width: 30px; height: 3px; margin-bottom: 18px; background: var(--gold); }
.service-band__item strong { font-size: 1.02rem; line-height: 1.25; }
.service-band__item small { margin-top: 7px; color: #bdb8af; font-size: .86rem; line-height: 1.5; }

/* Offer cards on home */
.section-offers { background: #f8f7f3; }
.home-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-tile {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #e2ddd4;
    border-radius: var(--radius);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.offer-tile:hover { transform: translateY(-2px); border-color: #d4ccb9; box-shadow: var(--shadow-sm); }
.offer-tile__media { overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.offer-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 620ms cubic-bezier(.2,.8,.2,1); }
.offer-tile:hover .offer-tile__media img { transform: scale(1.035); }
.offer-tile__body { flex: 1; display: flex; flex-direction: column; padding: 23px 23px 24px; }
.offer-tile h3 { margin: 0 0 11px; font-size: 1.25rem; line-height: 1.22; letter-spacing: -.02em; }
.offer-tile p { margin: 0 0 17px; color: var(--muted); font-size: .91rem; line-height: 1.6; }
.offer-tile__body .text-link { margin-top: auto; align-self: flex-start; }

/* Extra work */
.section-extra { background: var(--paper); }
.extra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.extra-card {
    min-height: 205px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.extra-mark { display: block; width: 28px; height: 3px; margin-bottom: 20px; background: var(--gold); }
.extra-card strong { display: block; font-size: 1.12rem; line-height: 1.28; }
.extra-card p { margin: 11px 0 18px; color: var(--muted); font-size: .9rem; }
.extra-card .text-link { margin-top: auto; align-self: flex-start; }
.extra-card { transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.extra-card:hover { transform: translateY(-2px); border-color: #d4ccb9; box-shadow: var(--shadow-sm); }

/* Gallery preview */
.gallery-preview { padding-top: 88px; background: var(--white); }
.gallery-preview__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.gallery-preview__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-preview__track a { overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.gallery-preview__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 480ms ease, filter 480ms ease; }
.gallery-preview__track a:hover img { transform: scale(1.035); filter: contrast(1.02); }

/* CTA & footer */
.prefooter-cta {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    color: var(--white);
    background: #24211d;
    border-top: 3px solid var(--gold);
}
.prefooter-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 60px;
    align-items: center;
}
.prefooter-cta h2 { max-width: 780px; margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.prefooter-cta p { max-width: 690px; margin: 0; color: #c7c1b7; }
.prefooter-cta__actions { display: flex; flex-direction: column; gap: 10px; }
.site-footer { padding-top: 62px; color: var(--white); background: #0e0e0e; }
.footer-grid { display: grid; grid-template-columns: 1.18fr .72fr .9fr; gap: 74px; padding-bottom: 46px; }
.footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo img { width: 205px; height: 98px; object-fit: contain; object-position: left center; }
.footer-brand p,
.site-footer p { color: #9f9a91; }
.footer-brand p { max-width: 430px; margin: 0; }
.site-footer h3 { margin: 0 0 18px; color: #dfb04d; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.footer-menu { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: #d7d3cb; font-size: .92rem; }
.footer-menu a:hover { color: var(--white); }
.footer-phone { display: block; margin-bottom: 10px; color: var(--white); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.footer-contact-column > p { margin: 0 0 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-legal { color: #b8b3aa; }
.footer-legal:hover { color: var(--white); }

/* Generic page hero */
.page-hero {
    position: relative;
    height: 390px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: #111;
}
.page-hero--small { height: 315px; }
.page-hero__image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,7,.84) 0%, rgba(7,7,7,.53) 47%, rgba(7,7,7,.18) 100%); }
.page-hero__content { position: relative; z-index: 2; padding-bottom: 54px; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.65rem, 5vw, 4.35rem); }
.page-hero__content p { max-width: 650px; margin: 14px 0 0; color: #e2ded6; font-size: 1rem; }

/* Offer archive */
.offer-archive { background: #f8f7f3; }
.offer-archive__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.offer-archive__grid > .offer-card { grid-column: span 2; }
.offer-archive__grid > .offer-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
.offer-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #e1ddd4;
    border-radius: var(--radius);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.offer-card:hover { transform: translateY(-2px); border-color: #d2cab9; box-shadow: var(--shadow-sm); }
.offer-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.offer-card:hover .offer-card__media img { transform: scale(1.035); }
.offer-card__body { flex: 1; display: flex; flex-direction: column; padding: 24px 24px 26px; }
.offer-card__body h2 { margin: 0 0 11px; font-size: 1.24rem; line-height: 1.23; letter-spacing: -.02em; }
.offer-card__body p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.offer-card__body .text-link { margin-top: auto; align-self: flex-start; }

/* Single service */
.service-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: #111;
}
.service-hero__media { position: absolute; inset: 0; overflow: hidden; }
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,6,.89), rgba(6,6,6,.52) 52%, rgba(6,6,6,.22)); }
.service-hero__inner { position: relative; z-index: 2; padding-bottom: 42px; }
.service-hero h1 { max-width: 940px; font-size: clamp(2.55rem, 4.7vw, 4.15rem); }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #e3b95f;
    font-size: .82rem;
    font-weight: 800;
}
.back-link svg { width: 17px; height: 17px; }
.service-content__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.prose { font-size: 1.02rem; }
.prose h2,
.prose h3 { margin: 0 0 20px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.prose h3 { font-size: 1.35rem; }
.prose p { margin: 0 0 1.3em; color: #4e4b45; }
.prose ul,
.prose ol { color: #4e4b45; }
.prose--wide { max-width: 900px; }
.service-note { margin-top: 36px; padding: 21px 24px; background: var(--white); border-left: 3px solid var(--gold); }
.service-note strong { font-size: 1.14rem; }
.service-note p { margin: 5px 0 0; }
.service-sidebar { position: sticky; top: calc(var(--adminbar) + 138px); }
.contact-card { padding: 34px; background: #191919; color: var(--white); border-radius: var(--radius); }
.contact-card h2 { margin: 0 0 12px; font-size: 2rem; line-height: 1.08; letter-spacing: -.03em; }
.contact-card p { margin: 0 0 20px; color: #bcb7ae; }
.contact-card .btn { width: 100%; margin-top: 9px; }

/* About */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.process-grid article { min-height: 205px; padding: 31px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.process-mark { display: block; width: 30px; height: 3px; margin-bottom: 18px; background: var(--gold); }
.process-grid h3 { margin: 0 0 8px; font-size: 1.08rem; }
.process-grid p { margin: 0; color: #bab5ac; font-size: .9rem; }

/* Contact and CF7 */
.contact-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 70px; align-items: start; }
.contact-info h2,
.form-panel h2 { margin-bottom: 18px; font-size: clamp(1.2rem, 1.5vw, 1.55rem); }
.contact-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 28px 0;
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.contact-phone:hover { transform: translateY(-2px); border-color: #cfc6b3; box-shadow: var(--shadow-sm); }
.contact-phone svg { width: 27px; height: 27px; color: var(--gold-strong); }
.contact-phone span { display: flex; flex-direction: row; gap:10px; }
.contact-phone small { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-phone strong { margin-top: 2px; font-size: 1rem; line-height: 1.2; }
.contact-points { display: grid; gap: 15px; }
.contact-points > div { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.contact-points strong { font-size: .95rem; }
.contact-points p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }
.form-panel {
    padding: 40px;
    background: var(--white);
    border: 1px solid #e0dbd1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.lead-form .row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 13px; }
.lead-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.lead-form .col-md-6 { grid-column: span 6; }
.lead-form .col-12 { grid-column: 1 / -1; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.form-control {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #d7d1c7;
    border-radius: 7px;
    outline: none;
    background: #fbfaf7;
    color: var(--ink);
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.form-control::placeholder { color: #8a867e; opacity: 1; }
.form-control:focus { border-color: var(--gold-strong); background: var(--white); box-shadow: 0 0 0 3px rgba(211,163,66,.15); }
textarea.form-control { min-height: 148px; resize: vertical; }
.form-check { color: #666159; font-size: .83rem; line-height: 1.5; }
.form-check .wpcf7-list-item { margin: 0; }
.form-check label { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.form-check input[type="checkbox"] { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--gold-strong); flex: 0 0 auto; }
.d-grid { display: grid; }
.w-100 { width: 100%; }
.btn-lg { min-height: 54px; }
.lead-form input[type="submit"].btn { appearance: none; -webkit-appearance: none; }
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0 !important; padding: 10px 13px !important; border-radius: 6px; font-size: .86rem; }
.wpcf7-not-valid-tip { margin-top: 5px; font-size: .78rem; }
.wpcf7-spinner { display: block; margin: 10px auto 0; }
.form-fallback { margin: 0; padding: 20px 21px; background: #f8f4e9; border-left: 3px solid var(--gold); color: #5b554a; }
.form-fallback strong { display: block; margin-bottom: 6px; color: var(--ink); }
.form-fallback p { margin: 0; }
.form-fallback a { font-weight: 800; text-decoration: underline; }
.form-admin-hint { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }

/* Gallery page */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.gallery-item { aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; background: #ddd; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease, filter 450ms ease; }
.gallery-item:hover img { transform: scale(1.03); filter: contrast(1.025); }
.lightbox {
    width: min(94vw, 1380px);
    max-width: none;
    padding: 18px;
    border: 0;
    border-radius: 8px;
    background: #0d0d0d;
    box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { width: auto; max-width: 100%; max-height: 82vh; margin: auto; object-fit: contain; }
.lightbox__counter { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.58); color: #ddd8cf; font-size: .78rem; font-weight: 700; }
.lightbox__close,
.lightbox__nav {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: rgba(0,0,0,.58);
    color: var(--white);
    cursor: pointer;
}
.lightbox__close { right: 22px; top: 20px; font-size: 1.5rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 1.2rem; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); color: #17130d; }

/* Related services */
.related-services { padding-top: 0; background: var(--paper-soft); }
.related-services__head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.related-services__head h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3rem); }
.related-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-service-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.related-service-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.related-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.related-service-card:hover .related-service-card__media img { transform: scale(1.025); }
.related-service-card__body { padding: 20px 21px 22px; }
.related-service-card h3 { margin: 0 0 13px; font-size: 1.08rem; line-height: 1.25; }

/* Reviews / generic pages */
.narrow-content { max-width: 850px; }
.narrow-content h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4.7vw, 3.8rem); }
.reviews-content { margin-top: 26px; }
.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.not-found { min-height: 64vh; display: flex; align-items: center; text-align: center; }
.not-found .container { max-width: 700px; }
.not-found h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1.03; letter-spacing: -.04em; }
.not-found p { margin-bottom: 24px; color: var(--muted); }

@media (max-width: 1120px) {
    .site-nav__list { gap: 17px; }
    .site-nav { gap: 17px; }
    .nav-cta { display: none; }
    .home-offer-grid { grid-template-columns: repeat(2, 1fr); }
    .offer-archive__grid { grid-template-columns: repeat(2, 1fr); }
    .offer-archive__grid > .offer-card,
    .offer-archive__grid > .offer-card:nth-last-child(2):nth-child(3n+1) { grid-column: auto; }
    .extra-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { gap: 46px; }
    .contact-layout { gap: 46px; }
}

@media (max-width: 880px) {
    body { padding-bottom: 62px; }
    .container { width: min(calc(100% - 32px), var(--max)); }
    .section { padding: 64px 0; }
    .header-strip p { display: none; }
    .header-strip__inner { justify-content: flex-end; }
    .header-main__inner { min-height: 78px; }
    .brand img,
    .brand .custom-logo { width: 156px; height: 62px; }
    .nav-toggle { display: grid; place-items: center; }
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: calc(var(--adminbar) + 114px);
        bottom: 0;
        display: block;
        padding: 22px 20px 34px;
        overflow: auto;
        background: #151515;
        transform: translateX(100%);
        transition: transform 300ms ease;
    }
    .site-nav.is-open { transform: none; }
    .site-nav__list { display: grid; gap: 0; }
    .site-nav__list li { border-bottom: 1px solid rgba(255,255,255,.09); }
    .site-nav__list a { display: flex; width: 100%; padding: 15px 2px; font-size: 1rem; }
    .site-nav__list > li > a::after { display: none; }
    .site-nav__list .sub-menu {
        position: static;
        min-width: 0;
        padding: 0 0 8px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .site-nav__list .sub-menu li { border: 0; }
    .site-nav__list .sub-menu a { padding: 9px 0; color: #bbb7ae; font-size: .9rem; }
    .nav-cta { display: inline-flex; margin-top: 22px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

    .hero { height: 610px; min-height: 0; }
    .hero-copy { max-width: 650px; padding-bottom: 74px; }
    .hero-copy h1,
    .hero-copy h2 { font-size: clamp(2.7rem, 8vw, 4rem); }
    .hero-copy p { font-size: 1rem; }
    .hero-slide__shade { background: linear-gradient(90deg, rgba(7,7,7,.88), rgba(7,7,7,.52)); }

    .trust-grid,
    .service-band__grid,
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
    .service-band__item:nth-child(3) { border-left: 1px solid var(--line-dark); }

    .split-layout,
    .split-layout--reverse,
    .contact-layout,
    .service-content__grid { grid-template-columns: 1fr; gap: 42px; }
    .split-layout--reverse .media-frame { order: -1; }
    .section-heading,
    .prefooter-cta__inner { grid-template-columns: 1fr; gap: 22px; }
    .section-heading { margin-bottom: 34px; }
    .prefooter-cta__actions { max-width: 420px; }
    .service-sidebar { position: static; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .related-services__grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .page-hero { height: 320px; }
    .page-hero--small { height: 280px; }
    .service-hero { height: 390px; }
    .form-panel { padding: 32px; }
}

@media (max-width: 782px) {
    body.admin-bar { --adminbar: 46px; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 24px), var(--max)); }
    .section { padding: 54px 0; }
    .header-strip { display: none; }
    .header-main__inner { min-height: 76px; }
    .brand img,
    .brand .custom-logo { width: 146px; height: 58px; }
    .site-nav { top: calc(var(--adminbar) + 76px); }

    .hero { height: 580px; }
    .hero-slide__media img { object-position: center; }
    .hero-slide__shade { background: linear-gradient(180deg, rgba(7,7,7,.35) 0%, rgba(7,7,7,.76) 58%, rgba(7,7,7,.92) 100%); }
    .hero-slide__inner { align-items: flex-end; }
    .hero-copy { max-width: none; padding: 0 0 102px; }
    .hero-copy h1,
    .hero-copy h2 { font-size: clamp(2.35rem, 10.5vw, 3.25rem); }
    .hero-copy p { margin: 17px 0 22px; font-size: .95rem; line-height: 1.55; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .trust-grid,
    .service-band__grid,
    .process-grid,
    .home-offer-grid,
    .offer-archive__grid,
    .extra-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .trust-item,
    .trust-item:first-child,
    .trust-item:nth-child(3) { min-height: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .service-band__item,
    .service-band__item:first-child,
    .service-band__item:nth-child(3) { min-height: 0; border-left: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
    .section-heading { gap: 16px; }
    .section h2 { font-size: clamp(2rem, 10vw, 3rem); }
    .media-frame--roof { border-radius: var(--radius); }
    .media-frame__badge { min-width: 118px; padding: 15px 18px; }
    .media-frame__badge strong { font-size: 1.45rem; }

    .offer-tile__body,
    .offer-card__body { padding: 21px; }
    .gallery-preview__head { align-items: flex-start; flex-direction: column; gap: 13px; }
    .gallery-preview__track { grid-template-columns: repeat(2, 1fr); gap: 5px; }
    .gallery-preview__track a { aspect-ratio: 1 / 1; }

    .page-hero { height: 320px; }
    .page-hero--small { height: 280px; }
    .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
    .page-hero__content { padding-bottom: 40px; }
    .service-hero { height: 370px; }
    .service-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.25rem); }
    .service-hero__inner { padding-bottom: 40px; }
    .service-content__grid { gap: 30px; }
    .contact-card { padding: 26px; }

    .contact-phone { padding: 17px; }
    .contact-phone strong { font-size: 1.25rem; }
    .lead-form .col-md-6 { grid-column: 1 / -1; }
    .form-panel { padding: 24px 18px; border-radius: 10px; }
    .form-panel h2 { font-size: 2.1rem; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .gallery-item { aspect-ratio: 1 / 1; }
    .lightbox { width: 96vw; padding: 10px; }
    .lightbox__nav { width: 38px; height: 38px; }
    .lightbox__nav--prev { left: 12px; }
    .lightbox__nav--next { right: 12px; }
    .lightbox__close { right: 12px; top: 12px; }

    .prefooter-cta { padding: 52px 0; }
    .prefooter-cta h2 { font-size: 2.15rem; }
    .prefooter-cta__actions { max-width: none; }
    .footer-grid { gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 5px; }
    .footer-logo img { width: 190px; height: 90px; }
    .reviews-cta { align-items: flex-start; flex-direction: column; }
    .related-services__head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .related-services__grid { grid-template-columns: 1fr; }
    .related-services__grid > :last-child { grid-column: auto; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .hero-slide { transition: none; }
}

/* =========================================================
   Refinements 2.3.0 – production polish
   ========================================================= */
body.lightbox-open { overflow: hidden; }

/* Cleaner brand lockup: original roof mark + crisp live text. */
.brand__link,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand__link .brand-mark,
.footer-logo .brand-mark {
    width: 100px;
    height: auto;
    flex: 0 0 auto;
    object-fit: contain;
}
.brand-wordmark {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand-wordmark strong {
    color: #f4f1e9;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
}
.brand-wordmark small {
    margin-top: 5px;
    color: #d9ad52;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    white-space: nowrap;
}
.brand .custom-logo {
    width: auto;
    max-width: 190px;
    height: 66px;
    object-fit: contain;
    object-position: left center;
}
.footer-logo .custom-logo {
    width: auto;
    max-width: 210px;
    height: 82px;
    object-fit: contain;
    object-position: left center;
}
.header-main__inner { min-height: 82px; }
.footer-logo { margin-bottom: 20px; }

/* Better balance on large headings without losing impact. */
.hero-copy h1,
.hero-copy h2 { font-size: clamp(2.75rem, 3.45vw, 3.2rem); }
.page-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.service-hero h1 { font-size: clamp(2.45rem, 4.4vw, 3.9rem); }

/* Stronger keyboard/hover feedback on elements that behave like cards. */
.offer-tile:focus-within,
.extra-card:focus-visible,
.related-service-card:focus-within {
    border-color: #cfc4ad;
    box-shadow: var(--shadow-sm);
}
.related-service-card {
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.related-service-card:hover,
.related-service-card:focus-within {
    transform: translateY(-2px);
    border-color: #d2cab9;
    box-shadow: var(--shadow-sm);
}
.gallery-item:focus-visible { outline-offset: -4px; }

/* Editor content should never fall back to raw browser styling. */
.prose a:not(.btn):not(.text-link) {
    color: #8d651d;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.prose a:not(.btn):not(.text-link):hover { color: #654813; }
.prose img { height: auto; border-radius: var(--radius); }
.prose figure { max-width: 100%; margin: 2em 0; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.prose blockquote {
    margin: 2em 0;
    padding: 18px 22px;
    border-left: 3px solid var(--gold);
    background: var(--white);
    color: #4d4942;
}
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th,
.prose td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #eeeae1; }

/* Contact Form 7 states integrated with the theme instead of default plugin colors. */
.form-control.wpcf7-not-valid {
    border-color: #b34a42;
    background: #fff9f8;
}
.wpcf7-not-valid-tip { color: #963c35; }
.wpcf7 form .wpcf7-response-output {
    border: 1px solid #d8d1c5 !important;
    background: #faf8f3;
    color: #4f4a43;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #78a987 !important;
    background: #f4faf5;
    color: #285b38;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #d3aa67 !important;
    background: #fffaf0;
    color: #70531d;
}
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #c98680 !important;
    background: #fff7f6;
    color: #7c302a;
}
.lead-form input[type="submit"].btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

/* The dialog remains stable while full-resolution photos are being swapped. */
.lightbox { max-height: 92vh; overflow: hidden; }
.lightbox img { min-width: 1px; min-height: 1px; }

@media (max-width: 880px) {
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .brand__link .brand-mark { width: 63px; }
    .brand-wordmark strong { font-size: .86rem; }
    .brand-wordmark small { font-size: .56rem; }
    .brand .custom-logo { max-width: 170px; height: 60px; }

    .site-nav {
        bottom: calc(62px + env(safe-area-inset-bottom));
        visibility: hidden;
        pointer-events: none;
        overscroll-behavior: contain;
        transition: transform 300ms ease, visibility 300ms step-end;
    }
    .site-nav.is-open {
        visibility: visible;
        pointer-events: auto;
        transition: transform 300ms ease, visibility 0s;
    }
    .hero-copy h1,
    .hero-copy h2 { font-size: clamp(2.55rem, 7.5vw, 3.7rem); }
}

@media (max-width: 640px) {
    .brand__link { gap: 9px; }
    .brand__link .brand-mark { width: 55px; }
    .brand-wordmark strong { font-size: .78rem; }
    .brand-wordmark small { margin-top: 4px; font-size: .51rem; letter-spacing: .1em; }
    .brand .custom-logo { max-width: 150px; height: 56px; }

    .hero-copy h1,
    .hero-copy h2 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .page-hero h1 { font-size: clamp(2.25rem, 10vw, 3.15rem); }
    .service-hero h1 { font-size: clamp(2.15rem, 9.8vw, 3rem); }

}
@media (max-width: 880px) {
    .header-main__inner { min-height: 78px; }
}
@media (max-width: 640px) {
    .header-main__inner { min-height: 76px; }
}
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-logo .brand-mark { width: 82px; }
.footer-logo .brand-wordmark strong { font-size: 1rem; }
.footer-logo .brand-wordmark small { font-size: .64rem; }
@media (max-width: 640px) {
    .footer-logo .brand-mark { width: 72px; }
    .footer-logo .brand-wordmark strong { font-size: .92rem; }
    .footer-logo .brand-wordmark small { font-size: .58rem; }
}
.lead-form input[type="submit"].btn { display: block; text-align: center; }
.prose { overflow-wrap: break-word; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }

/* Archive and search consistency — 2.3.0 */
.archive-section { background: #f8f7f3; }
.page-hero__description { max-width: 720px; }
.page-hero__description p { margin: 14px 0 0; }
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.post-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(0, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.post-card:hover,
.post-card:focus-within { transform: translateY(-2px); border-color: #d4ccb9; box-shadow: var(--shadow-sm); }
.post-card--text { grid-template-columns: 1fr; }
.post-card__media { overflow: hidden; min-height: 230px; background: #e9e6df; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 620ms cubic-bezier(.2,.8,.2,1); }
.post-card:hover .post-card__media img { transform: scale(1.025); }
.post-card__body { min-width: 0; display: flex; flex-direction: column; padding: 27px; }
.post-card h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: #8b641c; }
.post-card__excerpt { margin-bottom: 20px; color: var(--muted); font-size: .94rem; }
.post-card__excerpt p { margin: 0; }
.post-card__body > .text-link { margin-top: auto; align-self: flex-start; }
.empty-state { max-width: 680px; margin: 0 auto; padding: 54px 28px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { margin: 0 auto 24px; color: var(--muted); }
.navigation.pagination { margin-top: 38px; }
.navigation.pagination .nav-links { align-items: center; }
.navigation.pagination .page-numbers {
    min-width: 42px;
    min-height: 42px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}
.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible { border-color: var(--gold); background: #fffaf0; }
.navigation.pagination .page-numbers.current { border-color: var(--ink); background: var(--ink); color: var(--white); }
.navigation.pagination .prev,
.navigation.pagination .next { padding-inline: 16px; }
@media (max-width: 1050px) {
    .post-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .post-card { grid-template-columns: 1fr; }
    .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
    .post-card__body { padding: 23px; }
    .empty-state { padding: 38px 20px; }
    .navigation.pagination .page-numbers { min-width: 40px; min-height: 40px; }
    .navigation.pagination .prev,
    .navigation.pagination .next { width: 100%; }
}

/* Kotwice ofert nie chowają się pod przyklejonym nagłówkiem. */
.offer-card { scroll-margin-top: calc(var(--adminbar) + 124px); }

/* =========================================================
   Refinements 2.5.0 — final UI/UX pass without regressions
   ========================================================= */

/* Mobile menu button: three mathematically centered bars. */
.nav-toggle {
    position: relative;
    place-items: center;
}
.nav-toggle__bars {
    position: relative;
    width: 22px;
    height: 16px;
    display: block;
}
.nav-toggle__bars > span {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: top 220ms ease, transform 220ms ease, opacity 160ms ease;
}
.nav-toggle__bars > span:nth-child(1) { top: 0; }
.nav-toggle__bars > span:nth-child(2) { top: 7px; }
.nav-toggle__bars > span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Hero slider: classic side arrows only. */
.hero-side-arrow {
    position: absolute;
    z-index: 12;
    top: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(12,12,12,.34);
    color: var(--white);
    box-shadow: 0 8px 26px rgba(0,0,0,.14);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.hero-side-arrow--prev { left: max(18px, calc((100vw - var(--max)) / 2 - 70px)); }
.hero-side-arrow--next { right: max(18px, calc((100vw - var(--max)) / 2 - 70px)); }
.hero-side-arrow:hover,
.hero-side-arrow:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    color: #17130d;
}
.hero-side-arrow:hover { transform: translateY(-50%) scale(1.04); }
.hero-side-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Higher, cleaner page banners with sharper source assets. */
.page-hero { height: 450px; }
.page-hero--small { height: 390px; }
.page-hero__image { background-position: center 46%; }
.page-hero__shade {
    background:
        linear-gradient(90deg, rgba(8,8,8,.87) 0%, rgba(8,8,8,.58) 48%, rgba(8,8,8,.20) 100%),
        linear-gradient(0deg, rgba(0,0,0,.22), transparent 45%);
}
.page-hero__content { padding-bottom: 62px; }
.service-hero { height: 500px; }
.service-hero__inner { padding-bottom: 54px; }

/* Redesigned prefooter: a premium contact card instead of a heavy full-width block. */
.prefooter-cta {
    padding: 78px 0;
    color: var(--white);
    background: #f1eee6;
    border-top: 0;
}
.prefooter-cta__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 58px;
    align-items: center;
    padding: 54px 58px;
    border: 1px solid rgba(211,163,66,.24);
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(20,19,17,.98) 0%, rgba(20,19,17,.96) 53%, rgba(20,19,17,.76) 72%, rgba(20,19,17,.60) 100%),
        url("../img/hero-3.webp") center 55% / cover no-repeat;
    box-shadow: 0 24px 70px rgba(26,22,15,.12);
}
.prefooter-cta__panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--gold);
}
.prefooter-cta__copy { min-width: 0; }
.prefooter-cta h2 {
    max-width: 780px;
    margin-bottom: 16px;
    font-size: clamp(2.1rem, 2.7vw, 2.35rem);
}
.prefooter-cta p { max-width: 690px; margin: 0; color: #c9c4ba; }
.prefooter-cta__contact {
    display: grid;
    gap: 13px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(10,10,10,.34);
    backdrop-filter: blur(8px);
}
.prefooter-cta__label {
    color: #e4b85d;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.prefooter-phone {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 3px 0 7px;
    color: var(--white);
}
.prefooter-phone svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.9;
}
.prefooter-phone span { display: grid; gap: 1px; }
.prefooter-phone small { color: #aaa49a; font-size: .74rem; }
.prefooter-phone strong { font-size: 1.32rem; letter-spacing: -.02em; }
.prefooter-cta__contact .btn { width: 100%; }

/* Footer: calmer hierarchy, tighter desktop rhythm. */
.site-footer {
    padding-top: 58px;
    background: linear-gradient(180deg, #11110f 0%, #0b0b0a 100%);
    border-top: 1px solid rgba(211,163,66,.13);
}
.footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(170px, .62fr) minmax(240px, .76fr);
    gap: 64px;
    padding-bottom: 44px;
}
.footer-brand p { max-width: 390px; }
.footer-bottom { padding: 18px 0 24px; }

/* Fixed actions: telefon po lewej, powrót do góry po prawej. Oba przyciski są okrągłe i nie zasłaniają treści. */
.floating-actions {
    position: fixed;
    z-index: 130;
    left: max(22px, env(safe-area-inset-left));
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
}
.floating-call,
.back-to-top {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0,0,0,.20);
}
.floating-call {
    border: 1px solid #e1b75b;
    background: var(--gold);
    color: #17130d;
    transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
}
.floating-call:hover,
.floating-call:focus-visible {
    transform: translateY(-2px);
    background: #dfb04d;
    box-shadow: 0 14px 34px rgba(0,0,0,.23);
}
.floating-call svg,
.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.back-to-top {
    border: 1px solid rgba(255,255,255,.16);
    background: #171717;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, background var(--ease), border-color var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: none; }
.back-to-top:hover,
.back-to-top:focus-visible { background: #252525; border-color: rgba(255,255,255,.30); }

/* Single posts: make editor content feel intentional, not like a fallback template. */
.single-post .prose--wide { max-width: 860px; }
.single-post .prose--wide > :first-child { margin-top: 0; }
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 16px;
    color: #ddd7cd;
    font-size: .82rem;
}
.single-post-meta a { color: #e7bc61; font-weight: 700; }

@media (max-width: 880px) {
    body { padding-bottom: 0; }
    .site-nav { bottom: 0; }

    .hero-side-arrow {
        width: 44px;
        height: 44px;
    }
    .hero-side-arrow--prev { left: 14px; }
    .hero-side-arrow--next { right: 14px; }

    .page-hero { height: 410px; }
    .page-hero--small { height: 365px; }
    .service-hero { height: 455px; }

    .prefooter-cta { padding: 64px 0; }
    .prefooter-cta__panel {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px;
        background:
            linear-gradient(90deg, rgba(20,19,17,.97), rgba(20,19,17,.86)),
            url("../img/hero-3.webp") center / cover no-repeat;
    }
    .prefooter-cta__contact { max-width: 440px; }
}

@media (max-width: 640px) {
    .hero { height: 610px; }
    .hero-copy { padding-bottom: 44px; }
    .hero-side-arrow {
        top: 38%;
        width: 40px;
        height: 40px;
        background: rgba(11,11,11,.46);
    }
    .hero-side-arrow--prev { left: 10px; }
    .hero-side-arrow--next { right: 10px; }

    .page-hero,
    .page-hero--small { height: 360px; }
    .page-hero__content { padding-bottom: 42px; }
    .service-hero { height: 420px; }
    .service-hero__inner { padding-bottom: 42px; }

    .prefooter-cta { padding: 48px 0; }
    .prefooter-cta__panel {
        gap: 26px;
        padding: 34px 22px;
        border-radius: 14px;
    }
    .prefooter-cta h2 { font-size: clamp(2rem, 9vw, 2.65rem); }
    .prefooter-cta__contact { padding: 20px; }
    .prefooter-phone { justify-content: center; text-align: left; }

    /* Footer on mobile is always centered, regardless of menu length or content. */
    .site-footer { padding-top: 48px; }
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 34px;
        text-align: center;
    }
    .footer-grid > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand { grid-column: auto; }
    .footer-logo { justify-content: center; margin-inline: auto; }
    .footer-brand p,
    .footer-contact-column > p { max-width: 310px; margin-inline: auto; }
    .footer-menu { justify-items: center; }
    .footer-menu li { text-align: center; }
    .footer-contact-column .text-link { justify-content: center; }
    .footer-bottom {
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 7px;
    }

    .floating-actions {
        left: max(14px, env(safe-area-inset-left));
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
    }
    .floating-call {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }
    .back-to-top {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
}

@media (max-width: 880px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand { grid-column: auto; }
    .footer-grid > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-logo { justify-content: center; margin-inline: auto; }
    .footer-brand p,
    .footer-contact-column > p { margin-inline: auto; }
    .footer-menu { justify-items: center; }
    .footer-menu li { text-align: center; }
    .footer-contact-column .text-link { justify-content: center; }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}


/* ==========================================================
   REALIZACJE - INFINITE CAROUSEL
   ========================================================== */

.realizations-carousel {
    position: relative;
    overflow: hidden;
    background: #fff;
}


/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.realizations-carousel__head {
    margin-bottom: 34px;
}

.realizations-carousel__head .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.realizations-carousel__head h2 {
    margin: 0;
}


/* ----------------------------------------------------------
   CAROUSEL
   ---------------------------------------------------------- */

.realizations-carousel__container {
    position: relative;
}

.realizations-carousel__viewport {
    position: relative;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;

    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;

    touch-action: pan-x pan-y;

    cursor: grab;
}

.realizations-carousel__viewport:active {
    cursor: grabbing;
}

.realizations-carousel__viewport::-webkit-scrollbar {
    display: none;
}


/* ----------------------------------------------------------
   TRACK
   ---------------------------------------------------------- */

.realizations-carousel__track {
    display: grid;
    grid-auto-flow: column;

    /*
     * 3 zdjęcia na komputerze.
     */
    grid-auto-columns: calc((100% - 24px) / 3);

    gap: 12px;

    width: 100%;
}


/* ----------------------------------------------------------
   ITEM
   ---------------------------------------------------------- */

.realizations-carousel__item {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #ececec;

    scroll-snap-align: start;

    text-decoration: none;
}


/* ----------------------------------------------------------
   IMAGE
   ---------------------------------------------------------- */

.realizations-carousel__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}


/* subtelny efekt na desktopie */

@media (hover: hover) {

    .realizations-carousel__item:hover
    .realizations-carousel__image {
        transform: scale(1.035);
    }
}


/* ----------------------------------------------------------
   BUTTON POD CAROUSELEM
   ---------------------------------------------------------- */

.realizations-carousel__footer {
    display: flex;
    justify-content: center;

    margin-top: 38px;
}

.realizations-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .realizations-carousel__track {

        /*
         * 2 zdjęcia.
         */
        grid-auto-columns:
            calc((100% - 12px) / 2);
    }

}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 640px) {

    .realizations-carousel__head {
        margin-bottom: 24px;
    }

    .realizations-carousel__track {

        /*
         * Zdjęcie + fragment następnego,
         * aby było oczywiste, że można przesunąć palcem.
         */
        grid-auto-columns: 86%;

        gap: 10px;
    }

    .realizations-carousel__footer {
        margin-top: 28px;
    }

    .realizations-carousel__button {
        width: 100%;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .realizations-carousel__image {
        transition: none;
    }

}

/* ============================================================
   DODATKOWY ZAKRES
============================================================ */

.section-extra-modern {
    padding: 50px 0 50px;
    background: #f6f3ed;
}


/* ============================================================
   NAGŁÓWEK
============================================================ */

.extra-modern-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;

    margin-bottom: 52px;
}


.extra-modern-heading {
    max-width: 720px;
}


.extra-modern-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}


.extra-modern-heading .eyebrow::before {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    background: #d9a32d;
}


.extra-modern-heading h2 {
    margin: 0;

    max-width: 700px;

    color: #161616;

    font-size: clamp(44px, 3vw, 38px);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.045em;
}


.extra-modern-heading p {
    max-width: 620px;

    margin: 22px 0 0;

    color: #6f6b65;

    font-size: 16px;
    line-height: 1.75;
}


/* ============================================================
   GŁÓWNY BUTTON
============================================================ */

.extra-modern-header__action {
    flex: 0 0 auto;

    padding-bottom: 10px;
}


.extra-modern-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 58px;

    padding: 0 27px;

    color: #ffffff;
    background: #181818;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 300ms ease,
        transform 300ms ease;
}


.extra-modern-main-button:hover {
    color: #ffffff;
    background: #292929;

    transform: translateY(-2px);
}


.extra-modern-main-button svg {
    width: 17px;
    height: 17px;
}



/* ============================================================
   GRID - ZAWSZE 4 STATYCZNE KAFLE NA DESKTOP
============================================================ */

.extra-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}



/* ============================================================
   KARTA
============================================================ */

.extra-modern-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 510px;

    overflow: hidden;

    color: #161616;
    background: #ffffff;

    border: 1px solid rgba(20, 20, 20, 0.10);
    border-radius: 13px;

    text-decoration: none;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.025);

    transition:
        transform 350ms cubic-bezier(.22, 1, .36, 1),
        box-shadow 350ms cubic-bezier(.22, 1, .36, 1),
        border-color 350ms cubic-bezier(.22, 1, .36, 1);
}


.extra-modern-card:hover {
    color: #161616;

    transform: translateY(-7px);

    border-color: rgba(217, 163, 45, 0.32);

    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.09);
}



/* ============================================================
   ZDJĘCIE
============================================================ */

.extra-modern-card__image {
    position: relative;

    width: 100%;
    aspect-ratio: 1.42 / 1;

    overflow: hidden;

    background: #dedbd4;
}


.extra-modern-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 700ms cubic-bezier(.22, 1, .36, 1);
}


.extra-modern-card:hover .extra-modern-card__image img {
    transform: scale(1.045);
}


.extra-modern-card__placeholder {
    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #d9d5cc,
            #ece8e1
        );
}



/* ============================================================
   TREŚĆ KARTY
============================================================ */

.extra-modern-card__body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 29px 25px 26px;
}



/* złota kreska */

.extra-modern-card__mark {
    display: block;

    width: 27px;
    height: 3px;

    margin-bottom: 21px;

    background: #d8a12c;

    transition:
        width 350ms cubic-bezier(.22, 1, .36, 1);
}


.extra-modern-card:hover .extra-modern-card__mark {
    width: 44px;
}



/* ============================================================
   TYTUŁ
============================================================ */

.extra-modern-card h3 {
    margin: 0 0 15px;

    color: #171717;

    font-size: 19px;
    font-weight: 750;
    line-height: 1.24;
    letter-spacing: -0.025em;
}



/* ============================================================
   OPIS
============================================================ */

.extra-modern-card p {
    margin: 0 0 30px;

    color: #706c66;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}



/* ============================================================
   LINK NA DOLE
============================================================ */

.extra-modern-card__link {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    margin-top: auto;

    color: #171717;

    font-size: 14px;
    font-weight: 750;
}


.extra-modern-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #d19a23;

    transition:
        transform 300ms cubic-bezier(.22, 1, .36, 1);
}


.extra-modern-card:hover .extra-modern-card__arrow {
    transform: translateX(5px);
}


.extra-modern-card__arrow svg {
    width: 17px;
    height: 17px;
}



/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .extra-modern-header {
        align-items: flex-start;
    }


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

        gap: 22px;
    }


    .extra-modern-card {
        min-height: 500px;
    }

}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 760px) {

    .section-extra-modern {
        padding: 70px 0 76px;
    }


    .extra-modern-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 30px;

        margin-bottom: 38px;
    }


    .extra-modern-heading h2 {
        font-size: clamp(37px, 11vw, 52px);
    }


    .extra-modern-heading h2 br {
        display: none;
    }


    .extra-modern-heading p {
        margin-top: 18px;

        font-size: 15px;
    }


    .extra-modern-header__action {
        width: 100%;

        padding: 0;
    }


    .extra-modern-main-button {
        width: 100%;
    }


    .extra-modern-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .extra-modern-card {
        min-height: 0;
    }


    .extra-modern-card__image {
        aspect-ratio: 16 / 9;
    }


    .extra-modern-card__body {
        padding: 25px 22px 24px;
    }

}



/* ============================================================
   MAŁY TELEFON
============================================================ */

@media (max-width: 420px) {

    .extra-modern-heading h2 {
        font-size: 35px;
    }


    .extra-modern-card h3 {
        font-size: 18px;
    }

}


/* ============================================================
   HEADER - MENU IDEALNIE NA ŚRODKU
   ============================================================ */

@media (min-width: 992px) {

    .header-main__inner {
        position: relative;

        display: flex;
        align-items: center;

        min-height: 86px;
    }


    /* LOGO - LEWA STRONA */

    .header-main__inner .brand {
        position: relative;
        z-index: 3;

        flex: 0 0 auto;
    }


    /* NAV zajmuje całą dostępną przestrzeń */

    .header-main__inner .site-nav {
        position: static;

        display: flex;
        align-items: center;
        justify-content: center;

        flex: 1;

        margin: 0;
        padding: 0;
    }


    /* WŁAŚCIWE MENU IDEALNIE NA ŚRODKU HEADERA */

    .header-main__inner .site-nav__list {
        position: absolute;

        left: 50%;
        top: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 32px;

        margin: 0;
        padding: 0;

        transform: translate(-50%, -50%);
    }


    .header-main__inner .site-nav__list > li {
        margin: 0;
    }


    /* CTA - PRAWA STRONA */

    .header-main__inner .nav-cta {
        position: absolute;

        right: 0;
        top: 50%;

        margin: 0;

        transform: translateY(-50%);
    }


    /* hamburger niewidoczny na desktopie */

    .header-main__inner .nav-toggle {
        display: none;
    }

}


/* ============================================================
   MOBILE / TABLET
   Przywracamy normalne działanie menu mobilnego
   ============================================================ */

@media (max-width: 991px) {

    .header-main__inner {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .header-main__inner .site-nav__list {
        position: static;

        transform: none;
    }


    .header-main__inner .nav-cta {
        position: static;

        transform: none;
    }

}

/* ============================================================
   CONTACT FORM 7 - INTER DACH
============================================================ */

.interdach-contact-form {
    --form-gold: #dca52c;
    --form-dark: #171717;
    --form-text: #5f5b54;
    --form-border: #ded9cf;
    --form-bg: #f8f6f0;
    --form-white: #ffffff;

    width: 100%;
}


/* ============================================================
   USUWANIE DOMYŚLNYCH ODSTĘPÓW CF7
============================================================ */

.interdach-contact-form p {
    margin: 0;
}


.interdach-contact-form br {
    display: none;
}


.interdach-contact-form .wpcf7-form-control-wrap {
    display: block;

    width: 100%;
}


/* ============================================================
   GRID
============================================================ */

.interdach-contact-form__row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* ============================================================
   FIELD
============================================================ */

.interdach-contact-form__field {
    margin-bottom: 18px;
}


.interdach-contact-form__field label {
    display: block;

    margin-bottom: 8px;

    color: var(--form-dark);

    font-size: 12px;
    font-weight: 800;

    line-height: 1.3;

    letter-spacing: .04em;

    text-transform: uppercase;
}


/* ============================================================
   INPUT
============================================================ */

.interdach-contact-form__input,
.interdach-contact-form__textarea {
    display: block;

    width: 100%;

    margin: 0;

    padding: 13px 15px;

    color: var(--form-dark);

    background: var(--form-bg);

    border: 1px solid var(--form-border);

    border-radius: 3px;

    outline: none;

    font-family: inherit;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;

    box-shadow: none;

    transition:
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease;
}


.interdach-contact-form__input {
    min-height: 48px;
}


.interdach-contact-form__textarea {
    min-height: 130px;

    max-height: 260px;

    resize: vertical;
}


/* ============================================================
   PLACEHOLDER
============================================================ */

.interdach-contact-form__input::placeholder,
.interdach-contact-form__textarea::placeholder {
    color: #99958d;

    opacity: 1;
}


/* ============================================================
   FOCUS
============================================================ */

.interdach-contact-form__input:focus,
.interdach-contact-form__textarea:focus {
    background: #ffffff;

    border-color: var(--form-gold);

    box-shadow:
        0 0 0 3px rgba(220, 165, 44, .10);
}


/* ============================================================
   BOTTOM
============================================================ */

.interdach-contact-form__bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 4px;
}


.interdach-contact-form__notice {
    max-width: 260px;

    color: #817d76;

    font-size: 11px;

    line-height: 1.5;
}


/* ============================================================
   SUBMIT
============================================================ */

.interdach-contact-form__submit {
    flex: 0 0 auto;
}


.interdach-contact-form__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin: 0;

    padding: 0 26px;

    color: #151515;

    background: var(--form-gold);

    border: 1px solid var(--form-gold);

    border-radius: 4px;

    font-family: inherit;

    font-size: 13px;
    font-weight: 800;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.interdach-contact-form__button:hover {
    background: #ebb438;

    border-color: #ebb438;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .12);
}


.interdach-contact-form__button:active {
    transform: translateY(0);
}


/* ============================================================
   SPINNER CF7
============================================================ */

.interdach-contact-form .wpcf7-spinner {
    margin:
        0
        0
        0
        10px;

    vertical-align: middle;
}


/* ============================================================
   WALIDACJA
============================================================ */

.interdach-contact-form
.wpcf7-not-valid {
    border-color: #c94b42;
}


.interdach-contact-form
.wpcf7-not-valid-tip {
    margin-top: 5px;

    color: #b93e36;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;
}


/* ============================================================
   KOMUNIKAT CF7
============================================================ */

.interdach-contact-form
~ .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    margin:
        20px
        0
        0;

    padding:
        12px
        15px;

    color: #4d4943;

    background: #f8f6f0;

    border:
        1px solid #ded9cf;

    border-left:
        3px solid var(--form-gold);

    border-radius: 2px;

    font-size: 12px;

    line-height: 1.55;
}


.wpcf7 form.sent
.wpcf7-response-output {
    border-color: #58a16c;

    border-left-color: #58a16c;

    background: #f3faf5;
}


.wpcf7 form.invalid
.wpcf7-response-output,
.wpcf7 form.unaccepted
.wpcf7-response-output,
.wpcf7 form.payment-required
.wpcf7-response-output {
    border-color: #dca52c;

    border-left-color: #dca52c;
}


/* ============================================================
   AUTOFILL CHROME
============================================================ */

.interdach-contact-form input:-webkit-autofill,
.interdach-contact-form input:-webkit-autofill:hover,
.interdach-contact-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #171717;

    -webkit-box-shadow:
        0 0 0 1000px #f8f6f0 inset;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .interdach-contact-form__row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .interdach-contact-form__field {
        margin-bottom: 15px;
    }


    .interdach-contact-form__textarea {
        min-height: 120px;
    }


    .interdach-contact-form__bottom {
        flex-direction: column;

        align-items: stretch;

        gap: 14px;
    }


    .interdach-contact-form__notice {
        max-width: none;
    }


    .interdach-contact-form__submit {
        width: 100%;
    }


    .interdach-contact-form__button {
        width: 100%;
    }

}