/* =========================================================
   GA TILE WOOD REMODELING
   Responsive multi-page website stylesheet
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --brown-950: #171411;
    --brown-900: #211c17;
    --brown-800: #34271d;
    --brown-700: #674421;
    --brown-600: #85582c;
    --gold-500: #c59252;
    --gold-400: #d8ad74;
    --sage-700: #4e5d43;
    --sage-600: #657557;
    --sage-100: #eef1ea;
    --ivory-50: #fcfaf6;
    --ivory-100: #f7f2e9;
    --ivory-200: #eee4d6;
    --stone-500: #716b63;
    --stone-700: #48443f;
    --white: #ffffff;
    --black: #0b0a09;
    --success: #2e6f40;
    --error: #a23a32;
    --border: rgba(83, 63, 42, 0.15);
    --border-dark: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 8px 24px rgba(35, 25, 16, 0.08);
    --shadow-md: 0 18px 48px rgba(35, 25, 16, 0.13);
    --shadow-lg: 0 28px 80px rgba(19, 14, 10, 0.22);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1200px;
    --header-height: 86px;
    --transition: 220ms ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    color: var(--brown-950);
    background: var(--ivory-50);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.lightbox-open {
    overflow: hidden;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

svg {
    width: 1.25em;
    height: 1.25em;
    flex: 0 0 auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

h1,
h2,
h3,
h4 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5.3vw, 4.9rem);
}

h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

::selection {
    color: var(--white);
    background: var(--brown-700);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: clamp(76px, 8.2vw, 118px);
}

.section--compact {
    padding-block: clamp(58px, 6vw, 82px);
}

.section--tint {
    background:
        radial-gradient(circle at 0 0, rgba(197, 146, 82, 0.11), transparent 30%),
        var(--ivory-100);
}

.section--dark {
    color: var(--white);
    background:
        radial-gradient(circle at 15% 0, rgba(197, 146, 82, 0.2), transparent 28%),
        linear-gradient(135deg, var(--brown-950), var(--brown-800));
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--brown-950);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform var(--transition);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--brown-600);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 2px;
    content: "";
    background: currentColor;
}

.eyebrow--light {
    color: var(--gold-400);
}

.lead {
    color: var(--stone-700);
    font-size: clamp(1.06rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

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

.section-heading h2,
.section-copy h2 {
    max-width: 830px;
    margin-bottom: 20px;
}

.section-heading > p,
.section-copy > p {
    max-width: 720px;
    color: var(--stone-500);
}

.section-copy > p + p {
    margin-top: 16px;
}

.section-heading--center {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.section-heading--center h2,
.section-heading--center p {
    margin-inline: auto;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 50px;
}

.section-heading--split > div:first-child h2 {
    margin-bottom: 0;
}

.section-heading--split > div:last-child,
.section-heading--split > p {
    color: var(--stone-500);
}

.section-heading--split .text-link {
    margin-top: 16px;
}

.section-heading--light h2,
.section-heading--light p {
    color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brown-700);
    font-weight: 800;
    line-height: 1.35;
}

.text-link svg {
    transition: transform var(--transition);
}

.text-link:hover svg {
    transform: translateX(5px);
}

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(197, 146, 82, 0.5);
    outline-offset: 3px;
}

.btn--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--gold-500), var(--brown-600));
    box-shadow: 0 12px 28px rgba(103, 68, 33, 0.24);
}

.btn--primary:hover {
    box-shadow: 0 16px 36px rgba(103, 68, 33, 0.34);
}

.btn--secondary {
    color: var(--white);
    background: var(--sage-700);
    box-shadow: 0 12px 28px rgba(78, 93, 67, 0.22);
}

.btn--secondary:hover {
    background: var(--sage-600);
}

.btn--light {
    color: var(--brown-950);
    background: var(--white);
}

.btn--outline-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn--hero-secondary {
    color: var(--brown-950);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn--hero-secondary:hover {
    color: var(--brown-950);
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.btn--wide {
    width: 100%;
}

/* Top bar and header */
.topbar {
    position: relative;
    z-index: 1200;
    color: rgba(255, 255, 255, 0.9);
    background: var(--brown-950);
    font-size: 0.82rem;
}

.topbar__inner {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar__service,
.topbar__links,
.topbar__links a {
    display: flex;
    align-items: center;
}

.topbar__service,
.topbar__links a {
    gap: 8px;
}

.topbar__service svg,
.topbar__links svg {
    color: var(--gold-400);
}

.topbar__links {
    gap: 24px;
}

.topbar__links a:hover {
    color: var(--gold-400);
}

.site-header {
    position: sticky;
    z-index: 1100;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--border);
    box-shadow: 0 12px 35px rgba(35, 25, 16, 0.09);
}

.header__inner {
    display: grid;
    min-height: var(--header-height);
    grid-template-columns: minmax(230px, 1fr) auto minmax(190px, 1fr);
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    max-width: 310px;
    align-items: center;
}

.brand img {
    width: min(100%, 310px);
}

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav li a {
    position: relative;
    display: inline-flex;
    padding-block: 14px;
    color: var(--brown-900);
    font-size: 0.9rem;
    font-weight: 800;
}

.site-nav li a::after {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.site-nav li a:hover,
.site-nav li a.is-active {
    color: var(--brown-600);
}

.site-nav li a:hover::after,
.site-nav li a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-quote {
    justify-self: end;
}

.nav-quote,
.menu-toggle {
    display: none;
}

/* Hero */
.hero,
.hero__slider {
    position: relative;
    min-height: min(770px, calc(100svh - 128px));
    overflow: hidden;
    background: var(--brown-950);
}

.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    visibility: hidden;
    align-items: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 700ms ease, visibility 700ms ease, transform 6s ease;
}

