:root {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --surface-alt: #f8f9fb;
    --text: #1f2933;
    --muted: #5f6c7b;
    --line: rgba(20, 52, 76, 0.12);
    --primary: #14344c;
    --primary-strong: #0f2638;
    --accent: #c96f3b;
    --accent-strong: #a55528;
    --success: #2d6a4f;
    --shadow: 0 16px 40px rgba(20, 52, 76, 0.08);
    --footer-bg: transparent;
    --footer-surface: rgba(255, 255, 255, 0.86);
    --footer-text: #18201b;
    --footer-muted: #5b665f;
    --footer-line: rgba(24, 32, 27, 0.08);
    --footer-accent: #6f9178;
    --footer-accent-strong: #52705a;
    --footer-accent-soft: rgba(111, 145, 120, 0.14);
    --contact-shell-bg: rgba(255, 255, 255, 0.78);
    --contact-shell-glow: radial-gradient(circle at top left, rgba(111, 145, 120, 0.14), transparent 28%);
    --contact-card-bg: #ffffff;
    --contact-card-border: rgba(24, 32, 27, 0.08);
    --contact-card-shadow: 0 12px 28px rgba(32, 42, 36, 0.05);
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    background:
        url("../img/textures/light-paper-fibers-tinted.png"),
        radial-gradient(circle at top left, rgba(201, 111, 59, 0.12), transparent 28%),
        linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
    background-repeat: repeat, no-repeat, no-repeat;
    background-size: 220px auto, auto, auto;
    color: var(--text);
}

h1, h2, h3, h4, h5, .site-brand__name {
    font-family: "Manrope", sans-serif;
}

a {
    color: var(--primary);
}

.site-header {
    padding: 0.65rem 0 0.55rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(45, 57, 34, 0.12);
    box-shadow: 0 10px 24px rgba(41, 57, 28, 0.08);
    z-index: 1045;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    padding: 0;
    text-decoration: none;
}

.site-brand__logo {
    display: block;
    width: clamp(54px, 6vw, 72px);
    height: auto;
    max-width: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex: 0 0 auto;
}

.site-brand__copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.site-brand__name {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 800;
    line-height: 1.05;
    color: #23331a;
}

.site-brand__subtitle {
    font-size: 0.7rem;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7a5b;
}

.site-menu-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    border: 1px solid rgba(45, 57, 34, 0.16);
    border-radius: 0.9rem;
    background: #f3f6ee;
    box-shadow: none;
}

.site-menu-toggle span {
    display: block;
    width: 1.1rem;
    height: 0.12rem;
    margin: 0.2rem auto;
    border-radius: 999px;
    background: #23331a;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.35rem) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.35rem) rotate(-45deg);
}

.site-header__panel {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem 1.2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem 1.4rem;
    flex: 0 1 auto;
    margin-left: auto;
}

.site-header__nav a {
    color: #24341b;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
    color: #2f6d44;
}

.site-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-left: auto;
}

.site-header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.46rem 0.85rem;
    border: 1px solid rgba(45, 57, 34, 0.18);
    border-radius: 999px;
    background: #f3f6ee;
    color: #223015;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-header__button:hover,
.site-header__button:focus-visible {
    background: #ffffff;
    border-color: rgba(45, 57, 34, 0.28);
    color: #223015;
    transform: translateY(-1px);
}

.site-header__button--primary {
    background: #2f6d44;
    border-color: #2f6d44;
    color: #ffffff;
}

.site-header__button--primary:hover,
.site-header__button--primary:focus-visible {
    background: #275b39;
    border-color: #275b39;
    color: #ffffff;
}

.site-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.35rem;
    color: #6a7a5b;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.35;
}

.site-footer {
    background:
        url("../img/textures/light-paper-fibers-tinted.png"),
        #f6f2eb;
    background-size: 220px auto, auto;
    border-top: 1px solid var(--line);
}

.site-footer__logo {
    display: block;
    width: min(170px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-kicker,
.section-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-links a {
    text-decoration: none;
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: #fff;
}

.hero-section {
    padding: 5.5rem 0 4rem;
}

.hero-panel {
    background: linear-gradient(160deg, rgba(20, 52, 76, 0.96), rgba(20, 52, 76, 0.72));
    color: #fff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-stat + .hero-stat {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat__value {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.hero-stat__label {
    color: rgba(255, 255, 255, 0.82);
}

.service-card,
.project-card,
.cta-card,
.metric-card,
.summary-card {
    border-radius: 1.25rem;
}

.service-card,
.project-card,
.cta-card,
.metric-card,
.summary-card,
.dashboard-sidebar,
.card {
    box-shadow: var(--shadow);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(201, 111, 59, 0.12);
    color: var(--accent);
    font-size: 1.2rem;
}

.project-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card__media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(20, 52, 76, 0.92), rgba(201, 111, 59, 0.74));
    overflow: hidden;
}

.portfolio-project-surface {
    padding: 1.2rem;
    border-radius: 1.6rem;
    background: #ffffff;
    border: 1px solid rgba(86, 95, 102, 0.12);
    box-shadow: 0 12px 24px rgba(57, 66, 38, 0.06);
}

.portfolio-project-grid {
    align-items: stretch;
}

@media (max-width: 991.98px) {
    .home-portfolio-grid .portfolio-project-grid > [class*="col-"]:nth-child(n + 5) {
        display: none;
    }
}

.project-card--portfolio {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.project-card__media--slider {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    flex: 0 0 auto;
}

.project-card__slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

.project-card__slide {
    min-width: 100%;
    height: 100%;
}

.project-card__slide img,
.project-card__slide .project-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.project-card__slider-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.94;
}

.project-card__slider-control:hover,
.project-card__slider-control:focus-visible {
    transform: translateY(-50%) scale(1.04);
    color: #ffffff;
    opacity: 1;
}

.project-card__slider-control:focus-visible {
    outline: none;
}

.project-card__slider-icon {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border-top: 0.22rem solid currentColor;
    border-right: 0.22rem solid currentColor;
    filter: drop-shadow(0 1px 6px rgba(15, 38, 56, 0.45));
}

.project-card__slider-icon--prev {
    transform: rotate(-135deg);
}

.project-card__slider-icon--next {
    transform: rotate(45deg);
}

.project-card__slider-control--prev {
    left: 1rem;
}

.project-card__slider-control--next {
    right: 1rem;
}

.project-card__slider-counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.project-card--portfolio .card-body {
    min-height: 0;
    flex: 1 1 auto;
}

.project-card__body {
    gap: 0.65rem;
}

.project-card__title {
    line-height: 1.2;
}

.project-card__title-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-card__title-link:hover,
.project-card__title-link:focus-visible {
    color: var(--accent-strong);
}

.project-card__palette {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.project-card__media--detail {
    aspect-ratio: 4 / 3;
}

.project-sample-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 52, 76, 0.92), rgba(201, 111, 59, 0.74));
}

