:root {
    --site-bg: #f5efe4;
    --site-surface: #fffdfa;
    --site-ink: #18212d;
    --site-muted: #5f6b79;
    --site-accent: #ad7d3b;
    --site-accent-dark: #8b622b;
    --site-deep: #111722;
    --site-line: rgba(24, 33, 45, 0.12);
    --site-shadow: 0 24px 60px rgba(17, 23, 34, 0.12);
    --site-radius: 24px;
    --site-radius-sm: 16px;
}

html {
    scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--site-accent);
    outline-offset: 2px;
}

.alert {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: var(--site-radius-sm);
    border: 1px solid transparent;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert strong {
    font-weight: 700;
}

.alert-success {
    background: rgba(60, 130, 87, 0.12);
    border-color: rgba(60, 130, 87, 0.32);
    color: #2c6b47;
}

.alert-danger {
    background: rgba(178, 58, 58, 0.1);
    border-color: rgba(178, 58, 58, 0.28);
    color: #a23a3a;
}

.alert-info {
    background: rgba(58, 108, 178, 0.1);
    border-color: rgba(58, 108, 178, 0.28);
    color: #305a8f;
}

.alert-warning {
    background: rgba(173, 125, 59, 0.14);
    border-color: rgba(173, 125, 59, 0.35);
    color: var(--site-accent-dark);
}

body.site-page {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(173, 125, 59, 0.18), transparent 32%),
        linear-gradient(180deg, #f7f1e7 0%, #fbf8f2 100%);
    color: var(--site-ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.site-header__utility {
    background: rgba(17, 23, 34, 0.96);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
}

.site-header__utility-inner,
.site-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header__utility-inner {
    padding: 10px 0;
}

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

.site-header__utility .site-header__meta:last-child {
    justify-content: flex-end;
}

.site-header__utility .site-header__meta a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: rgba(255, 255, 255, 0.82);
}

.site-header__utility .site-header__meta a:hover,
.site-header__utility .site-header__meta a.is-active {
    color: #ffffff;
}

.site-header__utility .button {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.82rem;
}

.site-header__utility .button--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.site-header__utility .button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.site-header__utility .button:not(.button--ghost) {
    background: rgba(173, 125, 59, 0.92);
    color: #ffffff;
}

.site-header__utility .button:not(.button--ghost):hover {
    background: var(--site-accent-dark);
}

.site-header__main {
    background: rgba(255, 253, 250, 0.92);
    border-bottom: 1px solid var(--site-line);
}

.site-header__main-inner {
    padding: 16px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.site-brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    /* background: linear-gradient(145deg, var(--site-accent), #e1c187); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--site-deep);
    letter-spacing: 0.08em;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-brand__text strong,
.site-footer__cta h2,
.section-heading h2,
.hero-copy h1,
.page-hero h1,
.service-card h3,
.project-card h3,
.testimonial-card p,
.contact-form-card h2,
.contact-info-card h2,
.information-panel h3 {
    font-family: 'Cormorant Garamond', serif;
}

.site-brand__text strong {
    font-size: 1.4rem;
}

.site-brand__text small {
    color: var(--site-muted);
    max-width: 360px;
}

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

.site-nav a {
    font-weight: 600;
    /* color: var(--site-muted); */
}

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

.site-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
}

.site-nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px 0;
    background: var(--site-ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--site-accent);
    color: #fff;
    font-weight: 700;
    transition: 0.25s ease;
}

.button:hover {
    background: var(--site-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.button--ghost {
    background: transparent;
    color: var(--site-ink);
    border-color: var(--site-line);
}

.button--ghost:hover {
    background: rgba(17, 23, 34, 0.05);
    color: var(--site-ink);
}

.button--sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
    color: #ffffff;
}

.hero-section {
    padding: 90px 0 72px;
}

.hero-section__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: stretch;
}

.hero-copy,
.hero-panel__card,
.service-card,
.project-card,
.testimonial-card,
.contact-form-card,
.contact-info-card,
.information-panel,
.process-card,
.faq-item {
    background: rgba(255, 253, 250, 0.88);
    border: 1px solid rgba(173, 125, 59, 0.12);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
}

.hero-copy {
    padding: 42px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--site-accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5.1rem);
    line-height: 0.96;
    margin: 0 0 18px;
}

.hero-copy p,
.page-hero p,
.section-heading p,
.service-card p,
.project-card p,
.process-card p,
.split-layout p,
.contact-form-card p,
.faq-item p {
    color: var(--site-muted);
    line-height: 1.75;
}

.hero-actions,
.site-footer__cta-actions,
.project-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

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

.hero-stats article {
    padding: 18px;
    border-radius: 18px;
    background: rgba(17, 23, 34, 0.04);
}

