:root {
    --green-deep: #212b19;
    --sage: #9aa284;
    --terra: #c76a4a;
    --blush: #e4b7a1;
    --cream: #f3e3d5;
    --surface: #fffaf6;
    --surface-strong: #fffdfb;
    --text: #263020;
    --text-soft: #5e6a56;
    --line: rgba(33, 43, 25, 0.12);
    --shadow: 0 24px 60px rgba(33, 43, 25, 0.12);
    --shadow-soft: 0 14px 36px rgba(33, 43, 25, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: min(1160px, calc(100% - 2rem));
}
::selection {
    background: transparent;
    color: var(--sage) ;
    
  }
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
button,
a,
[role="button"],
.burger,
img,
.burger * {
  -webkit-tap-highlight-color: transparent;
} 
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Roboto", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(154, 162, 132, 0.18), transparent 26rem),
        radial-gradient(circle at bottom right, rgba(228, 183, 161, 0.2), transparent 22rem),
        linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
}

body.error-page {
    display: grid;
    place-items: center;
}

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

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

.site-shell {
    width: var(--shell);
    margin: 0 auto;
}

.page-content {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    padding-bottom: 3rem;
}

.page-content > :not(.page-content__ornament) {
    position: relative;
    z-index: 1;
}

.page-content__ornament {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    --parallax-shift: 0px;
    will-change: transform;
    transition: transform 0.18s ease-out;
}

.page-content__ornament-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.page-content__ornament--top {
    top: 0;
    left: 0;
    z-index: 0;
    width: clamp(16rem, 33vw, 34rem);
    transform: translate3d(-8%, -8%, 0) translate3d(0, var(--parallax-shift), 0);
}

.page-content__ornament--bottom {
    bottom: 0;
    right: 0;
    width: clamp(16rem, 28vw, 24rem);
    transform: translate3d(10%, 14%, 0) translate3d(0, var(--parallax-shift), 0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 1rem 0;
    backdrop-filter: blur(16px);
    background: rgba(255, 250, 246, 0.82);
    border-bottom: 1px solid rgba(33, 43, 25, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand__lockup {
    position: relative;
    display: grid;
    gap: 0.1rem;
    padding-left: 0.7rem;
}

.brand__lockup::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: rgba(228, 183, 161, 0.94);
    z-index: -1;
}

.brand__wordmark {
    display: inline-flex;
    font-weight: bold;
    align-items: baseline;
    font-family: "Quattrocento", serif;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.06rem;
}

.brand__wordmark-main {
    color: var(--terra);
}

.brand__wordmark-accent {
    color: var(--sage);
}

.brand__tagline {
    padding-left: 4rem;
    font-size: 0.82rem;
    letter-spacing: 0.28rem;
    text-transform: lowercase;
    color: var(--green-deep);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    border: 1px solid rgba(33, 43, 25, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.nav-burger__box {
    display: grid;
    gap: 0.32rem;
}

.nav-burger__line {
    width: 1.3rem;
    height: 2px;
    border-radius: 999px;
    background: var(--green-deep);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.site-nav__link,
.site-nav__button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0 1rem;
    border-radius: 999px;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.site-nav__link {
    color: var(--text-soft);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
    color: var(--green-deep);
    background: rgba(154, 162, 132, 0.16);
}

.site-nav__button,
.button {
    color: #fff;
    background: var(--green-deep);
    box-shadow: 0 18px 34px rgba(33, 43, 25, 0.16);
}

.site-nav__button:hover,
.button:hover,
.site-nav__button:focus-visible,
.button:focus-visible {
    transform: translateY(-1px);
}

.button--ghost {
    color: var(--green-deep);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(33, 43, 25, 0.12);
    box-shadow: none;
}

.button--small {
    min-height: 2.65rem;
    padding: 0.7rem 1rem;
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--sage);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Quattrocento", serif;
    color: var(--green-deep);
}

h1 {
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    line-height: 1.03;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.18;
}

p {
    margin: 0;
}

.page-hero,
.section {
    padding: 2rem 0 1.6rem;
}

.page-hero__box,
.panel,
.feature-card,
.service-card,
.testimonial-card,
.gallery-slide,
.contact-card,
.legal-card {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(33, 43, 25, 0.08);
    box-shadow: var(--shadow);
}

.page-hero__box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.75fr);
    gap: 1.4rem;
    padding: clamp(1.7rem, 4vw, 3.2rem);
    background-size: cover;
    background-position: center;
}

.page-hero__content {
    display: grid;
    gap: 1rem;
    align-content: center;
}

.page-hero__content p {
    max-width: 62ch;
    color: rgba(29, 35, 25, 0.84);
    font-size: 1.05rem;
}

.page-hero__quote {
    align-self: end;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

.page-hero__quote strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--terra);
    font-size: 0.82rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.page-hero__quote p {
    color: var(--green-deep);
    font-family: "Quattrocento", serif;
    font-size: 1.15rem;
    line-height: 1.45;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.section-heading {
    display: grid;
    gap: 0.8rem;
    max-width: 44rem;
    margin-bottom: 1.4rem;
}

.section-heading p:last-child {
    color: var(--text-soft);
}

.card-grid,
.service-grid,
.testimonial-grid,
.footer-list {
    display: grid;
    gap: 1rem;
}

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

.feature-card,
.service-card,
.testimonial-card,
.contact-card,
.legal-card {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
}

.feature-card p,
.service-card p,
.testimonial-card p,
.contact-card p,
.legal-card p {
    margin-top: 0.75rem;
    color: var(--text-soft);
}

.card-media,
.content-media,
.service-card__image,
.gallery-slide__image,
.contact-map,
.placeholder-media {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(33, 43, 25, 0.08);
    background:
        linear-gradient(135deg, rgba(154, 162, 132, 0.18), rgba(228, 183, 161, 0.28)),
        #fff;
}

.card-media,
.service-card__image {
    margin-bottom: 1rem;
    aspect-ratio: 4 / 3;
}

.card-media img,
.content-media img,
.service-card__image img,
.gallery-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-media {
    display: grid;
    place-items: center;
    min-height: 220px;
    color: rgba(33, 43, 25, 0.48);
    font-size: 0.95rem;
}

.split-section,
.contact-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.panel {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.76);
}

.panel p + p,
.legal-card p + p {
    margin-top: 1rem;
}

.content-media {
    min-height: 100%;
    aspect-ratio: 4 / 3;
}

.action-blocks {
    display: grid;
    gap: 1rem;
}

.action-block {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
    align-items: stretch;
}

.action-block--reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.9fr);
}