.project-sample-card__media img {
    transform: scale(1);
    transform-origin: var(--zoom-origin-x, 50%) var(--zoom-origin-y, 50%);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.project-sample-card:hover .project-sample-card__media img,
.project-sample-card__media:hover img {
    transform: scale(1.14);
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.bg-light-soft {
    background: rgba(255, 255, 255, 0.55);
}

.process-list {
    display: grid;
    gap: 1rem;
}

.process-side {
    display: grid;
    gap: 1rem;
}

.process-highlight {
    padding: 1.5rem;
    border: 1px solid rgba(14, 61, 85, 0.12);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(224, 122, 95, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(20, 52, 76, 0.96), rgba(10, 29, 43, 0.98));
    color: #fff;
    box-shadow: 0 18px 40px rgba(20, 52, 76, 0.18);
}

.process-highlight__label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.process-highlight__value {
    margin-top: 0.85rem;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.process-highlight__copy {
    max-width: 34rem;
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.6;
}

.process-brief-contact {
    color: var(--muted);
    line-height: 1.6;
}

.process-brief-contact a {
    color: var(--primary);
    font-weight: 700;
}

.process-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: 1rem;
}

.process-item span {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--primary);
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.process-item h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.process-item p,
.contact-list,
.brief-checklist li,
.project-detail-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.brief-checklist li + li {
    margin-top: 0.9rem;
}

.brief-checklist li::before {
    content: "•";
    color: var(--accent);
    font-weight: 700;
    margin-right: 0.5rem;
}

.dashboard-shell {
    background: linear-gradient(180deg, #fffdf9 0%, #eef2f6 100%);
}

.dashboard-sidebar {
    top: 6rem;
    border-radius: 1.25rem;
}

.dashboard-sidebar .nav-link {
    border-radius: 0.85rem;
    color: var(--text);
    background: #fff;
}

.dashboard-sidebar .nav-link.active {
    background: var(--primary);
    color: #fff;
}

.metric-card,
.summary-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
}

.metric-card span,
.summary-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.metric-card strong,
.summary-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.9rem;
}

.chart-wrapper {
    position: relative;
    min-height: 340px;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.registry-nav {
    align-items: center;
}

.registry-toolbar {
    align-items: center;
}

.registry-search-form {
    width: min(100%, 420px);
}

.registry-search-form .form-control {
    min-width: 0;
}

.registry-search-form .btn {
    min-width: 2.75rem;
    justify-content: center;
}

.registry-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.registry-card:hover {
    transform: translateY(-3px);
}

.registry-card__count {
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.compact-stats-card .card-body {
    display: flex;
    flex-direction: column;
}

.mini-stat + .mini-stat {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.mini-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.mini-stat strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.45rem;
}

.brief-aside {
    top: 6rem;
}

.brief-aside--compact {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
}

.brief-price-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: min(320px, calc(100vw - 2rem));
    max-height: calc(100vh - 3rem);
    overflow: auto;
    z-index: 1030;
    border-radius: 1.25rem;
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(10px);
}

.brief-price-widget--brief {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: 1rem;
}

.brief-submit-panel {
    position: relative;
    z-index: 1031;
}

.brief-submit-panel .terra-btn-solid,
.brief-submit-panel .terra-btn-solid:visited {
    background: #88b92a !important;
    border-color: #88b92a !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(201, 234, 52, 0.14);
}

.brief-submit-panel .terra-btn-solid:hover,
.brief-submit-panel .terra-btn-solid:focus-visible {
    background: #9dce39 !important;
    border-color: #9dce39 !important;
    color: #ffffff !important;
}

.brief-success-actions .btn-download-pdf,
.brief-success-actions .btn-download-pdf:visited {
    background: #88b92a !important;
    border-color: #88b92a !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(201, 234, 52, 0.14);
}

.brief-success-actions .btn-download-pdf:hover,
.brief-success-actions .btn-download-pdf:focus-visible {
    background: #9dce39 !important;
    border-color: #9dce39 !important;
    color: #ffffff !important;
}

.brief-price-widget--idle {
    width: min(272px, calc(100vw - 2rem));
    border-radius: 1.05rem;
}

.brief-price-widget--idle .card-body {
    padding: 1rem !important;
}

.brief-price-widget--idle .section-kicker,
.brief-price-widget--idle .h5 {
    display: none;
}

.brief-price-widget--idle .home-summary-empty {
    gap: 0.75rem;
    padding: 0;
}

.brief-price-widget--idle .home-summary-empty__body strong {
    font-size: 0.9rem;
}

.brief-price-widget--idle .home-summary-empty__body span {
    font-size: 0.8rem;
}

.brief-price-widget--idle .home-summary-empty__close {
    width: 1.8rem;
    height: 1.8rem;
}

.brief-price-line,
.brief-price-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.brief-price-line span,
.brief-price-total span {
    color: var(--muted);
}

.brief-price-line strong {
    font-size: 1rem;
}

.brief-price-total strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.6rem;
}

.brief-price-note {
    color: var(--muted);
    line-height: 1.6;
}

.brief-addon-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.brief-addon-card--forest {
    border: 1px solid var(--terra-line, rgba(255, 255, 255, 0.1));
    background: rgba(31, 36, 32, 0.98);
    box-shadow: var(--terra-shadow, 0 22px 46px rgba(6, 8, 7, 0.24));
    color: var(--terra-text, #ffffff);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.brief-addon-card--forest:has(input[type="checkbox"]:checked) {
    background: rgba(33, 38, 34, 0.98);
    box-shadow:
        inset 4px 0 0 var(--terra-accent, #c5ea34),
        var(--terra-shadow, 0 22px 46px rgba(6, 8, 7, 0.24));
}

.brief-addon-card input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.2rem;
}

.brief-addon-card--forest input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.45rem;
    border: 1px solid rgba(201, 234, 52, 0.24);
    border-radius: 999px;
    background-color: rgba(18, 22, 19, 0.94);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.82rem 0.82rem;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.brief-addon-card--forest input[type="checkbox"]:checked {
    border-color: var(--terra-accent, #c5ea34);
    background-color: rgba(201, 234, 52, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233a9f4a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='M3 8.5 6.3 12 13 4.8'/%3E%3C/svg%3E");
}

.brief-addon-card--forest input[type="checkbox"]:focus-visible {
    border-color: var(--terra-accent, #c5ea34);
    box-shadow: 0 0 0 0.18rem rgba(201, 234, 52, 0.14);
    outline: none;
}

.brief-addon-card__body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.brief-addon-card__title {
    font-weight: 700;
}

.brief-addon-card--forest .brief-addon-card__title {
    color: var(--terra-text, #ffffff);
}

.brief-addon-card__price {
    color: var(--primary);
    font-weight: 700;
}

.brief-addon-card--forest .brief-addon-card__price {
    color: var(--terra-text, #ffffff);
    font-family: "Manrope", sans-serif;
}

.brief-addon-card__copy {
    color: var(--muted);
    line-height: 1.5;
}

.brief-addon-card--forest .brief-addon-card__copy {
    color: var(--terra-muted, rgba(255, 255, 255, 0.72));
}

.brief-price-breakdown {
    display: grid;
    gap: 0.75rem;
}

.brief-price-breakdown__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.brief-price-breakdown__row strong {
    color: var(--text);
    font-size: 0.98rem;
}

.brief-price-breakdown__empty {
    padding: 0.85rem 0.95rem;
    border: 1px dashed rgba(20, 52, 76, 0.18);
    border-radius: 0.9rem;
    background: rgba(244, 241, 234, 0.55);
    color: var(--muted);
    line-height: 1.5;
}

.brief-success-shell {
    background: transparent;
}

.brief-success-card {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.2rem);
    border: 1px solid var(--terra-line, rgba(255, 255, 255, 0.12));
    border-radius: 1.8rem;
    background: var(--terra-surface, rgba(29, 34, 30, 0.98));
    box-shadow: var(--terra-shadow, 0 22px 46px rgba(6, 8, 7, 0.24));
    color: var(--terra-text, #ffffff);
    text-align: center;
}

.brief-success-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(136, 185, 42, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(136, 185, 42, 0.04));
    pointer-events: none;
}

.brief-success-card > * {
    position: relative;
    z-index: 1;
}

.brief-success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.8rem;
    height: 5.8rem;
    margin-bottom: 1.2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #41a05f, #2d6a4f);
    color: #ffffff;
    font-size: 2.8rem;
    box-shadow: 0 18px 28px rgba(45, 106, 79, 0.24);
}

.brief-success-kicker {
    margin-bottom: 0.35rem;
    color: var(--footer-accent, #88b92a);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brief-success-title {
    margin-bottom: 0.9rem;
    color: var(--terra-text, #ffffff);
    font-size: clamp(2.3rem, 7vw, 4rem);
    letter-spacing: 0.06em;
}

.brief-success-copy {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--terra-muted, rgba(255, 255, 255, 0.72));
    font-size: 1.02rem;
    line-height: 1.7;
}

.brief-success-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.brief-success-summary__item {
    padding: 1rem 1.1rem;
    border: 1px solid var(--terra-line, rgba(255, 255, 255, 0.12));
    border-radius: 1.1rem;
    background: var(--terra-surface-strong, rgba(35, 40, 36, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brief-success-summary__item span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--terra-muted, rgba(255, 255, 255, 0.72));
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brief-success-summary__item strong {
    display: block;
    color: var(--terra-text, #ffffff);
    font-size: 1rem;
    line-height: 1.45;
}

.brief-success-actions,
.brief-success-footer-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.brief-success-actions {
    margin-top: 1.8rem;
}

.brief-success-footer-actions {
    margin-top: 1.25rem;
}

.brief-success-note {
    margin: 1rem auto 0;
    color: var(--terra-muted, rgba(255, 255, 255, 0.72));
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .brief-success-summary {
        grid-template-columns: 1fr;
    }

    .brief-success-card {
        padding: 1.6rem;
        border-radius: 1.4rem;
    }

    .brief-success-check {
        width: 4.8rem;
        height: 4.8rem;
        font-size: 2.25rem;
    }
}

.messages-wrapper .alert {
    border: 0;
}

.form-control-color {
    width: 4.5rem;
    min-width: 4.5rem;
    height: calc(2.75rem + 2px);
    padding: 0.35rem;
}

.color-picker-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.color-preview-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.color-mode-tabs .nav-link {
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
}

.color-mode-tabs .nav-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.color-chip {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 52, 76, 0.18);
    display: inline-block;
}

.color-chip-lg {
    width: 1.4rem;
    height: 1.4rem;
}

.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
}

.color-palette-card {
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.76);
}

.project-sample-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.template-project-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 24.75rem;
}

.project-sample-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.9rem;
}

.project-sample-card__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.project-sample-card__link {
    width: fit-content;
}

@media (max-width: 575.98px) {
    .brief-project-examples__item:nth-child(n+4) {
        display: none;
    }
}

.template-project-card.is-selected {
    border: 1px solid rgba(20, 52, 76, 0.22) !important;
    box-shadow: 0 0 0 2px rgba(20, 52, 76, 0.08), var(--shadow);
}

.color-swatch-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.color-swatch-btn:hover,
.color-swatch-btn:focus {
    transform: translateY(-1px);
    border-color: rgba(20, 52, 76, 0.3);
}

.color-swatch-btn.is-active {
    border-color: var(--primary);
}

.color-swatch-btn span {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 1px solid rgba(20, 52, 76, 0.14);
    display: block;
}

.color-swatch-btn-sm {
    width: 1.7rem;
    height: 1.7rem;
}

.palette-display-chip {
    cursor: default;
    pointer-events: none;
}

.file-input-hidden {
    display: none;
}

.multi-file-field {
    border: 1px solid var(--terra-line, rgba(255, 255, 255, 0.12));
    border-radius: 1rem;
    background: var(--terra-surface, rgba(29, 34, 30, 0.98));
    box-shadow: var(--terra-shadow, 0 22px 46px rgba(6, 8, 7, 0.24));
    color: var(--terra-text, #ffffff);
    padding: 1rem;
}

.multi-file-field.is-invalid {
    border-color: rgba(185, 28, 28, 0.28);
    background: rgba(254, 242, 242, 0.9);
}

.multi-file-toolbar {
    padding-bottom: 0.25rem;
}

.multi-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.multi-file-empty {
    border: 1px dashed rgba(20, 52, 76, 0.18);
    border-radius: 0.9rem;
    background: rgba(244, 241, 234, 0.55);
}

.multi-file-item {
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: #fff;
}

.multi-file-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.photo-material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.material-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
}

.material-card--active {
    border-color: rgba(20, 52, 76, 0.32);
    box-shadow: 0 0 0 2px rgba(20, 52, 76, 0.08);
}

.detail-between-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.detail-between-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.detail-between-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail-between-row span {
    color: var(--muted);
}

.detail-between-row strong {
    text-align: right;
    max-width: 60%;
    overflow-wrap: anywhere;
}

.photo-material-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    color: var(--text);
}

.photo-material-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.75rem;
    background: rgba(20, 52, 76, 0.06);
}

.photo-material-name {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.form-help {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

body.terra-page .popover {
    --bs-popover-max-width: 18rem;
    --bs-popover-bg: rgba(27, 32, 28, 0.98);
    --bs-popover-border-color: var(--terra-line, rgba(255, 255, 255, 0.12));
    --bs-popover-header-bg: rgba(255, 255, 255, 0.04);
    --bs-popover-header-color: var(--terra-text, #ffffff);
    --bs-popover-body-color: var(--terra-text, #ffffff);
    box-shadow: var(--terra-shadow, 0 22px 46px rgba(6, 8, 7, 0.24));
}

body.terra-page .popover .popover-header,
body.terra-page .popover .popover-body {
    color: var(--terra-text, #ffffff);
}

body.terra-page .popover .popover-body {
    line-height: 1.5;
}

.form-options > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.form-options > div > div {
    min-width: 0;
}

.form-option-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-options label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    margin-bottom: 0;
    flex: 1 1 auto;
}

.form-options label span {
    flex: 1 1 auto;
}

.form-options input[type="radio"],
.form-options input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.15rem 0 0;
}

.w-fit {
    width: fit-content;
}

.object-fit-cover {
    object-fit: cover;
}

.table > :not(caption) > * > * {
    padding: 0.95rem 1rem;
}

.table thead th {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom-color: var(--line);
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table-row-link {
    cursor: pointer;
}

.table-row-link:hover,
.table-row-link:focus-visible {
    background: rgba(20, 52, 76, 0.04);
}

.contact-list li + li {
    margin-top: 0.85rem;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 3.5rem;
    }

    .dashboard-sidebar,
    .brief-aside {
        position: static !important;
    }

    .brief-price-widget {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .brief-aside--compact {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-sample-card__media img {
        transition: none;
    }

    .project-sample-card:hover .project-sample-card__media img,
    .project-sample-card__media:hover img {
        transform: none;
    }
}

.terra-home-page {
    --terra-bg: #445231;
    --terra-bg-deep: #2b3720;
    --terra-surface: #ffffff;
    --terra-surface-strong: #ffffff;
    --terra-text: #2b3122;
    --terra-muted: #70775f;
    --terra-line: rgba(70, 82, 50, 0.12);
    --terra-accent: #d9ff40;
    --terra-shadow: none;
    background:
        url("../img/textures/light-paper-fibers-tinted.png"),
        #ffffff;
    background-repeat: repeat, repeat;
    background-size: 220px auto, auto;
    color: var(--terra-text);
}

.terra-home-page .terra-nav-card {
    display: none;
}

.terra-shell {
    padding: 0;
}

.terra-page {
    display: grid;
    max-width: none;
    margin: 0 auto;
    gap: 0;
}

.terra-frame {
    padding: 0;
    border-radius: 0;
    background: var(--terra-surface);
    box-shadow: none;
}

.terra-frame__body {
    padding: 0 1.25rem 0;
}

.terra-hero,
.terra-footer__inner {
    border-radius: 1.45rem;
}

.terra-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: var(--terra-text);
  padding: clamp(1.05rem, 2vw, 1.25rem) 0 clamp(2rem, 4vw, 2.8rem);
  border-bottom: 4px solid var(--terra-accent);
  background:
    linear-gradient(110deg, rgba(18, 24, 21, 0.94) 0%, rgba(18, 24, 21, 0.82) 30%, rgba(18, 24, 21, 0.42) 56%, rgba(18, 24, 21, 0.08) 100%),
    linear-gradient(180deg, rgba(12, 17, 14, 0.06) 0%, rgba(12, 17, 14, 0.34) 100%),
    var(--terra-hero-image, none) center center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(34, 47, 24, 0.18);
}

.terra-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 145, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 145, 120, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 82%);
  pointer-events: none;
}

.terra-hero__container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1040px);
  margin: 0 auto;
}

.terra-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(247, 243, 230, 0.92);
  box-shadow: 0 12px 30px rgba(22, 28, 15, 0.14);
  color: #27321b;
}

.terra-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.terra-brand__logo {
  display: block;
  width: clamp(3rem, 8vw, 4rem);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: 0 0 auto;
}

.terra-brand__logo--footer {
  width: clamp(3.25rem, 9vw, 4.5rem);
}

.terra-brand__mark {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #7d9466;
  color: #f7f3e8;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.terra-brand__copy strong {
  display: block;
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terra-brand__copy span {
  display: block;
  color: #000000;
  font-size: 0.55rem;
  line-height: 1.1;
}

.terra-nav__menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.terra-nav__menu a,
.terra-nav__cta {
  color: #49533f;
  text-decoration: none;
  font-size: 0.74rem;
}

.terra-nav__cta {
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(73, 83, 63, 0.22);
  border-radius: 999px;
  background: #fffdf6;
  font-weight: 700;
}

.terra-hero__shell {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(21rem, 44vh, 27rem);
  padding-block: clamp(2rem, 5vw, 3.2rem) 0.4rem;
  overflow: visible;
}

.terra-hero__copy {
  position: relative;
  z-index: 2;
  max-width: min(34rem, 56%);
}

.terra-hero__ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.terra-hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--terra-accent);
  box-shadow: 0 0 0 5px rgba(217, 255, 64, 0.14);
}