.hero__background {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.hero__slide--1 .hero__background { object-position: 60% 50%; }
.hero__slide--2 .hero__background { object-position: 54% 48%; }
.hero__slide--3 .hero__background { object-position: 58% 52%; }

.hero__slide::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(19, 14, 10, 0.92) 0%, rgba(24, 18, 13, 0.79) 45%, rgba(24, 18, 13, 0.25) 78%, rgba(24, 18, 13, 0.18) 100%);
    pointer-events: none;
}

.hero__slide::after {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 34%;
    content: "";
    background: linear-gradient(transparent, rgba(16, 12, 9, 0.55));
    pointer-events: none;
}

.hero__slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: clamp(112px, 12vw, 156px) 150px;
}

.hero__content h1,
.hero__content h2 {
    max-width: 820px;
    margin-bottom: 24px;
    color: var(--white);
    text-wrap: balance;
}

.hero__content > p {
    max-width: 680px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.hero__actions,
.section-copy__actions,
.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero__actions .btn {
    min-width: 228px;
    min-height: 56px;
    padding-inline: 24px;
    white-space: nowrap;
}

.hero__assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero__assurances li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__assurances svg {
    color: var(--gold-400);
}

.hero__controls {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 30px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero__dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__dot {
    width: 36px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width var(--transition), background var(--transition);
}

.hero__dot.is-active {
    width: 62px;
    background: var(--gold-400);
}

.hero__contact-card {
    display: flex;
    min-width: 310px;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(12px);
}

.hero__contact-card > svg {
    width: 26px;
    height: 26px;
    color: var(--gold-400);
}

.hero__contact-card span {
    display: grid;
}

.hero__contact-card small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
}

.hero__contact-card a {
    font-size: 1.12rem;
    font-weight: 800;
}

/* Trust strip */
.trust-strip {
    position: relative;
    z-index: 6;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-strip__grid > div {
    display: flex;
    min-height: 105px;
    align-items: center;
    gap: 14px;
    padding: 24px;
    border-right: 1px solid var(--border);
}

.trust-strip__grid > div:first-child {
    border-left: 1px solid var(--border);
}

.trust-strip__grid svg {
    width: 28px;
    height: 28px;
    color: var(--brown-600);
}

.trust-strip__grid span {
    display: grid;
    color: var(--stone-500);
    font-size: 0.82rem;
    line-height: 1.45;
}

.trust-strip__grid strong {
    color: var(--brown-950);
    font-size: 0.95rem;
}

/* Shared layouts */
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
}

.split-layout--reverse .section-copy {
    order: -1;
}

.split-layout--compact {
    gap: clamp(38px, 5vw, 64px);
}

.image-composition {
    position: relative;
    min-height: 590px;
}

.image-composition__main {
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    height: 86%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-composition__main img,
.image-composition__secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-composition__secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    height: 48%;
    overflow: hidden;
    border: 9px solid var(--ivory-50);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.image-composition__badge {
    position: absolute;
    z-index: 2;
    right: 5%;
    top: 11%;
    display: flex;
    max-width: 230px;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    color: var(--white);
    background: var(--sage-700);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.image-composition__badge svg {
    width: 28px;
    height: 28px;
    color: var(--gold-400);
}

.image-composition__badge span {
    display: grid;
    font-size: 0.76rem;
    line-height: 1.35;
}

.image-composition__badge strong {
    font-size: 0.95rem;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin-block: 30px;
}

.feature-list > div,
.contact-expectations > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--stone-500);
}

.feature-list svg,
.contact-expectations svg {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    padding: 4px;
    color: var(--white);
    background: var(--sage-600);
    border-radius: 50%;
}

.feature-list span,
.contact-expectations span {
    display: grid;
}

.feature-list strong,
.contact-expectations strong {
    color: var(--brown-950);
}

/* Service cards */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.service-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 146, 82, 0.45);
    box-shadow: var(--shadow-md);
}

.service-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-card__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 55%, rgba(22, 16, 11, 0.56));
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

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

.service-card__image > span {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 14px;
    padding: 6px 10px;
    color: var(--white);
    background: rgba(23, 20, 17, 0.75);
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.service-card__body {
    position: relative;
    padding: 36px 28px 30px;
}

.service-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--brown-600);
    background: var(--ivory-100);
    border: 1px solid var(--border);
    border-radius: 50%;
}

.service-card__body > .service-card__icon {
    position: absolute;
    top: -30px;
    left: 28px;
    z-index: 3;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.service-card__icon svg {
    width: 27px;
    height: 27px;
}

.service-card__body h3 {
    margin: 14px 0 12px;
}

.service-card__body p {
    min-height: 82px;
    color: var(--stone-500);
}

.service-card__body > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--brown-700);
    font-size: 0.9rem;
    font-weight: 800;
}

.service-card__body > a svg {
    transition: transform var(--transition);
}

.service-card__body > a:hover svg {
    transform: translateX(5px);
}

.section-footer-action {
    margin-top: 44px;
    text-align: center;
}

/* Impact */
.impact-section {
    position: relative;
    padding-block: clamp(80px, 8vw, 112px);
    color: var(--white);
    background-image:
        linear-gradient(100deg, rgba(23, 20, 17, 0.96), rgba(33, 28, 23, 0.85) 52%, rgba(33, 28, 23, 0.63)),
        var(--impact-image);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.impact-section__inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: clamp(50px, 8vw, 100px);
}