.action-block--reverse .content-media {
    order: 2;
}

.action-block--reverse .panel {
    order: 1;
}

.bullet-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-soft);
}

.bullet-list li + li {
    margin-top: 0.45rem;
}

.testimonial-card strong,
.service-meta strong {
    display: block;
}

.testimonial-card em,
.service-meta span {
    display: block;
    margin-top: 0.25rem;
    color: var(--terra);
    font-style: normal;
    font-size: 0.92rem;
}

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

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

.service-card {
    display: grid;
    gap: 0.9rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-meta span {
    margin: 0;
    min-height: 2rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(154, 162, 132, 0.16);
    color: var(--green-deep);
}

.gallery-carousel {
    display: grid;
    gap: 1rem;
    width: min(100%, 580px);
    margin: 0 auto;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.gallery-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
}

.gallery-slide__image {
    border: none;
    border-radius: 0;
    aspect-ratio: 16 / 9;
}

.gallery-slide__caption {
    padding: 1rem 1.2rem 1.3rem;
}

.gallery-slide__caption p {
    color: var(--text-soft);
}

.gallery-controls {
    display: flex;
    justify-content: center;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2.5rem;
}

.gallery-dot {
    width: 0.8rem;
    height: 0.8rem;
    border: none;
    border-radius: 999px;
    background: rgba(33, 43, 25, 0.16);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.gallery-dot.is-active {
    background: var(--terra);
    width: 2rem;
    transform: none;
}

.gallery-dot:hover,
.gallery-dot:focus-visible {
    transform: translateY(-1px);
}

.contact-card iframe,
.contact-map iframe {
    width: 100%;
    min-height: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form__grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--green-deep);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(33, 43, 25, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
    font: inherit;
    color: var(--text);
}

.contact-form textarea {
    min-height: 10rem;
    resize: vertical;
}

.contact-form__full {
    grid-column: 1 / -1;
}

.flash-stack {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.flash-message {
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(33, 43, 25, 0.12);
    background: rgba(255, 255, 255, 0.88);
}

.flash-message--success {
    border-color: rgba(34, 139, 34, 0.2);
    background: rgba(232, 247, 233, 0.9);
}

.flash-message--error {
    border-color: rgba(178, 34, 34, 0.2);
    background: rgba(255, 240, 240, 0.92);
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card h2 + p,
.legal-card h3 + p {
    margin-top: 0.5rem;
}

.footer-card {
    position: relative;
    display: grid;
    gap: 0.8rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(243, 227, 213, 0.12);
    backdrop-filter: blur(12px);
}

.footer-card h2 {
    font-size: 1.45rem;
    color: var(--cream);
}

.footer-inline-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2.8rem;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 227, 213, 0.18);
    color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
}

.site-footer {
    position: relative;
    overflow: hidden;
    --footer-orb-before-y: 0px;
    --footer-orb-after-y: 0px;
    padding: 3.2rem 0 1.4rem;
    background: var(--green-deep);
    color: rgba(243, 227, 213, 0.92);
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    border-radius: 42% 58% 64% 36% / 40% 37% 63% 60%;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.22s ease-out;
}

.site-footer::before {
    top: -7rem;
    right: -5rem;
    width: 18rem;
    height: 18rem;
    background: rgba(228, 183, 161, 0.12);
    transform: translate3d(0, var(--footer-orb-before-y), 0);
}

.site-footer::after {
    bottom: -8rem;
    left: -5rem;
    width: 20rem;
    height: 20rem;
    background: rgba(154, 162, 132, 0.16);
    transform: translate3d(0, var(--footer-orb-after-y), 0);
}

.site-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1rem;
}

.footer-card p,
.footer-list,
.footer-list a {
    color: rgba(243, 227, 213, 0.86);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.footer-social {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(243, 227, 213, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--cream);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(243, 227, 213, 0.32);
}

.footer-social svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.brand--footer .brand__lockup::before {
    background: rgba(243, 227, 213, 0.18);
}

.brand--footer .brand__wordmark-main,
.brand--footer .brand__wordmark-accent,
.brand--footer .brand__tagline {
    color: var(--cream);
}

.site-footer__bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(243, 227, 213, 0.14);
    font-size: 0.95rem;
    color: rgba(243, 227, 213, 0.72);
}

.site-footer__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-cookie-button {
    min-height: 2.35rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(243, 227, 213, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
    font: inherit;
    cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 1.1rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(33, 43, 25, 0.12);
    border-radius: 22px;
    background: rgba(255, 252, 248, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 70px rgba(33, 43, 25, 0.18);
}

.cookie-banner.is-hidden {
    display: none !important;
}

.cookie-banner__copy {
    display: grid;
    gap: 0.45rem;
}

.cookie-banner__eyebrow {
    margin: 0;
    color: var(--terra);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.cookie-banner h2,
.cookie-modal h2 {
    font-size: 1.4rem;
}

.cookie-banner p:last-child,
.cookie-option p,
.cookie-embed-placeholder p {
    color: var(--text-soft);
}

.cookie-banner__actions,
.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-modal {
    width: min(680px, calc(100% - 1rem));
    border: none;
    border-radius: 26px;
    padding: 0;
    background: transparent;
    box-shadow: 0 30px 90px rgba(33, 43, 25, 0.2);
}

.cookie-modal::backdrop {
    background: rgba(33, 43, 25, 0.38);
}

.cookie-modal__box {
    padding: 1.35rem;
    border-radius: 26px;
    background: rgba(255, 252, 248, 0.98);
}

.cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-modal__close {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(33, 43, 25, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--green-deep);
    font-size: 1.3rem;
    cursor: pointer;
}

.cookie-modal__list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(33, 43, 25, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.7);
}

.cookie-option h3 {
    font-size: 1.05rem;
}

.cookie-option__status {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(154, 162, 132, 0.18);
    color: var(--green-deep);
    white-space: nowrap;
}

.cookie-option__status.is-locked {
    background: rgba(199, 106, 74, 0.14);
    color: var(--terra);
}

.cookie-option--toggle {
    cursor: pointer;
}

.cookie-switch {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie-switch__track {
    width: 3.4rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(33, 43, 25, 0.16);
    transition: background-color 0.25s ease;
}

.cookie-switch__track::after {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(33, 43, 25, 0.14);
    transition: transform 0.25s ease;
}

.cookie-switch input:checked + .cookie-switch__track {
    background: rgba(33, 43, 25, 0.9);
}

.cookie-switch input:checked + .cookie-switch__track::after {
    transform: translateX(1.4rem);
}

.cookie-embed-placeholder {
    min-height: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    align-content: center;
    gap: 0.85rem;
    padding: 1.4rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(243, 227, 213, 0.88));
}

.cookie-embed-placeholder strong {
    font-family: "Quattrocento", serif;
    font-size: 1.25rem;
    color: var(--green-deep);
}

.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 3.15rem;
    height: 3.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--cream);
    background: var(--green-deep);
    color: #fff;
    box-shadow: 0 18px 36px rgba(33, 43, 25, 0.24);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 45;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.error-page__main {
    width: 100%;
    padding: 1.5rem 0;
}

.error-card {
    width: min(760px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(33, 43, 25, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    text-align: center;
}

.error-card__code {
    margin: 0;
    font-family: "Quattrocento", serif;
    font-size: clamp(4rem, 10vw, 6.5rem);
    line-height: 0.9;
    color: var(--terra);
}

.error-card__message,
.error-card__hint {
    color: var(--text-soft);
}

.error-card .hero-buttons {
    justify-content: center;
}

[id] {
    scroll-margin-top: 7rem;
}

@media (max-width: 1024px) {
    .card-grid,
    .service-grid,
    .testimonial-grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero__box,
    .split-section,
    .contact-grid,
    .action-block,
    .action-block--reverse {
        grid-template-columns: 1fr;
    }

    .action-block--reverse .content-media,
    .action-block--reverse .panel {
        order: initial;
    }
}

@media (max-width: 900px) {
    .nav-burger {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: rgba(255, 250, 245, 0.98);
        border: 1px solid rgba(33, 43, 25, 0.08);
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateY(-0.4rem);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .site-nav__link,
    .site-nav__button {
        width: 100%;
    }

    .nav-toggle:checked + .nav-burger .nav-burger__line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked + .nav-burger .nav-burger__line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked + .nav-burger .nav-burger__line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-toggle:checked ~ .site-nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 720px) {
    .card-grid,
    .service-grid,
    .testimonial-grid,
    .site-footer__grid,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .section {
        padding-top: 1.4rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .brand__wordmark {
        font-size: 2.15rem;
    }

    .brand__tagline {
        padding-left: 2.8rem;
        font-size: 0.72rem;
        letter-spacing: 0.14rem;
    }

    .brand__lockup::before {
        width: 2.3rem;
        height: 2.3rem;
    }

    .site-footer__bottom {
        flex-direction: column;
    }

    .page-content__ornament--top {
        width: clamp(12rem, 44vw, 18rem);
        transform: translate(-14%, -10%);
    }

    .page-content__ornament--bottom {
        width: clamp(12rem, 40vw, 17rem);
        transform: translate3d(10%, 16%, 0) translate3d(0, var(--parallax-shift), 0);
    }

    .site-footer__meta,
    .cookie-banner__actions,
    .cookie-modal__actions,
    .cookie-option {
        flex-direction: column;
        align-items: stretch;
    }

}

@media (prefers-reduced-motion: reduce) {
    .page-content__ornament,
    .site-footer::before,
    .site-footer::after {
        transform: none !important;
        will-change: auto;
    }

    .page-content__ornament--top {
        transform: translate3d(-8%, -8%, 0) !important;
    }

    .page-content__ornament--bottom {
        transform: translate3d(10%, 14%, 0) !important;
    }
}

@media (max-width: 840px) {
    .cookie-banner {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
