* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--md-text);
    font-family: var(--md-font);
}

body::before {
    content: "";
    position: fixed;
    top: -0.5rem;
    right: -0.5rem;
    width: min(42vw, 34rem);
    height: min(42vw, 34rem);
    background: url("/assets/poppies-corner.svg") top right / contain no-repeat;
    opacity: 0.96;
    filter: saturate(1.02);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    left: -1.75rem;
    bottom: -1rem;
    width: min(31vw, 24rem);
    height: min(31vw, 24rem);
    background: url("/assets/poppies-corner.svg") bottom left / contain no-repeat;
    transform: scaleX(-1) rotate(-4deg);
    opacity: 0.62;
    filter: saturate(0.96);
    pointer-events: none;
    z-index: 0;
}

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

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

.site-shell {
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(122, 31, 40, 0.08);
}

.site-header__inner,
.site-footer__inner,
.hero,
.home-grid-section,
.content-panel {
    width: min(calc(100% - 2rem), var(--md-max-width));
    margin: 0 auto;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand__logo {
    width: 3.6rem;
    height: 3.6rem;
    object-fit: contain;
    border-radius: 999px;
    background: var(--md-surface);
    border: 1px solid rgba(122, 31, 40, 0.08);
    padding: 0.45rem;
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand__text strong {
    color: var(--md-heading);
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.brand__eyebrow {
    color: rgba(64, 52, 54, 0.7);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    font-size: 0.96rem;
}

.site-nav a {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.lang-switcher a:hover,
.lang-switcher a.is-active {
    background: var(--md-accent-soft);
    color: var(--md-heading);
}

.lang-switcher {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.lang-switcher a {
    min-width: 2.3rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(122, 31, 40, 0.08);
    border-radius: 999px;
    text-align: center;
    font-size: 0.86rem;
}

.site-main {
    padding: 2rem 0 4rem;
}

.flash {
    width: min(calc(100% - 2rem), var(--md-max-width));
    margin: 0 auto 1rem;
    padding: 0.95rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid var(--md-border);
    background: var(--md-surface);
}

.flash--success {
    border-color: rgba(12, 133, 80, 0.24);
    background: rgba(226, 246, 237, 0.92);
}

.flash--error {
    border-color: rgba(184, 60, 70, 0.26);
    background: rgba(251, 235, 237, 0.94);
}

.hero {
    display: grid;
    gap: 1.6rem;
    align-items: center;
}

.hero--home {
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.hero--page {
    padding-top: 1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.hero__media {
    position: relative;
}

.hero__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1.8rem;
    box-shadow: 0 1.25rem 3rem rgba(64, 52, 54, 0.18);
}

.hero__content {
    padding: 1rem 0;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--md-heading);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero h1 {
    margin: 0;
    color: var(--md-heading);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
}

.hero--home h1 {
    white-space: pre-line;
}

.hero__intro {
    max-width: 42rem;
    margin: 1.05rem auto 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(64, 52, 54, 0.86);
}

.hero--page .hero__intro,
.hero--page h1 {
    margin-left: 0;
    margin-right: 0;
}

.hero__actions {
    display: inline-flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.78rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
    background: var(--md-accent);
    color: #fff;
    box-shadow: 0 1rem 2rem rgba(184, 60, 70, 0.22);
}

.button--secondary {
    background: var(--md-surface);
    border-color: rgba(122, 31, 40, 0.12);
    color: var(--md-heading);
}

.home-grid-section {
    padding-top: 1.2rem;
}

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

.home-card {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 14rem;
    overflow: hidden;
    border-radius: 1.6rem;
    background: #f3f0ef;
    border: 1px solid rgba(122, 31, 40, 0.08);
    box-shadow: 0 1.3rem 3rem rgba(64, 52, 54, 0.18);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.home-card:hover {
    transform: translateY(-0.12rem);
    box-shadow: 0 1.6rem 3.4rem rgba(64, 52, 54, 0.24);
}

.home-card:hover img {
    transform: scale(1.04);
}

.home-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0.06));
}

.home-card__body {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    width: min(66%, 30rem);
    padding: 1rem 1.05rem 0.95rem;
    display: grid;
    gap: 0.38rem;
    color: var(--md-text);
    isolation: isolate;
}

.home-card__body::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
    box-shadow: 0 0.9rem 2rem rgba(64, 52, 54, 0.16);
    backdrop-filter: blur(8px);
}

.home-card__body strong {
    font-size: clamp(1.25rem, 2.6vw, 2.2rem);
    line-height: 1.05;
    color: var(--md-heading);
}

.home-card__body small {
    max-width: 28rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(64, 52, 54, 0.84);
}

.home-card__body em {
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--md-accent);
}

.back-link {
    display: inline-flex;
    margin-bottom: 0.95rem;
    color: var(--md-heading);
    font-size: 0.92rem;
}

.content-panel {
    margin-top: 2rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 1.8rem;
    border: 1px solid rgba(122, 31, 40, 0.08);
    box-shadow: 0 1.2rem 2.5rem rgba(122, 31, 40, 0.08);
}

.content-panel__body {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.85;
}

.content-panel__body p {
    margin: 0 0 1.2rem;
}

.info-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    gap: 1.25rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 1.45rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(252, 249, 249, 0.98));
    border: 1px solid rgba(122, 31, 40, 0.1);
}

