:root {
    --bg: #f3f1ec;
    --bg-soft: #ebe7df;
    --bg-dark: #1a1814;
    --bg-dark-2: #26221c;
    --ink: #1c1915;
    --ink-soft: #5c564c;
    --line: rgba(28, 25, 21, 0.12);
    --gold: #b8933d;
    --gold-deep: #8f6f28;
    --gold-soft: #d6bc7a;
    --white: #fffdf9;
    --shadow: 0 18px 50px rgba(28, 25, 21, 0.12);
    --radius: 4px;
    --container: 1180px;
    --font: "Manrope", system-ui, sans-serif;
    --display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(184, 147, 61, 0.08), transparent 55%),
        linear-gradient(180deg, #f7f5f0 0%, var(--bg) 40%, #efebe3 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--ink);
    color: var(--white);
    padding: 0.6rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 1rem;
}

/* Header – układ jak Magia Natury */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(184, 147, 61, 0.35);
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand__text strong {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand__text em {
    font-family: var(--display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.header-phone__label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.header-phone__number {
    font-weight: 700;
    font-size: 1.05rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span:not(.visually-hidden) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.site-nav {
    border-top: 1px solid var(--line);
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
}

.site-nav__list a {
    display: inline-block;
    padding: 0.85rem 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 2px solid transparent;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
    color: var(--ink);
    border-bottom-color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--small {
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
}

.btn:disabled {
    opacity: 0.85;
    cursor: default;
    transform: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(143, 111, 40, 0.28);
}

.btn--gold:hover {
    filter: brightness(1.05);
}

.btn--outline {
    background: transparent;
    border-color: rgba(28, 25, 21, 0.28);
    color: var(--ink);
}

.btn--outline:hover {
    border-color: var(--ink);
    background: rgba(255, 253, 249, 0.7);
}

.btn--ghost-light {
    background: transparent;
    border-color: rgba(255, 253, 249, 0.35);
    color: var(--white);
}

.btn--ghost-light:hover {
    background: rgba(255, 253, 249, 0.08);
}

/* Hero split – kompaktowy, poziomy */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
    min-height: 360px;
    align-items: stretch;
    background: #f7f5f0;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.1rem, 3.2vw, 2.6rem);
    animation: rise 0.9s ease both;
    background: #f7f5f0;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.hero h1,
.section-head h2,
.banner-strip h2,
.cta-final h2,
.footer-brand h2 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0;
}

.hero h1 {
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
    max-width: none;
}

.hero__lead {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 42ch;
    line-height: 1.45;
}

.hero__divider {
    width: 48px;
    height: 2px;
    margin: 0.65rem 0;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__note {
    margin: 0;
    color: var(--ink-soft);
    max-width: 42ch;
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.hero__facts {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
}

.hero__facts li {
    position: relative;
    padding-left: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.hero__facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.hero__media {
    position: relative;
    overflow: hidden;
    min-height: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, #2a2620 0%, #1a1814 70%),
        #1a1814;
    animation: fade-in 1.1s ease both;
    border-left: 1px solid rgba(184, 147, 61, 0.18);
}

.hero__media img {
    width: min(72%, 340px);
    height: auto;
    max-height: min(88%, 360px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Sections */
.section {
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
}

.section-head--left {
    text-align: left;
    margin-left: 0;
    margin-bottom: 0;
}

.section-head h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    margin-bottom: 0.45rem;
}

.section-head p {
    margin: 0;
    color: var(--ink-soft);
}

.section-head .btn {
    margin-top: 1.25rem;
}

/* Before / After */
.compare-section {
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.55), transparent),
        radial-gradient(700px 280px at 80% 0%, rgba(184, 147, 61, 0.1), transparent 60%);
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.compare-card h3 {
    margin: 0 0 0.65rem;
    font-size: 0.98rem;
    text-align: center;
}

.ba-compare {
    max-width: none;
    margin: 0;
    position: relative;
}

.ba-compare__images {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3 / 4;
    box-shadow: 0 10px 28px rgba(28, 25, 21, 0.12);
    background: #111;
    user-select: none;
    touch-action: none;
    cursor: ew-resize;
}

.ba-compare__after,
.ba-compare__before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-compare__after {
    position: absolute;
    inset: 0;
}

.ba-compare__before-wrap {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    border-right: 0;
    z-index: 2;
}

.ba-compare__before {
    position: absolute;
    inset: 0;
    width: var(--compare-full-width, 720px);
    max-width: none;
    height: 100%;
}

.ba-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-compare__line {
    position: absolute;
    inset: 0 auto 0 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

.ba-compare__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 253, 249, 0.95);
    background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
    color: #fff;
    display: grid;
    place-items: center;
    pointer-events: auto;
    cursor: ew-resize;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ba-compare__knob svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ba-compare__label {
    position: absolute;
    top: 0.65rem;
    z-index: 4;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(26, 24, 20, 0.72);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.ba-compare__label--before {
    left: 0.65rem;
}

.ba-compare__label--after {
    right: 0.65rem;
}

.ba-compare__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

/* Realizations */
.realizations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.real-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.real-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.real-card:hover img {
    transform: scale(1.03);
}

.real-card figure {
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1814;
}

.real-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.real-card__body {
    padding: 0.75rem 0.85rem 0.9rem;
}

.real-card__body h3 {
    margin: 0 0 0.3rem;
    font-size: 0.98rem;
}

.real-card__body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

/* Reviews */
.reviews-section {
    background: rgba(255, 253, 249, 0.55);
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
    text-align: center;
}

.reviews-summary__score {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
}

.reviews-summary__score strong {
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1;
}

.stars {
    color: #e2b400;
    letter-spacing: 0.05em;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.05rem;
}

.review-card__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 0.7rem;
}

.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.review-card__top strong {
    display: block;
    font-size: 0.92rem;
}

.review-card__top .stars {
    font-size: 0.78rem;
}

.review-card__g {
    opacity: 0.7;
}

.review-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card figure {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ddd;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: 0.9rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.blog-card__body h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.blog-card__body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    flex: 1;
}

.blog-card .btn {
    align-self: flex-start;
}

/* Video */
.video-section {
    background: linear-gradient(180deg, var(--bg-soft), #e7e2d8);
}

.video-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
}

.video-frame {
    justify-self: center;
    background: var(--bg-dark);
    padding: 0.7rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.video-frame iframe {
    display: block;
    max-width: 100%;
    width: 220px;
    height: 390px;
    border-radius: 8px;
    background: #000;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.service-item {
    padding: 1.1rem 1rem;
    background: rgba(255, 253, 249, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-item__num {
    display: block;
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--gold-deep);
    margin-bottom: 0.4rem;
}

.service-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.service-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/* Process – poziome drzewko */
.process {
    background: linear-gradient(180deg, transparent, rgba(255, 253, 249, 0.55));
}

.process-head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: end;
    padding-bottom: 1.1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.process-head h2 {
    font-family: var(--display);
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    margin: 0;
    line-height: 1.15;
}

.process-head > p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    max-width: 36ch;
    justify-self: end;
}

.process-tree {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    position: relative;
}

.process-tree::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 147, 61, 0.45), transparent);
    pointer-events: none;
}

.process-tree li {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-tree__icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.55rem;
    color: var(--gold-deep);
    background: var(--bg);
    border-radius: 50%;
}

.process-tree__icon svg {
    width: 48px;
    height: 48px;
}

.process-tree__num {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.process-tree strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.process-tree p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}

/* Carousel */
.gallery-section {
    background: rgba(255, 253, 249, 0.5);
}

.carousel {
    position: relative;
}

.carousel__viewport {
    overflow: hidden;
}

.carousel__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
}

.carousel__slide figure {
    margin: 0;
}

.carousel__slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: #ddd;
}

.carousel__slide figcaption {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

.carousel__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 1.1rem;
}

.carousel__nav-left,
.carousel__nav-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.carousel__nav-right {
    justify-content: flex-end;
}

.carousel__btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.carousel__btn:hover {
    border-color: var(--gold);
    color: var(--ink);
}

.carousel__btn svg {
    width: 18px;
    height: 18px;
}

.carousel__counter {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.carousel__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.carousel__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(28, 25, 21, 0.22);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.carousel__dot.is-active {
    width: 18px;
    border-radius: 999px;
    background: var(--gold-deep);
}

/* Banner strip */
.banner-strip {
    background:
        linear-gradient(120deg, rgba(26, 24, 20, 0.92), rgba(38, 34, 28, 0.88)),
        url("../images/realizacja-09.jpg") center / cover;
    color: var(--white);
    padding: clamp(1.5rem, 3vw, 2.2rem) 0;
}

.banner-strip__inner {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: end;
    flex-wrap: wrap;
}

.banner-strip .eyebrow {
    color: var(--gold-soft);
    margin-bottom: 0.35rem;
}

.banner-strip h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin: 0.1rem 0 0.3rem;
}

.banner-strip p {
    margin: 0;
    color: rgba(255, 253, 249, 0.78);
}

.banner-strip__contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.banner-strip__contact a:hover {
    color: var(--gold-soft);
}

/* CTA */
.cta-final__box {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background:
        radial-gradient(500px 180px at 50% 0%, rgba(184, 147, 61, 0.14), transparent 70%),
        var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.cta-final h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 0.4rem;
}

.cta-final p {
    margin: 0 auto 1rem;
    color: var(--ink-soft);
    max-width: 36ch;
}

.cta-final .hero__actions {
    justify-content: center;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 253, 249, 0.86);
    padding-top: clamp(2rem, 4vw, 3rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.2fr;
    gap: 1.5rem;
    padding-bottom: 1.6rem;
}

.footer-brand img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin-bottom: 0.9rem;
    box-shadow: 0 0 0 2px rgba(184, 147, 61, 0.4);
}

.footer-brand h2,
.footer-contact h3,
.footer-cta h3 {
    color: var(--white);
    margin: 0 0 0.7rem;
}

.footer-brand p,
.footer-cta p {
    margin: 0 0 0.55rem;
    color: rgba(255, 253, 249, 0.68);
}

.footer-owner {
    color: var(--gold-soft) !important;
    font-family: var(--display);
    font-size: 1.2rem;
}

.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-contact a:hover {
    color: var(--gold-soft);
}

.footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 249, 0.1);
    padding: 1rem 0 1.3rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 253, 249, 0.45);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
    .compare-grid,
    .reviews-grid,
    .blog-grid,
    .realizations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compare-grid .compare-card:last-child {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
        width: 100%;
    }

    .services-grid,
    .footer-grid,
    .video-layout,
    .process-head {
        grid-template-columns: 1fr;
    }

    .process-head > p {
        justify-self: start;
        max-width: none;
    }

    .process-tree {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem 0.85rem;
    }

    .process-tree::before {
        display: none;
    }

    .carousel__slide {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        background: #f7f5f0;
    }

    .hero__content {
        order: 1;
        background: #f7f5f0;
        padding: 1.35rem 1.15rem 1.6rem;
    }

    .hero__media {
        order: 0;
        min-height: 200px;
        padding: 1.4rem 0;
        background: #1a1814;
        border-left: 0;
        border-bottom: 1px solid rgba(184, 147, 61, 0.2);
    }

    .hero__media img {
        width: min(48%, 180px);
        max-height: 180px;
    }

    .hero__lead,
    .hero__note {
        max-width: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__facts {
        flex-direction: column;
        gap: 0.45rem;
    }

    .header-actions .btn,
    .header-phone {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        border-top: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 0.4rem 0 1rem;
    }

    .site-nav__list a {
        padding: 0.75rem 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.5rem, var(--container));
    }

    .compare-grid,
    .reviews-grid,
    .blog-grid,
    .realizations-grid,
    .process-tree {
        grid-template-columns: 1fr;
    }

    .compare-grid .compare-card:last-child {
        max-width: none;
    }

    .carousel__slide {
        flex-basis: 100%;
    }

    .carousel__controls {
        grid-template-columns: auto 1fr auto;
    }

    .carousel__dots {
        order: 0;
    }

    .brand__text em {
        display: none;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }
}