.hero-stats strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.hero-panel__card {
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-panel__card img,
.project-card img {
    border-radius: calc(var(--site-radius) - 10px);
    object-fit: cover;
}

.hero-panel__meta,
.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--site-muted);
    font-size: 0.93rem;
}

.site-main {
    overflow: hidden;
}

.section {
    padding: 84px 0;
}

.section--dark {
    background: linear-gradient(180deg, #17202d 0%, #101722 100%);
    color: #fff;
}

.section--split {
    padding-top: 50px;
    padding-bottom: 90px;
}

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

.section-heading h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin: 0 0 14px;
}

.section-heading--light p,
.section-heading--light .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.card-grid {
    display: grid;
    gap: 22px;
}

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

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

.service-card,
.project-card {
    padding: 28px;
}

.service-card ul,
.information-panel ul,
.contact-info-card ul,
.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.service-card li,
.information-panel li,
.contact-info-card li,
.site-footer__links li {
    padding: 8px 0;
    color: var(--site-muted);
    border-bottom: 1px solid rgba(24, 33, 45, 0.08);
}

.service-card li:last-child,
.information-panel li:last-child,
.contact-info-card li:last-child,
.site-footer__links li:last-child {
    border-bottom: 0;
}

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

.process-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.process-card__number {
    display: inline-flex;
    margin-bottom: 16px;
    color: #f0c98c;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.split-layout__list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.testimonial-stack,
.project-feature-list,
.faq-list {
    display: grid;
    gap: 18px;
}

.error-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.testimonial-card,
.information-panel,
.contact-info-card,
.contact-form-card,
.faq-item {
    padding: 28px;
}

.testimonial-card p {
    font-size: 1.8rem;
    line-height: 1.2;
    margin: 0 0 16px;
}

.page-hero {
    padding: 120px 0 88px;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 23, 34, 0.78), rgba(17, 23, 34, 0.36));
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero .eyebrow,
.page-hero p {
    color: rgba(255, 255, 255, 0.92);
}

.page-hero p {
    max-width: 620px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.project-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.project-filter button {
    border: 1px solid var(--site-line);
    background: rgba(255, 255, 255, 0.74);
    color: var(--site-ink);
    border-radius: 999px;
    min-height: 42px;
    padding: 0 18px;
    font-weight: 700;
}

.project-filter button.is-active {
    background: var(--site-accent);
    border-color: var(--site-accent);
    color: #fff;
}

.project-card--detailed {
    padding: 0;
    overflow: hidden;
}

.project-card--detailed .project-card__body {
    padding: 24px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pill-row span,
.project-card__count {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(17, 23, 34, 0.06);
    color: var(--site-muted);
    font-size: 0.88rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.site-form input,
.site-form select,
.site-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(24, 33, 45, 0.14);
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    color: var(--site-ink);
}

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

.map-frame {
    overflow: hidden;
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
}

.map-frame iframe {
    width: 100%;
    min-height: 440px;
    border: 0;
}

.site-footer {
    background: var(--site-deep);
    color: rgba(255, 255, 255, 0.86);
}

.site-footer__cta {
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__cta-inner,
.site-footer__grid {
    display: grid;
    gap: 24px;
}

.site-footer__cta-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding: 42px 0;
}

.site-footer__bottom {
    padding: 16px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.58);
}

.site-footer__bottom .row {
    align-items: center;
}

.site-footer__bottom .row > div:last-child,
.site-footer__bottom .site-footer__powered {
    text-align: right;
}

.site-brand--footer .site-brand__text small,
.site-footer p,
.site-footer__links li {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
    .hero-section__grid,
    .contact-layout,
    .split-layout,
    .card-grid--services,
    .card-grid--projects,
    .process-grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px;
        background: rgba(255, 253, 250, 0.98);
        border-bottom: 1px solid var(--site-line);
        box-shadow: var(--site-shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-header__main {
        position: relative;
    }

    .hero-section,
    .section,
    .page-hero {
        padding-top: 72px;
    }
}

@media (max-width: 680px) {
    .site-header__utility {
        display: none;
    }

    .hero-section__grid,
    .contact-layout,
    .split-layout,
    .card-grid--services,
    .card-grid--projects,
    .process-grid,
    .site-footer__grid,
    .site-footer__cta-inner,
    .site-form__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom .row > div:last-child,
    .site-footer__bottom .site-footer__powered {
        text-align: left;
    }

    .hero-copy,
    .hero-panel__card,
    .service-card,
    .project-card,
    .testimonial-card,
    .contact-form-card,
    .contact-info-card,
    .information-panel,
    .process-card,
    .faq-item {
        padding: 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}