.info-card__map iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 1.1rem;
    box-shadow: 0 1rem 2.2rem rgba(64, 52, 54, 0.15);
}

.info-card__body {
    display: grid;
    gap: 0.85rem;
    text-align: left;
}

.info-card__body h2 {
    margin: 0;
    color: var(--md-heading);
}

.info-card__body p {
    margin: 0;
    line-height: 1.7;
}

.info-card__meta {
    font-size: 0.84rem;
    color: rgba(64, 52, 54, 0.62);
}

.info-card__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-card {
    max-width: 44rem;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-radius: 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(122, 31, 40, 0.08);
}

.form-card h2,
.order-grid__items h2 {
    margin-top: 0;
    color: var(--md-heading);
}

.stack-form {
    display: grid;
    gap: 1rem;
}

.stack-form label {
    display: grid;
    gap: 0.45rem;
    text-align: left;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(122, 31, 40, 0.14);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
    color: var(--md-text);
}

.stack-form textarea {
    resize: vertical;
}

.form-guard {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.order-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    margin-top: 2rem;
}

.order-items {
    display: grid;
    gap: 0.85rem;
}

.order-item {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(122, 31, 40, 0.08);
}

.order-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0.9rem;
    box-shadow: 0 0.95rem 2rem rgba(64, 52, 54, 0.16);
}

.order-item strong {
    color: var(--md-heading);
}

.order-item p {
    margin: 0.35rem 0 0;
    line-height: 1.5;
    font-size: 0.93rem;
}

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

.gallery-grid__item {
    margin: 0;
}

.gallery-grid__item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 1.35rem;
    box-shadow: 0 1rem 2.25rem rgba(64, 52, 54, 0.16);
}

.site-footer {
    border-top: 1px solid rgba(122, 31, 40, 0.08);
    background: rgba(255, 255, 255, 0.96);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 2rem;
    color: rgba(64, 52, 54, 0.8);
    font-size: 0.92rem;
}

.site-footer__inner p {
    margin: 0;
}

@media (max-width: 980px) {
    .site-header__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hero--page,
    .order-grid,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .home-card {
        aspect-ratio: 4 / 3;
    }

    .home-card__body {
        width: min(74%, 28rem);
    }

    .content-panel {
        padding: 1.4rem;
    }

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

@media (max-width: 640px) {
    .site-main {
        padding-top: 1rem;
    }

    .hero--home {
        padding-top: 2rem;
    }

    .hero__actions {
        width: 100%;
    }

    .button {
        width: 100%;
    }

    body::before {
        width: min(58vw, 16rem);
        height: min(58vw, 16rem);
        opacity: 0.76;
    }

    body::after {
        width: min(46vw, 11.5rem);
        height: min(46vw, 11.5rem);
        left: -1rem;
        bottom: -0.5rem;
        opacity: 0.42;
    }

    .home-card {
        aspect-ratio: 4 / 3;
        min-height: 12rem;
    }

    .home-card__body {
        width: min(88%, 22rem);
        left: 0.85rem;
        bottom: 0.85rem;
        padding: 0.9rem;
    }

    .home-card__body small {
        font-size: 0.82rem;
    }

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

    .info-card {
        grid-template-columns: 1fr;
    }
}