.impact-section__copy h2 {
    margin-bottom: 18px;
}

.impact-section__copy p {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.72);
}

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

.stat-card {
    display: grid;
    min-height: 190px;
    align-content: center;
    padding: 24px 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stat-card strong {
    color: var(--gold-400);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1;
}

.stat-card > span {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
}

/* Featured gallery */
.featured-gallery {
    display: grid;
    height: 720px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 18px;
}

.project-tile {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--brown-900);
    cursor: pointer;
}

.project-tile--1 { grid-area: 1 / 1 / 8 / 6; }
.project-tile--2 { grid-area: 1 / 6 / 6 / 10; }
.project-tile--3 { grid-area: 1 / 10 / 6 / 13; }
.project-tile--4 { grid-area: 8 / 1 / 13 / 4; }
.project-tile--5 { grid-area: 8 / 4 / 13 / 8; }
.project-tile--6 { grid-area: 6 / 8 / 13 / 13; }

.project-tile img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms ease, filter 650ms ease;
}

.project-tile:hover img,
.gallery-card:hover img {
    filter: brightness(0.82);
    transform: scale(1.06);
}

.project-tile__overlay,
.gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    text-align: left;
    background: linear-gradient(transparent 38%, rgba(19, 14, 10, 0.88));
}

.project-tile__overlay small,
.gallery-card__overlay small {
    margin-bottom: 4px;
    color: var(--gold-400);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-tile__overlay strong,
.gallery-card__overlay strong {
    max-width: 80%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    line-height: 1.25;
}

.project-tile__overlay > svg,
.gallery-card__overlay > i {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 10px;
    color: var(--brown-950);
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition);
}

.gallery-card__overlay > i svg {
    width: 100%;
    height: 100%;
}

.project-tile:hover .project-tile__overlay > svg,
.gallery-card:hover .gallery-card__overlay > i {
    opacity: 1;
    transform: translateY(0);
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
}

.process-grid li {
    position: relative;
    min-height: 320px;
    padding: 34px 28px;
    background: rgba(26, 21, 17, 0.88);
}

.process-grid li > span {
    color: rgba(255, 255, 255, 0.14);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 1;
}

.process-grid li > div > svg {
    width: 34px;
    height: 34px;
    margin: 26px 0 18px;
    color: var(--gold-400);
}

.process-grid h3 {
    margin-bottom: 12px;
}

.process-grid p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

/* Testimonials */
.testimonial-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.testimonial-intro h2 {
    margin-bottom: 20px;
}

.testimonial-intro > p {
    color: var(--stone-500);
}

.rating-block {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.rating-block > div,
.testimonial-card__stars {
    display: flex;
    gap: 5px;
    color: var(--gold-500);
}

.rating-block svg,
.testimonial-card__stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke-width: 1.2;
}

.testimonial-slider {
    position: relative;
    min-height: 390px;
    padding: clamp(34px, 5vw, 58px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-slider::before {
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    content: "";
    background: var(--sage-100);
    border-radius: var(--radius-lg);
}

.testimonial-card {
    position: absolute;
    inset: clamp(34px, 5vw, 58px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 350ms ease, visibility 350ms ease, transform 350ms ease;
}

.testimonial-card.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card__quote {
    position: absolute;
    top: -12px;
    right: 0;
    color: var(--ivory-200);
}

.testimonial-card__quote svg {
    width: 72px;
    height: 72px;
    fill: currentColor;
    stroke: none;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 1;
    margin-block: 24px 30px;
    color: var(--brown-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.45;
}

.testimonial-card footer {
    display: grid;
}

.testimonial-card footer span {
    color: var(--stone-500);
    font-size: 0.84rem;
}

.testimonial-controls {
    position: absolute;
    right: clamp(34px, 5vw, 58px);
    bottom: 28px;
    left: clamp(34px, 5vw, 58px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-controls > button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--ivory-50);
    cursor: pointer;
}

.testimonial-controls > div {
    display: flex;
    gap: 8px;
}

.testimonial-controls > div button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ivory-200);
    cursor: pointer;
}

.testimonial-controls > div button.is-active {
    width: 24px;
    border-radius: 99px;
    background: var(--gold-500);
}

/* CTA */
.cta-band {
    color: var(--white);
    background:
        linear-gradient(110deg, rgba(78, 93, 67, 0.98), rgba(55, 69, 47, 0.94)),
        url('../images/project-deck-board-floor.jpg') center/cover;
}

.cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    align-items: center;
    gap: 52px;
}

.cta-band h2 {
    margin-bottom: 14px;
}

.cta-band p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.74);
}

/* Page hero */
.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 500px;
    align-items: center;
    color: var(--white);
    background-color: var(--brown-950);
    overflow: hidden;
}

.page-hero__background {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.page-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(20, 15, 11, 0.88) 0%, rgba(20, 15, 11, 0.69) 48%, rgba(20, 15, 11, 0.16) 100%);
}

.page-hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 80% 20%, rgba(197, 146, 82, 0.24), transparent 26%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28));
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: clamp(126px, 11vw, 164px);
    padding-bottom: clamp(88px, 8vw, 118px);
}

.page-hero--about .page-hero__background { object-position: 54% 45%; }
.page-hero--services .page-hero__background { object-position: 62% 48%; }
.page-hero--gallery .page-hero__background { object-position: 58% 52%; }
.page-hero--contact .page-hero__background { object-position: 58% 44%; }

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.page-hero p {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
}