.terra-hero__pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.terra-hero__pill--soft {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.terra-title {
  margin: 0;
  max-width: 10.8ch;
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.terra-hero__text {
  margin-top: 0.95rem;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.5;
}

.terra-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.terra-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

.terra-btn--accent {
  background: var(--terra-accent);
  color: #213015;
}

.terra-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.terra-btn--ghost:hover,
.terra-btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.terra-hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.terra-hero-feature {
  height: 100%;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(8, 12, 10, 0.16);
  backdrop-filter: blur(16px);
}

.terra-hero-feature__title {
  display: block;
  margin-bottom: 0.22rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.terra-hero-feature__text {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.4;
}

.terra-floating-card {
  position: absolute;
  right: 0;
  z-index: 2;
  max-width: 15rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(27, 36, 31, 0.13);
}

.terra-floating-card--primary {
  top: clamp(2.2rem, 5vw, 3rem);
}

.terra-floating-card--secondary {
  bottom: clamp(0.8rem, 2vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.terra-floating-card__eyebrow {
  display: block;
  margin-bottom: 0.32rem;
  color: #7d6624;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terra-floating-card p {
  margin: 0;
  color: var(--terra-text);
  font-size: 0.86rem;
  line-height: 1.42;
}

.terra-floating-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(246, 242, 232, 0.92);
  box-shadow: inset 0 0 0 1px rgba(70, 82, 50, 0.12);
  color: #303727;
  font-size: 0.78rem;
  font-weight: 700;
}

.terra-hero-tone {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: -0.8rem;
  margin-bottom: 0.75rem;
  pointer-events: none;
}

.terra-hero-tone__swatch {
  display: block;
  width: min(8rem, 28vw);
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(217, 255, 64, 0.72);
  box-shadow:
    0 10px 22px rgba(32, 42, 36, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.terra-section {
    padding: 1.35rem 0 0;
    background: transparent;
    border-bottom: 0;
}

.terra-section + .terra-section {
    margin-top: 0.95rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(70, 82, 50, 0.08);
}

.terra-section--tight {
    padding-top: 1rem;
}

.terra-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.terra-section__kicker {
    margin-bottom: 0.25rem;
    color: #8b917b;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.terra-section__head h2 {
    margin: 0;
    font-size: 1.72rem;
    letter-spacing: -0.03em;
}

.terra-section__link {
    color: var(--terra-muted);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
}

.terra-popular {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-areas:
        "large wide wide"
        "large small1 small2";
    gap: 1rem;
}

.terra-popular > :nth-child(1) {
    grid-area: large;
}

.terra-popular > :nth-child(2) {
    grid-area: wide;
}

.terra-popular > :nth-child(3) {
    grid-area: small1;
}

.terra-popular > :nth-child(4) {
    grid-area: small2;
}

.terra-property-card {
    position: relative;
    min-width: 0;
    min-height: 10.8rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #647c4d;
    border: 1px solid rgba(57, 71, 37, 0.08);
    box-shadow: 0 18px 36px rgba(57, 66, 38, 0.1);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.terra-property-card--large {
    min-height: 25.8rem;
}

.terra-popular > :nth-child(2) {
    min-height: 13rem;
}

.terra-popular > :nth-child(3),
.terra-popular > :nth-child(4) {
    min-height: 11.75rem;
}

.terra-property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(57, 66, 38, 0.14);
}

.terra-property-card__media,
.terra-property-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.terra-property-card__media img {
    object-fit: cover;
}

.terra-property-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 0.95rem;
    background: linear-gradient(180deg, transparent 0%, rgba(24, 31, 16, 0.9) 100%);
    color: #fffdf6;
}

.terra-property-card__overlay p {
    margin: 0 0 0.25rem;
    color: rgba(255, 253, 246, 0.72);
    font-size: 0.68rem;
}

.terra-property-card__overlay h3 {
    margin: 0;
    font-size: 1rem;
}

.terra-property-card__plus {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: var(--terra-accent);
    color: #223015;
}

.terra-suggest-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.terra-suggest-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 3.15rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--terra-line);
    border-radius: 999px;
    background: #fffdf5;
    color: inherit;
    text-decoration: none;
    font-size: 0.72rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.terra-suggest-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(70, 82, 50, 0.2);
    box-shadow: 0 12px 24px rgba(57, 66, 38, 0.08);
}

.terra-suggest-pill i {
    width: 1.95rem;
    height: 1.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef1e1;
    color: #5d684f;
}

.terra-suggest-pill--accent {
    border-color: transparent;
    background: var(--terra-accent);
    color: #213015;
    font-weight: 700;
}

.terra-suggest-pill--accent i {
    background: rgba(33, 48, 21, 0.12);
    color: #213015;
}

.terra-catalog {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.terra-catalog-card {
    overflow: hidden;
    border-radius: 0.9rem;
    background: #fffdf5;
    border: 1px solid rgba(70, 82, 50, 0.08);
    box-shadow: 0 12px 24px rgba(57, 66, 38, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.terra-catalog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(57, 66, 38, 0.1);
}

.terra-catalog-card__media {
    aspect-ratio: 1.4 / 1;
    background: linear-gradient(135deg, #708857, #435534);
}

.terra-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.terra-catalog-card__body {
    padding: 0.75rem;
}

.terra-catalog-card__body h3 {
    margin-bottom: 0.2rem;
    font-size: 0.78rem;
}

.terra-catalog-card__body p {
    margin-bottom: 0.5rem;
    color: var(--terra-muted);
    font-size: 0.7rem;
}

.terra-catalog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.66rem;
}

.terra-catalog-card__meta strong {
    color: #27321b;
}

.terra-catalog-card__meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: #eff4d7;
    color: #5f684a;
}

.terra-benefits,
.terra-services {
    display: grid;
    gap: 1rem;
}

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

.terra-services {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.terra-benefit,
.terra-service-card {
    position: relative;
    padding: 1.05rem;
    border: 1px solid var(--terra-line);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(57, 66, 38, 0.06);
}

.terra-benefit:nth-child(1) {
    background: linear-gradient(135deg, #f8fbe9 0%, #fffdf6 100%);
}

.terra-benefit__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0.85rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: #eef4d7;
    color: #4f5d3d;
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

[data-project-slider][data-slider-static="true"] .project-card__slider-control,
[data-project-slider][data-slider-static="true"] .project-card__slider-counter {
    display: none;
}

.terra-benefit strong,
.terra-service-card strong,
.terra-step strong,
.terra-cta h3 {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.terra-benefit p,
.terra-service-card p,
.terra-step p,
.terra-cta p {
    margin-bottom: 0;
    color: var(--terra-muted);
    line-height: 1.55;
}

.terra-service-card__icon {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border-radius: 0.8rem;
    background: #eff4d7;
    color: #506036;
    font-size: 1rem;
}

.terra-service-card span {
    display: block;
    margin-top: 0.65rem;
    color: #535c45;
    font-size: 0.84rem;
    line-height: 1.5;
}

.terra-section--process {
    padding-top: 1.7rem;
}

.terra-process {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 1rem;
}

.terra-process__content,
.terra-cta {
    padding: 1rem;
    border-radius: 1.15rem;
}

.terra-process__content {
    border: 0;
    background: linear-gradient(135deg, #2d3922 0%, #36462b 100%);
    box-shadow: 0 24px 44px rgba(33, 44, 22, 0.22);
    color: #fffef7;
}

.terra-process__content .terra-section__kicker {
    color: rgba(255, 255, 255, 0.58);
}

.terra-process__content h2,
.terra-process__content strong {
    color: #fffef7;
}

.terra-process__content p {
    color: rgba(255, 255, 255, 0.74);
}

.terra-steps {
    display: grid;
    gap: 0.85rem;
}

.terra-step {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.terra-step:first-child {
    padding-top: 0;
    border-top: 0;
}

.terra-step span {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--terra-accent);
    color: #223015;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}

.terra-cta {
    border: 1px solid rgba(92, 112, 55, 0.14);
    background: linear-gradient(180deg, #f8fbe9 0%, #eef5cf 100%);
    box-shadow: 0 18px 36px rgba(120, 145, 64, 0.14);
}

.terra-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: var(--terra-accent);
    color: #213015;
    text-decoration: none;
    font-weight: 800;
}

.terra-cta__contact {
    display: inline-flex;
    margin-top: 0.85rem;
    color: #2d3922;
    text-decoration: none;
    font-weight: 700;
}

.terra-card__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.terra-empty {
    padding: 1.5rem;
    border: 1px solid var(--terra-line);
    border-radius: 1rem;
    background: #fffdf5;
}

.terra-contact-section {
    padding-top: 0.25rem;
}

.contact-shell {
    padding: clamp(1.6rem, 4vw, 2.4rem);
    background: var(--contact-shell-glow), var(--contact-shell-bg);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 2.25rem;
    box-shadow: var(--shadow);
}

.contact__layout.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.contact-column {
    display: flex;
}

.contact-intro {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--footer-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: rgba(111, 145, 120, 0.35);
}

.section-title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.08;
    color: var(--footer-text);
}

.section-subtitle {
    margin: 0;
    color: var(--footer-muted);
    line-height: 1.7;
}

.contact-card,
.contact-connect {
    width: 100%;
    padding: 1.45rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--contact-card-border);
    box-shadow: var(--contact-card-shadow);
}

.contact-item + .contact-item {
    margin-top: 1rem;
}

.contact-item__label {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--footer-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-item a,
.contact-item span:last-child {
    font-size: 1.02rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    color: var(--footer-text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--footer-accent-strong);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.contact-actions + .contact-item {
    margin-top: 1.65rem;
}

.btn-brand,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0 1.3rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-brand {
    background: var(--footer-accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(111, 145, 120, 0.22);
}

.btn-brand:hover,
.btn-brand:focus-visible {
    background: var(--footer-accent-strong);
    color: #fff;
    transform: translateY(-1px);
}

.btn-brand--sm {
    min-height: 2.8rem;
    padding-inline: 1.2rem;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.82);
    color: var(--footer-text);
    border: 1px solid var(--contact-card-border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    color: var(--footer-accent-strong);
    border-color: rgba(111, 145, 120, 0.24);
    transform: translateY(-1px);
}

.contact-connect__top h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.08;
}

.contact-connect__top p {
    margin: 0.85rem 0 0;
    color: var(--footer-muted);
}

.contact-connect__eyebrow {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--footer-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-connect__list {
    display: grid;
    gap: 1rem;
    margin-top: 1.35rem;
}

.connect-card {
    display: grid;
    gap: 0.45rem;
    padding: 1.2rem 1.2rem 1.15rem;
    border-radius: 1.25rem;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(24, 32, 27, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.connect-card:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 1px rgba(111, 145, 120, 0.16), 0 14px 28px rgba(32, 42, 36, 0.05);
}

.connect-card--primary {
    background: linear-gradient(180deg, rgba(111, 145, 120, 0.14), rgba(255, 255, 255, 0.92));
}

.connect-card__label {
    color: var(--footer-accent-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.connect-card strong {
    color: var(--footer-text);
    font-size: 1.22rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.contact-connect__note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
}

.contact-connect__note span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.35rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(24, 32, 27, 0.08);
    color: var(--footer-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.terra-footer {
    width: 100%;
    padding: 0 0 2.4rem;
    background: var(--footer-bg);
}

.terra-footer .container {
    padding-top: 2rem;
    border-top: 0;
}

.terra-footer__inner {
    color: var(--footer-text);
}

.terra-brand--footer {
    align-items: center;
}

.terra-brand--footer .terra-brand__mark {
    background: var(--footer-accent-soft);
    border: 1px solid rgba(111, 145, 120, 0.2);
    color: var(--footer-accent-strong);
}

.terra-brand--footer .terra-brand__copy strong,
.terra-brand--footer .terra-brand__copy span {
    color: var(--footer-text);
}

.footer-brand p {
    max-width: 30rem;
    margin: 0.85rem 0 0;
    color: var(--footer-muted);
}

.footer-messenger-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--footer-text);
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-messenger-link i {
    font-size: 1.05rem;
    line-height: 1;
}

.footer-messenger-link:hover,
.footer-messenger-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--footer-accent-strong);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.25rem;
}

.footer-links-grid a {
    color: var(--footer-muted);
    text-decoration: none;
}

.footer-links-grid a:hover {
    color: var(--footer-accent-strong);
}

.footer-contact-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.footer-contact-item {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--footer-text);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.footer-contact-item:hover,
.footer-contact-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: var(--footer-text);
}

.footer-contact-item__label {
    color: var(--footer-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-contact-item strong {
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.footer-credit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem 1rem;
    margin-top: 0.35rem;
    padding-top: 1.1rem;
    border-top: 0;
    color: var(--footer-muted);
    font-size: 0.92rem;
}

.footer-credit a {
    color: var(--footer-accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-credit .btn {
    color: #fff;
    text-decoration: none;
}

.footer-credit .btn:hover {
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .terra-benefits,
    .terra-services,
    .terra-popular,
    .terra-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .terra-popular {
        grid-template-areas:
            "large wide"
            "small1 small2";
    }

    .terra-hero__copy {
        max-width: min(36rem, 62%);
    }

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

    .terra-property-card--large {
        grid-row: auto;
        min-height: 16rem;
    }

    .terra-suggest-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .terra-frame {
        padding: 0;
    }

    .terra-frame__body {
        padding: 0 0.75rem 0;
    }

    .terra-hero {
        min-height: auto;
    }

    .terra-nav,
    .terra-nav__menu,
    .terra-benefits,
    .terra-services,
    .terra-popular,
    .terra-catalog {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .terra-hero__shell {
        min-height: auto;
        padding-block: 1.75rem 0.5rem;
    }

    .terra-hero__copy {
        max-width: 100%;
    }

    .terra-hero__features {
        grid-template-columns: 1fr;
    }

    .terra-floating-card {
        position: static;
        max-width: none;
        margin-top: 1rem;
    }

    .terra-popular {
        grid-template-areas: none;
    }

    .terra-popular > * {
        grid-area: auto !important;
    }

    .contact-shell {
        padding: 1.25rem;
    }

    .contact-card,
    .contact-connect {
        padding: 1.2rem;
    }

}

@media (max-width: 767.98px) {
    .portfolio-project-surface {
        padding: 0.85rem;
        border-radius: 1.2rem;
    }

    .project-card__slider-control {
        width: 2.4rem;
        height: 2.4rem;
    }

    .project-card__slider-control--prev {
        left: 0.75rem;
    }

    .project-card__slider-control--next {
        right: 0.75rem;
    }

    .project-card__slider-counter {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .contact-actions,
    .footer-credit {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-brand,
    .btn-ghost {
        width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-item {
        padding: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .terra-frame__body {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .terra-nav {
        width: min(calc(100% - 1.4rem), 1100px);
        margin: 0.7rem auto 0;
        border-radius: 1rem;
    }

    .terra-title {
        max-width: 9ch;
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .terra-hero__text {
        font-size: 0.9rem;
    }

    .terra-section__head {
        flex-direction: column;
        align-items: stretch;
    }

    .terra-benefits,
    .terra-services,
    .terra-suggest-row,
    .terra-hero__features {
        grid-template-columns: 1fr;
    }

    .terra-suggest-pill {
        border-radius: 1.25rem;
        text-align: center;
    }

    .terra-footer__inner {
        width: min(calc(100% - 1rem), 920px);
        padding: 1.4rem;
    }
}

.terra-hero-inner {
    position: relative;
    z-index: 1;
    padding: clamp(0.2rem, 1vw, 0.5rem) 0 clamp(1.8rem, 3vw, 2.4rem);
}

.terra-nav-card {
    background:
        url("../img/textures/light-paper-fibers-tinted.png"),
        rgba(247, 243, 230, 0.96);
    background-size: 220px auto, auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.6rem;
    box-shadow: 0 16px 34px rgba(22, 28, 15, 0.14);
}

.terra-badge-soft {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.terra-btn-solid {
    background: var(--terra-accent);
    border-color: var(--terra-accent);
    color: #213015;
    font-weight: 800;
}

.terra-btn-solid:hover,
.terra-btn-solid:focus {
    background: #c5ea34;
    border-color: #c5ea34;
    color: #213015;
}

.terra-btn-outline {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 700;
}

.terra-btn-outline:hover,
.terra-btn-outline:focus {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.terra-display-title {
    max-width: 11ch;
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.terra-section__kicker--light {
    color: rgba(255, 255, 255, 0.62);
}

.terra-hero-copy {
    max-width: 56ch;
}

.terra-hero .text-white {
    color: #ffffff !important;
}

.terra-hero .text-white-50 {
    color: rgba(255, 255, 255, 0.72) !important;
}

.terra-side-card {
    background:
        url("../img/textures/light-paper-fibers-tinted.png"),
        rgba(255, 253, 247, 0.96);
    background-size: 220px auto, auto;
    border-radius: 1.2rem;
}

.terra-metric-card {
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(8, 12, 10, 0.14);
}

.terra-metric-card__label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.terra-metric-card__value {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1;
}

.terra-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(244, 241, 234, 0.9);
    box-shadow: inset 0 0 0 1px rgba(70, 82, 50, 0.12);
    color: #303727;
    font-size: 0.8rem;
    font-weight: 700;
}

.terra-feature-card {
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(8, 12, 10, 0.16);
}

.terra-feature-card__title {
    display: block;
    margin-bottom: 0.25rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.terra-feature-card p {
    color: rgba(255, 255, 255, 0.78);
}

.terra-project-card {
    position: relative;
    min-height: 100%;
    border-radius: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.terra-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(57, 66, 38, 0.14);
}

.terra-project-card__media {
    position: relative;
    min-height: 14rem;
    background: linear-gradient(135deg, #708857, #435534);
}

.terra-project-card--feature .terra-project-card__media {
    min-height: 21rem;
}

.terra-project-card__media img,
.terra-project-card__media .terra-card__placeholder {
    position: absolute;
    inset: 0;
}

.terra-project-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(24, 31, 16, 0.9) 100%);
    color: #fffdf6;
}

.terra-project-card__overlay p {
    color: rgba(255, 253, 246, 0.74);
}

.terra-project-card__plus {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: var(--terra-accent);
    color: #223015;
}

.terra-content-card {
    border: 1px solid var(--terra-line);
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(57, 66, 38, 0.06);
}

.terra-complex-card {
    overflow: hidden;
    border: 1px solid rgba(70, 82, 50, 0.12);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(197, 234, 52, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(236, 242, 226, 0.94) 0%, rgba(255, 255, 255, 0.98) 38%, rgba(240, 244, 229, 0.92) 100%);
    box-shadow: 0 18px 34px rgba(57, 66, 38, 0.08);
}

.terra-complex-copy {
    max-width: 34rem;
    color: #334027;
    line-height: 1.7;
}

.terra-complex-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.terra-complex-tag {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(70, 82, 50, 0.12);
    color: #2f3b24;
    font-size: 0.82rem;
    font-weight: 700;
}

.terra-complex-price {
    display: inline-grid;
    gap: 0.3rem;
    margin-top: 1.3rem;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #25301a 0%, #38462a 100%);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(33, 44, 22, 0.16);
}

.terra-complex-price span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.terra-complex-price strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    line-height: 0.95;
}

.terra-complex-case {
    padding: 1.35rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(70, 82, 50, 0.12);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 14px 30px rgba(57, 66, 38, 0.06);
}

.terra-complex-case__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.terra-complex-case__eyebrow {
    margin-bottom: 0.35rem;
    color: #617050;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.terra-complex-case__link {
    display: inline-flex;
    align-items: center;
    color: #24341b;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.terra-complex-case__link:hover,
.terra-complex-case__link:focus {
    color: #2f6d44;
}

.terra-complex-case__media {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(70, 82, 50, 0.12);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(227, 233, 218, 0.9), rgba(255, 255, 255, 0.96));
    box-shadow: 0 14px 24px rgba(57, 66, 38, 0.08);
}

.terra-complex-case__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}

.terra-complex-case__caption {
    padding: 0.8rem 0.95rem 0.95rem;
    border-top: 1px solid rgba(70, 82, 50, 0.12);
    color: #4e5a44;
    font-size: 0.88rem;
    line-height: 1.55;
}

.terra-complex-case__media--offset {
    margin-top: 1rem;
}

.terra-complex-case__excerpt {
    margin-top: 1rem;
    margin-bottom: 0;
    color: #4e5a44;
    line-height: 1.7;
}

.terra-complex-case__summary {
    margin: 0.65rem 0 0;
    color: #5a664d;
    line-height: 1.65;
}

.terra-complex-case__details {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(70, 82, 50, 0.12);
}

.terra-complex-list {
    display: grid;
    gap: 0.55rem;
    padding-left: 1.15rem;
    color: #24341b;
}

.terra-complex-list li {
    margin: 0;
    line-height: 1.55;
}

.terra-complex-points {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terra-complex-point {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(70, 82, 50, 0.1);
}

.terra-complex-point strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #24341b;
    font-size: 0.92rem;
}

.terra-complex-point span {
    display: block;
    color: #5f6c7b;
    line-height: 1.55;
}

.terra-complex-actions {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    margin-top: 1.1rem;
}

.terra-complex-note {
    color: var(--muted);
    line-height: 1.55;
}

.terra-complex-points--telegram {
    grid-template-columns: 1fr;
}

.terra-telegram-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.terra-telegram-shot {
    margin: 0;
    padding: 0.8rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(70, 82, 50, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 237, 0.96) 100%);
    box-shadow: 0 18px 34px rgba(70, 82, 50, 0.08);
}

.terra-telegram-shot img {
    display: block;
    width: 100%;
    border-radius: 0.9rem;
    background: #dbe4ea;
}

.terra-paper-section {
    position: relative;
    isolation: isolate;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background: var(--terra-paper-photo, url("../img/textures/slightly-blotted-clean-pale-stucco-pattern.jpg")) center top / 100% auto repeat-y;
    border-top: 1px solid rgba(70, 82, 50, 0.08);
    border-bottom: 1px solid rgba(70, 82, 50, 0.08);
    box-shadow: none;
}

.terra-paper-section::before,
.terra-paper-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.terra-paper-section::before {
    display: block;
    background:
        radial-gradient(circle at 18% 20%, rgba(74, 82, 68, 0.12), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(92, 100, 85, 0.08), transparent 30%),
        radial-gradient(circle at 54% 74%, rgba(68, 76, 63, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(80, 88, 74, 0.05) 0%, rgba(255, 255, 255, 0) 38%, rgba(72, 80, 67, 0.08) 100%);
}

.terra-paper-section::after {
    display: none;
}

.terra-paper-section > .container {
    position: relative;
    z-index: 1;
}

.terra-benefit-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 0.85rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #eef4d7;
    color: #4f5d3d;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
}

.terra-service-icon {
    width: 3.35rem;
    height: 3.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #eff4d7;
    color: #506036;
    font-size: 1.35rem;
}

.terra-service-picker {
    position: relative;
}

.terra-service-picker__list {
    overflow: hidden;
    border: 1px solid rgba(70, 82, 50, 0.08);
    border-radius: 1.4rem;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(57, 66, 38, 0.08);
}

.terra-service-row {
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid rgba(70, 82, 50, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.terra-service-row:last-child {
    border-bottom: 0;
}

.terra-service-row[data-selected="true"] {
    background: #ffffff;
    box-shadow: inset 4px 0 0 #c5ea34;
}

.terra-service-row[data-selected="true"] + .terra-service-row {
    border-top-color: rgba(70, 82, 50, 0.14);
}

.terra-service-row__top {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.terra-service-row__check {
    flex: 0 0 auto;
    margin: 0;
    padding-top: 0.5rem;
}

.terra-service-row__check .form-check-input,
.home-summary-option__check {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    border: 1px solid rgba(35, 51, 26, 0.2);
    border-radius: 999px;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.82rem 0.82rem;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.terra-service-row__check .form-check-input:checked,
.home-summary-option__check:checked {
    border-color: #4aa052;
    background-color: rgba(74, 160, 82, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233a9f4a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='M3 8.5 6.3 12 13 4.8'/%3E%3C/svg%3E");
}

.terra-service-row__check .form-check-input:focus-visible,
.home-summary-option__check:focus-visible {
    border-color: #4aa052;
    box-shadow: 0 0 0 0.18rem rgba(74, 160, 82, 0.16);
    outline: none;
}

.terra-service-row__headline {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    cursor: pointer;
    color: inherit;
}

.terra-service-row__icon {
    flex: 0 0 auto;
}

.terra-service-row__title {
    min-width: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: #27321b;
    line-height: 1.25;
}

.terra-service-row__price {
    margin-left: auto;
    padding-left: 1.1rem;
    color: #2d3922;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
}

.terra-service-row__body {
    display: grid;
    gap: 0.85rem;
    padding-left: calc(1.05rem + 0.95rem);
    margin-top: 0.85rem;
}

.terra-service-row__copy {
    color: #334027;
    font-weight: 700;
    line-height: 1.5;
}

.terra-service-row__meta {
    color: var(--terra-muted);
    line-height: 1.6;
}

.terra-service-row__promo-card {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    padding: 0.28rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(88, 168, 47, 0.12);
    color: #2f4e1b;
    box-shadow: none;
}

.terra-service-row__promo-copy {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
}

.terra-service-row__controls {
    display: grid;
    gap: 0.85rem;
}

.terra-service-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.terra-service-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(70, 82, 50, 0.14);
    border-radius: 1rem;
    background: #ffffff;
    cursor: pointer;
}

.terra-service-choice--accent {
    background: #ffffff;
    border-color: rgba(88, 168, 47, 0.32);
    box-shadow: inset 0 0 0 1px rgba(88, 168, 47, 0.12);
}

.terra-service-choice input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
}

.terra-service-choice__copy {
    display: grid;
    gap: 0.2rem;
}

.terra-service-choice__copy strong {
    color: #27321b;
    font-size: 0.96rem;
}

.terra-service-choice__copy span {
    color: #596449;
    line-height: 1.45;
}

.terra-service-pages {
    max-width: 16rem;
}

.terra-service-pages .form-control {
    border-radius: 0.9rem;
}

.terra-service-row__details {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(70, 82, 50, 0.12);
    border-radius: 1rem;
    background: #ffffff;
    color: #535c45;
}

.terra-service-picker [data-home-summary-widget] {
    background: #ffffff;
    backdrop-filter: none;
}

.home-summary-option {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.45rem 0;
}

.home-summary-option__copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.home-summary-option__label {
    color: #27321b;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-summary-option__meta {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.home-summary-option__value {
    color: #2d3922;
    font-family: "Manrope", sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.brief-price-breakdown__row--detail {
    padding-left: calc(1.25rem + 0.75rem);
}

.terra-process-shell {
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #2d3922 0%, #36462b 100%);
    box-shadow: 0 24px 44px rgba(33, 44, 22, 0.22);
}

.terra-process-step {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.85rem;
    align-items: start;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.terra-process-step:first-child {
    padding-top: 0;
    border-top: 0;
}

.terra-process-step span {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--terra-accent);
    color: #223015;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}

.terra-process-step p {
    color: rgba(255, 255, 255, 0.74);
}

.process-highlight {
    padding: 0;
}

.terra-cta {
    padding: 0;
}

@media (max-width: 991.98px) {
    .terra-display-title {
        max-width: 12ch;
    }

    .terra-complex-case__top {
        flex-direction: column;
    }

    .terra-complex-points {
        grid-template-columns: 1fr;
    }

    .terra-project-card--feature .terra-project-card__media {
        min-height: 17rem;
    }

    .terra-service-choice-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .terra-hero-inner {
        padding-bottom: 1.4rem;
    }

    .terra-telegram-gallery {
        grid-template-columns: 1fr;
    }

    .terra-complex-actions {
        justify-items: stretch;
    }

    .terra-complex-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .terra-display-title {
        max-width: none;
        font-size: clamp(1.95rem, 8vw, 2.7rem);
    }

    .terra-project-card__media,
    .terra-project-card--feature .terra-project-card__media {
        min-height: 13.5rem;
    }

    .terra-process-step {
        grid-template-columns: 1fr;
    }

    .terra-service-row__headline {
        flex-wrap: wrap;
        row-gap: 0.55rem;
    }

    .terra-service-row__price {
        margin-left: 0;
        padding-left: 4.35rem;
        width: 100%;
    }

    .terra-service-row__body {
        padding-left: 0;
    }

    .terra-service-row__promo-card {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .site-header {
        padding-top: 0.55rem;
    }

    .site-header__inner {
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .site-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header__panel {
        width: 100%;
        margin-top: 0.45rem;
        padding: 0.95rem;
        border: 1px solid rgba(45, 57, 34, 0.14);
        border-radius: 1rem;
        background: #ffffff;
        box-shadow: 0 16px 30px rgba(41, 57, 28, 0.12);
    }

    .site-header__panel.collapse:not(.show) {
        display: none;
    }

    .site-header__nav,
    .site-header__actions,
    .site-header__meta {
        width: 100%;
    }

    .site-header__nav {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.8rem;
        margin-left: 0;
    }

    .site-header__actions {
        margin-left: 0;
        justify-content: stretch;
    }

    .site-header__button {
        width: 100%;
    }

    .site-header__meta {
        margin-top: 0.6rem;
    }
}

@media (min-width: 992px) {
    .site-header__panel.collapse:not(.show) {
        display: flex;
    }
}

/* Unified home theme */
.terra-home-page {
    --terra-bg: #282d28;
    --terra-bg-deep: #171b18;
    --terra-surface: #2d342e;
    --terra-surface-strong: #353d36;
    --terra-text: #ffffff;
    --terra-muted: #ffffff;
    --terra-line: rgba(201, 234, 52, 0.16);
    --terra-accent: #88b92a;
    --terra-shadow: 0 22px 46px rgba(6, 8, 7, 0.24);
    --footer-bg: #0b0b0b;
    --footer-text: #ffffff;
    --footer-muted: #ffffff;
    --footer-line: rgba(201, 234, 52, 0.14);
    --footer-accent: #88b92a;
    --footer-accent-strong: #9dce39;
    --footer-accent-soft: rgba(201, 234, 52, 0.16);
    --contact-shell-bg: rgba(24, 29, 25, 0.98);
    --contact-shell-glow: none;
    --contact-card-bg: rgba(41, 47, 41, 0.94);
    --contact-card-border: rgba(201, 234, 52, 0.14);
    --contact-card-shadow: 0 18px 36px rgba(6, 8, 7, 0.22);
    position: relative;
    isolation: isolate;
    background: #070807;
    color: var(--terra-text);
}

.terra-home-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/textures/small-stained-pale-wall-home-dark.jpg") center top / 640px auto repeat;
    opacity: 0.46;
    pointer-events: none;
    z-index: -1;
}

.terra-home-page .site-header,
.terra-home-page .terra-shell,
.terra-home-page .terra-footer {
    position: relative;
}

.terra-home-page .site-header {
    z-index: 4;
}

.terra-home-page .terra-shell {
    z-index: 3;
}

.terra-home-page .terra-footer {
    z-index: 1;
}

.terra-home-page .site-header {
    background: #0b0b0b;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(3, 3, 4, 0.34);
}

.terra-home-page .site-brand__name,
.terra-home-page .site-header__nav a,
.terra-home-page .site-header__button,
.terra-home-page .site-header__button:hover,
.terra-home-page .site-header__button:focus-visible {
    color: var(--terra-text);
}

.terra-home-page .site-brand__subtitle,
.terra-home-page .site-header__meta {
    color: var(--terra-muted);
}

.terra-home-page .site-header__button {
    background: rgba(27, 27, 30, 0.88);
    border-color: rgba(201, 234, 52, 0.16);
}

.terra-home-page .site-header__button:hover,
.terra-home-page .site-header__button:focus-visible {
    background: rgba(38, 38, 42, 0.94);
    border-color: rgba(201, 234, 52, 0.28);
}

.terra-home-page .site-header__button--primary,
.terra-home-page .site-header__button--primary:hover,
.terra-home-page .site-header__button--primary:focus-visible {
    background: var(--terra-accent);
    border-color: var(--terra-accent);
    color: #1a1f19;
}

.terra-home-page .site-menu-toggle {
    background: rgba(27, 27, 30, 0.94);
    border-color: rgba(201, 234, 52, 0.16);
}

.terra-home-page .site-menu-toggle span {
    background: var(--terra-text);
}

.terra-home-page .terra-hero {
    background: var(--terra-hero-image, none) right center / cover no-repeat;
    background-color: #1b211d;
}

.terra-home-page .terra-hero::after {
    display: none;
}

.terra-home-page .terra-paper-section {
    background: transparent;
    border-top: 1px solid var(--terra-line);
    border-bottom: 1px solid var(--terra-line);
}

.terra-home-page .terra-paper-section::before {
    display: none;
}

.terra-home-page .terra-paper-section::after {
    display: none;
}

.terra-home-page .terra-side-card,
.terra-home-page .terra-content-card,
.terra-home-page .portfolio-project-surface,
.terra-home-page .project-card--portfolio,
.terra-home-page .terra-service-picker__list,
.terra-home-page .terra-service-row,
.terra-home-page .terra-service-choice,
.terra-home-page .terra-service-row__details,
.terra-home-page .terra-service-picker [data-home-summary-widget],
.terra-home-page .contact-shell,
.terra-home-page .contact-card,
.terra-home-page .contact-connect,
.terra-home-page .terra-cta,
.terra-home-page .portfolio-project-surface .card:not(.project-card--portfolio) {
    background: rgba(31, 36, 32, 0.98);
    border: 1px solid var(--terra-line);
    box-shadow: var(--terra-shadow);
}

.terra-home-page .terra-feature-card,
.terra-home-page .terra-metric-card {
    background: rgba(34, 39, 35, 0.94);
    border: 1px solid rgba(201, 234, 52, 0.14);
    box-shadow: 0 14px 28px rgba(6, 8, 7, 0.18);
}

.terra-home-page .terra-complex-card {
    background: rgba(27, 32, 28, 0.98);
    border-color: var(--terra-line);
    box-shadow: var(--terra-shadow);
}

.terra-home-page .terra-complex-case,
.terra-home-page .process-highlight,
.terra-home-page .terra-process-shell,
.terra-home-page .terra-complex-price {
    background: #1b211d;
    border: 1px solid var(--terra-line);
    box-shadow: var(--terra-shadow);
}

.terra-home-page .terra-service-row[data-selected="true"] {
    background: rgba(33, 38, 34, 0.98);
    box-shadow: inset 4px 0 0 var(--terra-accent);
}

.terra-home-page .terra-service-row__check .form-check-input,
.terra-home-page .home-summary-option__check {
    border-color: rgba(201, 234, 52, 0.24);
    background-color: rgba(18, 22, 19, 0.94);
}

.terra-home-page .terra-service-row__check .form-check-input:checked,
.terra-home-page .home-summary-option__check:checked {
    border-color: var(--terra-accent);
    background-color: rgba(201, 234, 52, 0.14);
}

.terra-home-page .terra-service-row__check .form-check-input:focus-visible,
.terra-home-page .home-summary-option__check:focus-visible {
    border-color: var(--terra-accent);
    box-shadow: 0 0 0 0.18rem rgba(201, 234, 52, 0.14);
}

.terra-home-page .terra-service-choice--accent {
    border-color: rgba(201, 234, 52, 0.28);
    box-shadow: inset 0 0 0 1px rgba(201, 234, 52, 0.1);
}

.terra-home-page .terra-service-picker__list,
.terra-home-page .terra-service-row,
.terra-home-page .terra-service-choice,
.terra-home-page .terra-service-row__details,
.terra-home-page .terra-service-picker [data-home-summary-widget] {
    border: 0;
}

.terra-home-page .terra-service-row {
    border-bottom: 0;
}

.terra-home-page .terra-service-choice--accent {
    box-shadow: none;
}

.terra-home-page .terra-service-pages .form-control {
    background: rgba(18, 22, 19, 0.9);
    border: 1px solid rgba(201, 234, 52, 0.18);
    color: var(--terra-text);
}

.terra-home-page .terra-service-pages .form-control:focus {
    border-color: rgba(201, 234, 52, 0.3);
    box-shadow: 0 0 0 0.2rem rgba(201, 234, 52, 0.08);
}

.terra-home-page .brief-price-breakdown__empty {
    background: rgba(201, 234, 52, 0.06);
    border-color: rgba(201, 234, 52, 0.18);
    color: var(--terra-muted);
}

.terra-home-page .terra-chip,
.terra-home-page .terra-complex-tag,
.terra-home-page .contact-connect__note span,
.terra-home-page .terra-service-row__promo-card {
    background: rgba(201, 234, 52, 0.12);
    border: 1px solid rgba(201, 234, 52, 0.18);
    color: #f4ffe2;
    box-shadow: none;
}

.terra-home-page .terra-benefit-index,
.terra-home-page .terra-service-icon,
.terra-home-page .terra-process-step span,
.terra-home-page .project-card__plus,
.terra-home-page .terra-btn-solid,
.terra-home-page .btn-brand {
    background: var(--terra-accent);
    border-color: var(--terra-accent);
    color: #ffffff;
}

.terra-home-page .terra-btn-solid,
.terra-home-page .btn-brand {
    box-shadow: 0 14px 28px rgba(201, 234, 52, 0.14);
}

.terra-home-page .terra-btn-solid:hover,
.terra-home-page .terra-btn-solid:focus,
.terra-home-page .btn-brand:hover,
.terra-home-page .btn-brand:focus-visible {
    background: var(--footer-accent-strong);
    border-color: var(--footer-accent-strong);
    color: #ffffff;
}

.terra-home-page .terra-btn-outline,
.terra-home-page .btn-outline-dark,
.terra-home-page .btn-ghost {
    background: rgba(28, 33, 29, 0.72);
    border-color: rgba(201, 234, 52, 0.22);
    color: var(--terra-text);
}

.terra-home-page .terra-btn-outline:hover,
.terra-home-page .terra-btn-outline:focus,
.terra-home-page .btn-outline-dark:hover,
.terra-home-page .btn-outline-dark:focus,
.terra-home-page .btn-ghost:hover,
.terra-home-page .btn-ghost:focus-visible {
    background: rgba(201, 234, 52, 0.12);
    border-color: rgba(201, 234, 52, 0.34);
    color: #ffffff;
}

.terra-home-page .section-kicker::before {
    background: rgba(201, 234, 52, 0.32);
}

.terra-home-page .project-card__slider-counter {
    background: rgba(18, 22, 19, 0.9);
    border: 1px solid rgba(201, 234, 52, 0.16);
    color: #ffffff;
}

.terra-home-page .project-placeholder {
    background: #1b211d;
    color: var(--terra-text);
}

.terra-home-page .terra-complex-case__media {
    background: rgba(31, 36, 32, 0.96);
}

.terra-home-page .contact-shell {
    background: var(--contact-shell-bg);
    border-color: var(--contact-card-border);
}

.terra-home-page .contact-card,
.terra-home-page .contact-connect {
    background: rgba(30, 35, 31, 0.98);
    border-color: var(--contact-card-border);
    box-shadow: var(--contact-card-shadow);
}

.terra-home-page .connect-card {
    background: rgba(31, 36, 31, 0.9);
    box-shadow: inset 0 0 0 1px rgba(201, 234, 52, 0.1);
}

.terra-home-page .connect-card--primary {
    background: rgba(34, 39, 34, 0.96);
}

.terra-home-page .terra-footer {
    margin-top: 0.75rem;
    padding-top: 0.35rem;
    background: var(--footer-bg);
}

.terra-home-page .terra-footer::before {
    display: none;
}

.terra-home-page .terra-footer .container {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    border-top-color: var(--footer-line);
}

.terra-home-page .terra-brand--footer .terra-brand__mark {
    background: rgba(201, 234, 52, 0.16);
    border-color: rgba(201, 234, 52, 0.2);
    color: #f5ffe2;
}

.terra-home-page .terra-brand--footer .terra-brand__copy strong,
.terra-home-page .terra-brand--footer .terra-brand__copy span,
.terra-home-page .footer-credit a,
.terra-home-page .footer-messenger-link {
    color: var(--footer-text);
}

.terra-home-page .footer-credit {
    border-top-color: var(--footer-line);
    color: #ffffff;
}

.terra-home-page .footer-credit .btn {
    color: #ffffff;
}

.terra-home-page .footer-messenger-link {
    background: rgba(201, 234, 52, 0.08);
    border-color: rgba(201, 234, 52, 0.16);
    box-shadow: 0 12px 24px rgba(4, 5, 5, 0.18);
}

.terra-home-page .footer-messenger-link:hover,
.terra-home-page .footer-messenger-link:focus-visible {
    background: rgba(201, 234, 52, 0.14);
    border-color: rgba(201, 234, 52, 0.28);
    color: #ffffff;
}

.terra-home-page .site-header,
.terra-home-page .site-header *,
.terra-home-page .terra-hero,
.terra-home-page .terra-hero *,
.terra-home-page .terra-paper-section,
.terra-home-page .terra-paper-section *,
.terra-home-page .terra-footer,
.terra-home-page .terra-footer * {
    color: #ffffff !important;
}

@media (max-width: 991.98px) {
    .terra-home-page .site-header__panel {
        background: #0b0b0b;
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 30px rgba(3, 3, 4, 0.34);
    }
}

/* Terra pages */
body.terra-page {
    min-height: 100vh;
}

body.terra-page,
body.terra-home-page {
    --terra-line: rgba(255, 255, 255, 0.1);
    --footer-line: rgba(255, 255, 255, 0.12);
    --contact-card-border: rgba(255, 255, 255, 0.12);
}

body.terra-page:not(.terra-home-page) {
    --terra-bg: #282d28;
    --terra-bg-deep: #171b18;
    --terra-surface: rgba(29, 34, 30, 0.98);
    --terra-surface-strong: rgba(35, 40, 36, 0.98);
    --terra-text: #ffffff;
    --terra-muted: rgba(255, 255, 255, 0.72);
    --terra-shadow: 0 22px 46px rgba(6, 8, 7, 0.24);
    --footer-bg: #0b0b0b;
    --footer-text: #ffffff;
    --footer-muted: rgba(255, 255, 255, 0.74);
    --footer-accent: #88b92a;
    --footer-accent-strong: #9dce39;
    --footer-accent-soft: rgba(255, 255, 255, 0.08);
    --contact-shell-bg: rgba(24, 29, 25, 0.98);
    --contact-shell-glow: none;
    --contact-card-bg: rgba(31, 36, 32, 0.98);
    --contact-card-shadow: 0 18px 36px rgba(6, 8, 7, 0.22);
    position: relative;
    isolation: isolate;
    background: #070807;
    color: var(--terra-text);
}

body.terra-page:not(.terra-home-page)::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/textures/small-stained-pale-wall-home-dark.jpg") center top / 640px auto repeat;
    opacity: 0.42;
    pointer-events: none;
    z-index: 0;
}

body.terra-page:not(.terra-home-page) .site-header,
body.terra-page:not(.terra-home-page) main,
body.terra-page:not(.terra-home-page) .site-footer {
    position: relative;
    z-index: 1;
}

body.terra-page:not(.terra-home-page) .site-header {
    background: #0b0b0b;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(3, 3, 4, 0.34);
}

body.terra-page:not(.terra-home-page) .site-brand__name,
body.terra-page:not(.terra-home-page) .site-header__nav a,
body.terra-page:not(.terra-home-page) .site-header__button,
body.terra-page:not(.terra-home-page) .site-header__button:hover,
body.terra-page:not(.terra-home-page) .site-header__button:focus-visible,
body.terra-page:not(.terra-home-page) .site-footer,
body.terra-page:not(.terra-home-page) .site-footer h1,
body.terra-page:not(.terra-home-page) .site-footer h2,
body.terra-page:not(.terra-home-page) .site-footer h3,
body.terra-page:not(.terra-home-page) .site-footer p,
body.terra-page:not(.terra-home-page) .site-footer li,
body.terra-page:not(.terra-home-page) .site-footer a,
body.terra-page:not(.terra-home-page) h1,
body.terra-page:not(.terra-home-page) h2,
body.terra-page:not(.terra-home-page) h3,
body.terra-page:not(.terra-home-page) h4,
body.terra-page:not(.terra-home-page) h5,
body.terra-page:not(.terra-home-page) h6,
body.terra-page:not(.terra-home-page) label,
body.terra-page:not(.terra-home-page) strong,
body.terra-page:not(.terra-home-page) th,
body.terra-page:not(.terra-home-page) td,
body.terra-page:not(.terra-home-page) li,
body.terra-page:not(.terra-home-page) p,
body.terra-page:not(.terra-home-page) span,
body.terra-page:not(.terra-home-page) div {
    color: var(--terra-text);
}

body.terra-page:not(.terra-home-page) .site-brand__subtitle,
body.terra-page:not(.terra-home-page) .site-header__meta,
body.terra-page:not(.terra-home-page) .text-secondary,
body.terra-page:not(.terra-home-page) .small.text-secondary,
body.terra-page:not(.terra-home-page) .lead.text-secondary,
body.terra-page:not(.terra-home-page) .text-muted,
body.terra-page:not(.terra-home-page) .brief-price-note,
body.terra-page:not(.terra-home-page) .chart-legend,
body.terra-page:not(.terra-home-page) .project-card__body p,
body.terra-page:not(.terra-home-page) .demo-toolbar__copy,
body.terra-page:not(.terra-home-page) .demo-toolbar__fact span,
body.terra-page:not(.terra-home-page) .footer-kicker,
body.terra-page:not(.terra-home-page) .site-footer .text-secondary {
    color: var(--terra-muted) !important;
}

body.terra-page:not(.terra-home-page) a:not(.btn):not(.site-brand):not(.site-header__button) {
    color: #ffffff;
}

body.terra-page:not(.terra-home-page) a:not(.btn):not(.site-brand):not(.site-header__button):hover,
body.terra-page:not(.terra-home-page) a:not(.btn):not(.site-brand):not(.site-header__button):focus-visible {
    color: #dce8d1;
}

body.terra-page:not(.terra-home-page) .site-header__button,
body.terra-page:not(.terra-home-page) .site-menu-toggle,
body.terra-page:not(.terra-home-page) .btn-outline-dark,
body.terra-page:not(.terra-home-page) .btn-light.border,
body.terra-page:not(.terra-home-page) .btn-ghost {
    background: rgba(27, 27, 30, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.terra-page:not(.terra-home-page) .site-menu-toggle span {
    background: #ffffff;
}

body.terra-page:not(.terra-home-page) .site-header__button:hover,
body.terra-page:not(.terra-home-page) .site-header__button:focus-visible,
body.terra-page:not(.terra-home-page) .btn-outline-dark:hover,
body.terra-page:not(.terra-home-page) .btn-outline-dark:focus-visible,
body.terra-page:not(.terra-home-page) .btn-light.border:hover,
body.terra-page:not(.terra-home-page) .btn-light.border:focus-visible,
body.terra-page:not(.terra-home-page) .btn-ghost:hover,
body.terra-page:not(.terra-home-page) .btn-ghost:focus-visible {
    background: rgba(40, 40, 44, 0.94);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.terra-page:not(.terra-home-page) .site-header__button--primary,
body.terra-page:not(.terra-home-page) .site-header__button--primary:hover,
body.terra-page:not(.terra-home-page) .site-header__button--primary:focus-visible,
body.terra-page:not(.terra-home-page) .btn-accent,
body.terra-page:not(.terra-home-page) .btn-accent:hover,
body.terra-page:not(.terra-home-page) .btn-accent:focus-visible,
body.terra-page:not(.terra-home-page) .btn-brand,
body.terra-page:not(.terra-home-page) .btn-brand:hover,
body.terra-page:not(.terra-home-page) .btn-brand:focus-visible {
    background: var(--terra-accent);
    border-color: var(--terra-accent);
    color: #1a1f19;
}

body.terra-page:not(.terra-home-page) .section-kicker,
body.terra-page:not(.terra-home-page) .footer-kicker {
    color: #d0ddbd;
}

body.terra-page:not(.terra-home-page) .card,
body.terra-page:not(.terra-home-page) .summary-card,
body.terra-page:not(.terra-home-page) .metric-card,
body.terra-page:not(.terra-home-page) .portfolio-project-surface,
body.terra-page:not(.terra-home-page) .project-card--portfolio,
body.terra-page:not(.terra-home-page) .brief-price-widget,
body.terra-page:not(.terra-home-page) .multi-file-field,
body.terra-page:not(.terra-home-page) .dashboard-sidebar,
body.terra-page:not(.terra-home-page) .demo-stage__fallback,
body.terra-page:not(.terra-home-page) .demo-stage__frame,
body.terra-page:not(.terra-home-page) .modal-content {
    background: var(--terra-surface);
    border: 1px solid var(--terra-line) !important;
    box-shadow: var(--terra-shadow);
}

body.terra-page:not(.terra-home-page) .project-card__media,
body.terra-page:not(.terra-home-page) .project-sample-card__media,
body.terra-page:not(.terra-home-page) .demo-stage__cover {
    background: linear-gradient(135deg, #1b211d 0%, #2a332b 100%);
}

body.terra-page:not(.terra-home-page) .table {
    --bs-table-bg: transparent;
    --bs-table-color: #ffffff;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: #ffffff;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-hover-color: #ffffff;
}

body.terra-page:not(.terra-home-page) .list-group-item {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
}

body.terra-page:not(.terra-home-page) .form-control,
body.terra-page:not(.terra-home-page) .form-select,
body.terra-page:not(.terra-home-page) textarea,
body.terra-page:not(.terra-home-page) .form-control-color {
    background: rgba(12, 15, 13, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.terra-page:not(.terra-home-page) .form-control::placeholder,
body.terra-page:not(.terra-home-page) textarea::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

body.terra-page:not(.terra-home-page) .form-control:focus,
body.terra-page:not(.terra-home-page) .form-select:focus,
body.terra-page:not(.terra-home-page) textarea:focus {
    background: rgba(12, 15, 13, 0.94);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

body.terra-page:not(.terra-home-page) .messages-wrapper .alert {
    background: rgba(31, 36, 32, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.terra-page:not(.terra-home-page) .dashboard-sidebar .nav-link {
    background: rgba(19, 23, 20, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.terra-page:not(.terra-home-page) .dashboard-sidebar .nav-link.active {
    background: rgba(136, 185, 42, 0.16);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

body.terra-page:not(.terra-home-page) .site-footer {
    margin-top: 0.75rem;
    background: #0b0b0b;
    border-top-color: var(--footer-line);
    z-index: 1040;
}

body.terra-page:not(.terra-home-page) .site-footer .footer-links a,
body.terra-page:not(.terra-home-page) .site-footer a {
    color: var(--footer-text);
}

body.terra-page:not(.terra-home-page) .site-footer .footer-links a:hover,
body.terra-page:not(.terra-home-page) .site-footer .footer-links a:focus-visible,
body.terra-page:not(.terra-home-page) .site-footer a:hover,
body.terra-page:not(.terra-home-page) .site-footer a:focus-visible {
    color: #dce8d1;
}

body.terra-page .site-header__button,
body.terra-page .site-menu-toggle,
body.terra-page .terra-feature-card,
body.terra-page .terra-metric-card,
body.terra-page .terra-service-row__check .form-check-input,
body.terra-page .home-summary-option__check,
body.terra-page .terra-service-choice,
body.terra-page .terra-service-choice--accent,
body.terra-page .terra-service-pages .form-control,
body.terra-page .brief-price-breakdown__empty,
body.terra-page .terra-chip,
body.terra-page .terra-complex-tag,
body.terra-page .contact-connect__note span,
body.terra-page .terra-service-row__promo-card,
body.terra-page .terra-btn-outline,
body.terra-page .btn-outline-dark,
body.terra-page .btn-ghost,
body.terra-page .project-card__slider-counter,
body.terra-page .connect-card,
body.terra-page .footer-messenger-link {
    border-color: rgba(255, 255, 255, 0.12);
}

body.terra-page .terra-service-row[data-selected="true"] {
    box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.2);
}

body.terra-page .terra-service-row__check .form-check-input,
body.terra-page .home-summary-option__check {
    border-color: rgba(255, 255, 255, 0.18);
}

body.terra-page .terra-service-row__check .form-check-input:checked,
body.terra-page .home-summary-option__check:checked {
    border-color: rgba(255, 255, 255, 0.24);
}

body.terra-page .terra-service-row__check .form-check-input:focus-visible,
body.terra-page .home-summary-option__check:focus-visible,
body.terra-page .terra-service-pages .form-control:focus {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.08);
}

body.terra-page .brief-price-breakdown__empty,
body.terra-page .home-summary-empty,
body.terra-page .terra-chip,
body.terra-page .terra-complex-tag,
body.terra-page .contact-connect__note span,
body.terra-page .terra-service-row__promo-card,
body.terra-page .multi-file-empty,
body.terra-page .multi-file-item,
body.terra-page .connect-card,
body.terra-page .footer-messenger-link,
body.terra-page .project-card__slider-counter {
    background: rgba(255, 255, 255, 0.04);
}

body.terra-page .multi-file-empty,
body.terra-page .multi-file-item {
    border-color: rgba(255, 255, 255, 0.12);
}

body.terra-page .terra-btn-outline:hover,
body.terra-page .terra-btn-outline:focus,
body.terra-page .btn-outline-dark:hover,
body.terra-page .btn-outline-dark:focus,
body.terra-page .btn-ghost:hover,
body.terra-page .btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.home-summary-empty {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
}

.home-summary-empty__body {
    display: grid;
    gap: 0.25rem;
}

.home-summary-empty__body strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

.home-summary-empty__body span {
    color: var(--terra-muted, var(--muted));
    font-size: 0.84rem;
    line-height: 1.45;
}

.home-summary-empty__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    line-height: 1;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.home-summary-empty__close:hover,
.home-summary-empty__close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    outline: none;
}

body.terra-page.portfolio-demo-page .demo-page {
    background: transparent;
}

body.terra-page.portfolio-demo-page .demo-toolbar {
    background: rgba(20, 23, 21, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 46px rgba(6, 8, 7, 0.24);
}

body.terra-page.portfolio-demo-page .demo-toolbar__toggle-pill {
    background: rgba(24, 29, 25, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.terra-page.portfolio-demo-page .demo-stage__fallback {
    background: rgba(24, 29, 25, 0.96);
}

@media (max-width: 991.98px) {
    body.terra-page:not(.terra-home-page) .site-header__panel {
        background: #0b0b0b;
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 30px rgba(3, 3, 4, 0.34);
    }
}

@media (max-width: 767.98px) {
    .home-summary-empty {
        padding: 0.9rem;
    }
}