.breadcrumbs a:hover {
    color: var(--gold-400);
}

.breadcrumbs svg {
    width: 14px;
    height: 14px;
}

.breadcrumbs span {
    color: var(--white);
}

/* About page */
.image-panel {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-panel > img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.image-panel__caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    color: var(--white);
    background: rgba(23, 20, 17, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.image-panel__caption > svg {
    width: 30px;
    height: 30px;
    color: var(--gold-400);
}

.image-panel__caption > div {
    display: grid;
}

.image-panel__caption span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
}

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

.value-card {
    position: relative;
    min-height: 310px;
    padding: 30px 26px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.value-card > span {
    position: absolute;
    top: 14px;
    right: 18px;
    color: var(--ivory-200);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.5rem;
    line-height: 1;
}

.value-card > svg {
    width: 38px;
    height: 38px;
    margin: 12px 0 42px;
    color: var(--brown-600);
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: var(--stone-500);
    font-size: 0.92rem;
}

.image-stack {
    position: relative;
    min-height: 600px;
}

.image-stack img {
    position: absolute;
    width: 74%;
    height: 78%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-stack img:first-child {
    top: 0;
    right: 0;
}

.image-stack img:last-child {
    bottom: 0;
    left: 0;
    width: 48%;
    height: 48%;
    border: 8px solid var(--ivory-50);
    border-radius: var(--radius-md);
}

.check-list {
    display: grid;
    gap: 18px;
    margin-block: 30px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--stone-500);
}

.check-list li > svg {
    width: 23px;
    height: 23px;
    margin-top: 2px;
    padding: 4px;
    color: var(--white);
    background: var(--sage-600);
    border-radius: 50%;
}

.check-list strong {
    color: var(--brown-950);
}

.check-list--compact {
    gap: 12px;
    margin-block: 22px;
}

.service-area-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(48px, 8vw, 100px);
}

.service-area-copy h2 {
    margin-bottom: 18px;
}

.service-area-copy p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.68);
}

.area-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.area-chip-grid span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 99px;
    font-size: 0.85rem;
}

.area-chip-grid svg {
    color: var(--gold-400);
}

/* Services page */
.service-index__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-index__card {
    display: grid;
    min-height: 104px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-index__card:hover {
    transform: translateX(5px);
    border-color: rgba(197, 146, 82, 0.5);
    box-shadow: var(--shadow-md);
}

.service-index__card > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--brown-600);
    background: var(--ivory-100);
    border-radius: 50%;
}

.service-index__card > span svg {
    width: 24px;
    height: 24px;
}

.service-index__card > div {
    display: grid;
}

.service-index__card small {
    color: var(--stone-500);
}

.service-index__card > svg {
    color: var(--gold-500);
}

.detailed-services__list {
    display: grid;
    gap: clamp(70px, 10vw, 130px);
}

.detailed-service {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(48px, 7vw, 90px);
}

.detailed-service--reverse .detailed-service__image {
    order: 2;
}

.detailed-service__image {
    position: relative;
    height: 520px;
}

.detailed-service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.detailed-service__image > span {
    position: absolute;
    right: -18px;
    bottom: -18px;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    color: var(--white);
    background: var(--sage-700);
    border: 8px solid var(--ivory-100);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
}

.detailed-service__copy .service-card__icon {
    margin-bottom: 22px;
}

.detailed-service__copy h2 {
    margin-bottom: 16px;
}

.process-light__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-light__grid article {
    position: relative;
    min-height: 290px;
    padding: 30px 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.process-light__grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: var(--ivory-200);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    line-height: 1;
}

.process-light__grid article > svg {
    width: 38px;
    height: 38px;
    margin: 16px 0 44px;
    color: var(--brown-600);
}

.process-light__grid h3 {
    margin-bottom: 12px;
}

.process-light__grid p {
    color: var(--stone-500);
    font-size: 0.9rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    align-items: start;
    gap: clamp(48px, 8vw, 100px);
}

.faq-intro {
    position: sticky;
    top: 130px;
}

.faq-intro .btn {
    margin-top: 28px;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion__item {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.accordion__item h3 {
    font-family: inherit;
}

.accordion__item button {
    display: flex;
    width: 100%;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border: 0;
    background: transparent;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.accordion__item button span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--brown-600);
    background: var(--ivory-100);
    border-radius: 50%;
}

.accordion__item button span svg {
    transition: transform var(--transition);
}

.accordion__item.is-open button span svg {
    transform: rotate(45deg);
}

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.accordion__panel > p {
    min-height: 0;
    overflow: hidden;
    color: var(--stone-500);
    padding-inline: 22px;
    transition: padding 300ms ease;
}

.accordion__item.is-open .accordion__panel {
    grid-template-rows: 1fr;
}

.accordion__item.is-open .accordion__panel > p {
    padding-bottom: 22px;
}

/* Gallery page */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 38px;
}

.gallery-filters button {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.gallery-filters button:hover,
.gallery-filters button.is-active {
    color: var(--white);
    background: var(--brown-700);
    border-color: var(--brown-700);
}

.gallery-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 350px;
    gap: 22px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--brown-900);
    cursor: pointer;
    transition: opacity var(--transition), transform var(--transition);
}

.gallery-card:nth-child(4n + 1) {
    grid-row: span 2;
}

.gallery-card.is-hidden {
    display: none;
}

.gallery-empty {
    padding: 40px;
    text-align: center;
    color: var(--stone-500);
}

.gallery-note__visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.gallery-note__visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.gallery-note__visual > div {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: grid;
    padding: 16px 18px;
    color: var(--white);
    background: rgba(23, 20, 17, 0.82);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.gallery-note__visual span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
}

/* Contact page */
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.contact-card {
    display: flex;
    min-height: 155px;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card[href]:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 146, 82, 0.5);
    box-shadow: var(--shadow-md);
}

.contact-card > svg {
    width: 28px;
    height: 28px;
    padding: 5px;
    color: var(--white);
    background: var(--brown-600);
    border-radius: 50%;
}

.contact-card > span {
    display: grid;
    min-width: 0;
}

.contact-card small {
    color: var(--stone-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-card strong {
    margin: 4px 0;
    overflow-wrap: anywhere;
}

.contact-card em {
    color: var(--stone-500);
    font-size: 0.78rem;
    font-style: normal;
}

.contact-main {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-main__intro {
    padding: clamp(36px, 5vw, 58px);
    background: var(--ivory-100);
}

.contact-main__intro h2 {
    margin-bottom: 18px;
}

.contact-main__intro > p {
    color: var(--stone-500);
}

.contact-expectations {
    display: grid;
    gap: 16px;
    margin-block: 30px;
}

.contact-main__image {
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.contact-main__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-card {
    padding: clamp(36px, 5vw, 58px);
}

.contact-form-card > h2 {
    margin-bottom: 6px;
    font-size: 2rem;
}

.contact-form-card > p {
    margin-bottom: 28px;
    color: var(--stone-500);
    font-size: 0.88rem;
}

.contact-form {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: 0.83rem;
    font-weight: 800;
}

.form-field label span {
    color: var(--error);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    color: var(--brown-950);
    background: var(--ivory-50);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: 0;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: var(--white);
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(197, 146, 82, 0.12);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
    border-color: var(--error);
}

.form-note {
    margin-top: 14px;
    color: var(--stone-500);
    font-size: 0.78rem;
    text-align: center;
}

.form-note a {
    color: var(--brown-700);
    font-weight: 800;
}

.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.form-status {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    color: var(--success);
    background: rgba(46, 111, 64, 0.1);
    border: 1px solid rgba(46, 111, 64, 0.25);
}

.form-status.is-error {
    color: var(--error);
    background: rgba(162, 58, 50, 0.1);
    border: 1px solid rgba(162, 58, 50, 0.25);
}

.contact-form.is-submitting .btn {
    opacity: 0.65;
    pointer-events: none;
}

.location-card,
.area-list-card {
    padding: clamp(32px, 5vw, 54px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.location-card__icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin-bottom: 28px;
    color: var(--white);
    background: var(--brown-600);
    border-radius: 50%;
}

.location-card__icon svg {
    width: 30px;
    height: 30px;
}

.location-card h2,
.area-list-card h2 {
    margin-bottom: 16px;
}

.location-card address {
    margin-bottom: 10px;
    color: var(--brown-700);
    font-weight: 800;
}

.location-card p,
.area-list-card p {
    margin-bottom: 24px;
    color: var(--stone-500);
}

.area-chip-grid--light span {
    color: var(--brown-900);
    background: var(--ivory-100);
    border-color: var(--border);
}

.area-list-card > p {
    margin: 26px 0 0;
}

.area-list-card a {
    color: var(--brown-700);
    font-weight: 800;
}

/* Footer */
.site-footer {
    padding-top: 72px;
    color: rgba(255, 255, 255, 0.73);
    background:
        radial-gradient(circle at 10% 0, rgba(197, 146, 82, 0.15), transparent 24%),
        var(--brown-950);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 0.7fr 0.9fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer__brand img {
    width: min(100%, 320px);
    margin-bottom: 24px;
}

.footer__brand > p {
    max-width: 420px;
    font-size: 0.9rem;
}

.footer__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: var(--white);
}

.footer__phone > svg {
    width: 36px;
    height: 36px;
    padding: 8px;
    color: var(--brown-950);
    background: var(--gold-400);
    border-radius: 50%;
}

.footer__phone span {
    display: grid;
    font-size: 1.12rem;
    font-weight: 800;
}

.footer__phone small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    font-weight: 500;
}

.footer__grid h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer__links,
.footer__contact {
    display: grid;
    gap: 12px;
}

.footer__links a,
.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
}

.footer__links svg,
.footer__contact svg {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    color: var(--gold-400);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--gold-400);
}

.footer__bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
}

.mobile-callbar {
    display: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: grid;
    visibility: hidden;
    place-items: center;
    padding: 52px 80px;
    background: rgba(9, 7, 5, 0.94);
    opacity: 0;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
    visibility: visible;
    opacity: 1;
}

.lightbox figure {
    display: grid;
    max-width: min(100%, 1080px);
    max-height: 88vh;
    justify-items: center;
    gap: 14px;
}

.lightbox img {
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.lightbox figcaption {
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
}

.lightbox__close {
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
}

.lightbox__nav {
    top: 50%;
    width: 52px;
    height: 52px;
    font-size: 2rem;
    transform: translateY(-50%);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Content enters without layout-blocking hidden states. */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
    visibility: visible;
    opacity: 1;
    transform: none;
}

/* 404 */
.error-page {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding-block: 90px;
    text-align: center;
}

.error-page__inner {
    max-width: 700px;
}

.error-page__code {
    color: var(--gold-500);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(6rem, 18vw, 12rem);
    line-height: 0.8;
    opacity: 0.3;
}

.error-page h1 {
    margin: -18px 0 18px;
}

.error-page p {
    margin-bottom: 28px;
    color: var(--stone-500);
}

/* Responsive */
@media (max-width: 1120px) {
    :root { --header-height: 78px; }

    .header__inner {
        grid-template-columns: minmax(210px, 1fr) auto minmax(172px, 0.65fr);
        gap: 20px;
    }

    .brand { max-width: 255px; }
    .brand img { width: min(100%, 255px); }
    .site-nav ul { gap: 20px; }
    .site-nav li a { font-size: 0.84rem; }
    .header-quote { min-height: 48px; padding-inline: 17px; }

    .service-card-grid,
    .gallery-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-card-grid { grid-template-columns: repeat(2, 1fr); }
}

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

    .topbar__service { display: none; }
    .topbar__inner { justify-content: center; }

    .header__inner {
        grid-template-columns: 1fr auto;
    }

    .brand { max-width: 270px; }
    .header-quote { display: none; }

    .menu-toggle {
        position: relative;
        z-index: 3;
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--white);
        cursor: pointer;
    }

    .menu-toggle svg { width: 26px; height: 26px; }
    .menu-toggle__close { display: none; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

    .site-nav {
        position: fixed;
        z-index: 2;
        top: calc(42px + var(--header-height));
        right: 0;
        bottom: 0;
        display: flex;
        width: min(86vw, 390px);
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 36px 28px;
        background: var(--white);
        box-shadow: -22px 30px 60px rgba(23, 20, 17, 0.18);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(105%);
        transition: transform 320ms ease, visibility 320ms ease;
        overflow-y: auto;
    }

    .site-nav::before {
        position: fixed;
        z-index: -1;
        inset: 0 100% 0 auto;
        width: 100vw;
        content: "";
        background: rgba(12, 9, 7, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }

    .site-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
    .site-nav.is-open::before { opacity: 1; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .site-nav li a { width: 100%; padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--border); }
    .site-nav li a::after { display: none; }
    .nav-quote { display: inline-flex; width: 100%; }

    .hero,
    .hero__slider { min-height: 720px; }
    .hero__content { padding-bottom: 170px; }
    .hero__contact-card { display: none; }
    .hero__controls { justify-content: center; }

    .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .trust-strip__grid > div:nth-child(odd) { border-left: 1px solid var(--border); }
    .trust-strip__grid > div { border-bottom: 1px solid var(--border); }

    .split-layout,
    .impact-section__inner,
    .testimonial-layout,
    .service-area-layout,
    .faq-layout,
    .contact-main,
    .cta-band__inner {
        grid-template-columns: 1fr;
    }

    .split-layout--reverse .section-copy,
    .detailed-service--reverse .detailed-service__image { order: initial; }

    .image-composition { min-height: 560px; }
    .section-heading--split { grid-template-columns: 1fr; align-items: start; gap: 20px; }
    .stats-grid { max-width: 720px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid li { min-height: 280px; }
    .testimonial-intro { max-width: 720px; }

    .detailed-service { grid-template-columns: 1fr; }
    .detailed-service__image { height: 480px; }
    .process-light__grid { grid-template-columns: repeat(2, 1fr); }
    .faq-intro { position: static; }

    .contact-main__intro,
    .contact-form-card { padding: 44px; }
    .footer__grid { grid-template-columns: 1.3fr 0.7fr 1fr; }
    .footer__grid > div:last-child { grid-column: span 3; }
}

@media (max-width: 720px) {
    body { padding-bottom: 64px; }
    .container { width: min(calc(100% - 26px), var(--container)); }
    .section { padding-block: 72px; }

    .topbar__inner { min-height: 38px; }
    .topbar__links { width: 100%; justify-content: space-between; gap: 12px; }
    .topbar__links a { font-size: 0.76rem; }
    .topbar__links a:first-child span { display: none; }

    .site-nav { top: calc(38px + var(--header-height)); }
    .brand { max-width: 230px; }

    .hero,
    .hero__slider { min-height: 700px; }
    .hero__slide::before {
        background: linear-gradient(90deg, rgba(19, 14, 10, 0.93), rgba(24, 18, 13, 0.72));
    }
    .hero__background { object-position: 62% center; }
    .hero__content { padding-block: 104px 150px; text-align: left; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .hero__actions .btn { width: 100%; min-width: 0; white-space: normal; }
    .hero__assurances { display: grid; gap: 9px; }

    .trust-strip__grid { grid-template-columns: 1fr; }
    .trust-strip__grid > div { min-height: 90px; border-left: 1px solid var(--border); }

    .image-composition { min-height: 480px; }
    .image-composition__main { width: 86%; height: 82%; }
    .image-composition__secondary { width: 48%; height: 44%; border-width: 6px; }
    .image-composition__badge { right: 0; top: 8%; max-width: 200px; padding: 13px; }

    .service-card-grid,
    .service-index__grid,
    .gallery-page__grid,
    .value-grid,
    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .service-card__body p { min-height: 0; }
    .impact-section { background-attachment: scroll; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { min-height: 140px; }

    .featured-gallery {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .project-tile,
    .project-tile--1,
    .project-tile--2,
    .project-tile--3,
    .project-tile--4,
    .project-tile--5,
    .project-tile--6 {
        grid-area: auto;
        height: 330px;
    }

    .process-grid { grid-template-columns: 1fr; }
    .process-grid li { min-height: 250px; }
    .testimonial-slider { min-height: 440px; padding: 30px 24px; }
    .testimonial-card { inset: 30px 24px 78px; }
    .testimonial-controls { right: 24px; bottom: 24px; left: 24px; }

    .cta-band__actions { align-items: stretch; flex-direction: column; }
    .cta-band__actions .btn { width: 100%; }
    .page-hero {
        min-height: 460px;
        /* The image is positioned independently to keep the heading clear. */
    }
    .page-hero__inner {
        padding-top: 112px;
        padding-bottom: 78px;
    }
    .page-hero__background { object-position: 66% center; }

    .image-panel,
    .image-panel > img { min-height: 480px; height: 480px; }
    .image-stack { min-height: 480px; }
    .image-stack img { width: 86%; height: 80%; }
    .image-stack img:last-child { width: 52%; height: 45%; border-width: 6px; }

    .detailed-services__list { gap: 80px; }
    .detailed-service__image { height: 420px; }
    .detailed-service__image > span { right: 10px; bottom: -28px; }
    .process-light__grid { grid-template-columns: 1fr; }

    .gallery-page__grid { grid-auto-rows: 360px; }
    .gallery-card:nth-child(4n + 1) { grid-row: auto; }
    .gallery-note__visual,
    .gallery-note__visual img { min-height: 440px; height: 440px; }

    .contact-main { overflow: visible; border-radius: var(--radius-md); }
    .contact-main__intro,
    .contact-form-card { padding: 32px 22px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer__grid { grid-template-columns: 1fr; gap: 38px; }
    .footer__grid > div:last-child { grid-column: auto; }
    .footer__bottom { flex-direction: column; justify-content: center; padding-block: 20px; text-align: center; }

    .mobile-callbar {
        position: fixed;
        z-index: 3000;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 64px;
        color: var(--white);
        background: var(--brown-950);
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
    }

    .mobile-callbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 0.82rem;
        font-weight: 800;
    }

    .mobile-callbar a + a { background: var(--brown-600); }
    .lightbox { padding: 62px 14px 70px; }
    .lightbox__nav { top: auto; bottom: 14px; transform: none; }
    .lightbox__nav--prev { left: calc(50% - 60px); }
    .lightbox__nav--next { right: calc(50% - 60px); }
}

@media (max-width: 430px) {
    :root { --header-height: 72px; }
    .brand { max-width: 195px; }
    .menu-toggle { width: 42px; height: 42px; }
    .hero,
    .hero__slider { min-height: 680px; }
    .hero__content h1,
.hero__content h2 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
    .hero__assurances { font-size: 0.82rem; }
    .page-hero { min-height: 440px; }
    .page-hero__inner { padding-top: 104px; padding-bottom: 68px; }
    .page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
    .image-composition { min-height: 410px; }
    .image-composition__badge { display: none; }
    .project-tile { height: 300px; }
    .testimonial-slider { min-height: 500px; }
    .testimonial-card blockquote { font-size: 1.25rem; }
    .contact-card { min-height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero__slide { transform: none; }
    .impact-section { background-attachment: scroll; }
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-zoom {
        visibility: visible;
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   HERO VISIBILITY + SLIDER REWORK
   ========================================================= */
.site-header {
    background: #ffffff;
    border-bottom-color: rgba(83, 63, 42, 0.12);
}

.hero,
.hero__slider {
    min-height: 700px;
    height: min(780px, calc(100svh - 128px));
}

.hero__slide {
    align-items: stretch;
}

.hero__slide::before {
    background:
        linear-gradient(90deg, rgba(12, 9, 7, 0.62) 0%, rgba(18, 13, 10, 0.38) 52%, rgba(18, 13, 10, 0.08) 100%),
        linear-gradient(180deg, rgba(10, 8, 6, 0.05) 45%, rgba(10, 8, 6, 0.6) 100%);
}

.hero__slide::after {
    display: none;
}

.hero__slide--1 .hero__background { object-position: 58% 50%; }
.hero__slide--2 .hero__background { object-position: 54% 46%; }
.hero__slide--3 .hero__background { object-position: 56% 54%; }

.hero__content {
    display: flex;
    align-items: center;
    padding-block: 58px 128px;
}

.hero__panel {
    width: min(720px, 66%);
    padding: clamp(32px, 4vw, 52px);
    color: #ffffff;
    background: linear-gradient(145deg, rgba(23, 20, 17, 0.96), rgba(42, 31, 23, 0.89));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid var(--gold-400);
    border-radius: 20px;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(9px);
}

.hero__panel h1,
.hero__panel h2 {
    max-width: 650px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(2.75rem, 4.7vw, 4.65rem);
    line-height: 1.04;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
}

.hero__panel > p {
    max-width: 610px;
    margin-bottom: 28px;
    color: #f4efe9;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.72;
}

.hero__actions {
    align-items: stretch;
}

.hero__actions .btn {
    min-height: 58px;
    min-width: 238px;
    border-radius: 10px;
}

.btn--hero-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #c59252, #85582c);
    border-color: #d8ad74;
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.28);
}

.btn--hero-primary:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #d2a465, #956433);
}

.btn--hero-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.btn--hero-outline:hover {
    color: var(--brown-950);
    background: #ffffff;
    border-color: #ffffff;
}

.hero__assurances {
    margin-top: 26px;
    color: #f8f5f0;
}

.hero__controls {
    bottom: 24px;
}

.hero__navigation {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 14px;
    padding: 8px 10px;
    color: #ffffff;
    background: rgba(23, 20, 17, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.hero__arrow {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.hero__arrow:hover {
    color: var(--brown-950);
    background: var(--gold-400);
    transform: translateY(-1px);
}

.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev svg { transform: rotate(180deg); }

.hero__dot {
    width: 26px;
    height: 5px;
    background: rgba(255, 255, 255, 0.45);
}

.hero__dot.is-active {
    width: 48px;
    background: var(--gold-400);
}

.hero__contact-card {
    background: rgba(23, 20, 17, 0.88);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

/* Inner-page heroes */
.page-hero {
    min-height: 440px;
    padding-block: 58px;
    background: var(--brown-950);
}

.page-hero__background {
    object-position: 62% center;
    filter: saturate(0.92) contrast(1.04);
}

.page-hero::before {
    background: linear-gradient(90deg, rgba(12, 9, 7, 0.52) 0%, rgba(12, 9, 7, 0.28) 55%, rgba(12, 9, 7, 0.08) 100%);
}

.page-hero::after {
    background: linear-gradient(180deg, rgba(10, 8, 6, 0.08), rgba(10, 8, 6, 0.38));
}

.page-hero__inner {
    padding-block: 0;
}

.page-hero__card {
    width: min(790px, 68%);
    padding: clamp(30px, 4vw, 46px);
    color: #ffffff;
    background: linear-gradient(145deg, rgba(23, 20, 17, 0.95), rgba(52, 39, 29, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid var(--gold-400);
    border-radius: 18px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.33);
    backdrop-filter: blur(8px);
}

.page-hero h1 {
    max-width: 720px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: clamp(2.55rem, 4.5vw, 4.2rem);
    line-height: 1.06;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
}

.page-hero p {
    max-width: 660px;
    color: #f3eee8;
    font-size: clamp(1rem, 1.35vw, 1.13rem);
    line-height: 1.68;
}

.page-hero__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-hero .breadcrumbs {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.74);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.btn--page-hero {
    min-height: 50px;
    color: var(--brown-950);
    background: #ffffff;
    border-color: #ffffff;
}

.btn--page-hero:hover {
    color: #ffffff;
    background: var(--brown-600);
    border-color: var(--gold-400);
}

.page-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 800;
}

.page-hero__phone svg { color: var(--gold-400); }

@media (max-width: 1100px) {
    .hero__panel,
    .page-hero__card { width: min(760px, 76%); }
}

@media (max-width: 960px) {
    .hero,
    .hero__slider {
        min-height: 720px;
        height: 720px;
    }

    .hero__content { padding-block: 48px 126px; }
    .hero__panel { width: min(680px, 88%); }
    .page-hero__card { width: min(760px, 86%); }
}

@media (max-width: 720px) {
    .hero,
    .hero__slider {
        min-height: 720px;
        height: auto;
    }

    .hero__slide::before {
        background: linear-gradient(180deg, rgba(12, 9, 7, 0.32), rgba(12, 9, 7, 0.74));
    }

    .hero__background { object-position: 58% center; }

    .hero__content {
        align-items: flex-end;
        padding-block: 40px 116px;
    }

    .hero__panel {
        width: 100%;
        padding: 28px 22px;
        background: rgba(23, 20, 17, 0.94);
        border-left-width: 4px;
        border-radius: 14px;
        backdrop-filter: blur(6px);
    }

    .hero__panel h1,
    .hero__panel h2 {
        font-size: clamp(2.25rem, 10vw, 3.15rem);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero__assurances { display: none; }
    .hero__controls { bottom: 18px; justify-content: center; }
    .hero__navigation { width: auto; }
    .hero__contact-card { display: none; }

    .page-hero {
        min-height: 430px;
        padding-block: 38px;
    }

    .page-hero::before {
        background: linear-gradient(180deg, rgba(12, 9, 7, 0.26), rgba(12, 9, 7, 0.62));
    }

    .page-hero__background { object-position: 58% center; }
    .page-hero__card {
        width: 100%;
        padding: 28px 22px;
        background: rgba(23, 20, 17, 0.94);
        border-left-width: 4px;
        border-radius: 14px;
    }

    .page-hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
    .page-hero__footer { align-items: flex-start; flex-direction: column; margin-top: 22px; padding-top: 18px; }
    .page-hero__actions { width: 100%; align-items: stretch; flex-direction: column; }
    .btn--page-hero { width: 100%; }
}

@media (max-width: 430px) {
    .hero,
    .hero__slider { min-height: 700px; }
    .hero__content { padding-block: 32px 108px; }
    .hero__panel { padding: 24px 18px; }
    .hero__panel > p { font-size: 0.96rem; }
    .hero__arrow { width: 36px; height: 36px; }
    .hero__dot { width: 20px; }
    .hero__dot.is-active { width: 38px; }
    .page-hero { min-height: 420px; padding-block: 30px; }
    .page-hero__card { padding: 24px 18px; }
    .page-hero__phone { font-size: 0.9rem; }
}

/* Final hero spacing refinement */
.hero__panel {
    padding: clamp(30px, 3.2vw, 42px);
}

.hero__panel h1,
.hero__panel h2 {
    font-size: clamp(2.6rem, 4.1vw, 4.15rem);
}

@media (max-width: 720px) {
    .hero__controls { bottom: 82px; }
    .hero__panel { padding: 26px 22px; }
}

@media (max-width: 430px) {
    .hero__controls { bottom: 78px; }
    .hero__panel { padding: 23px 18px; }
}

@media (max-width: 430px) {
    .hero__panel h1,
    .hero__panel h2 {
        font-size: 2.3rem;
        line-height: 1.05;
    }
}

@media (max-width: 720px) {
    .hero__content { padding-bottom: 170px; }
}
