:root {
    --bg: #efe4d4;
    --paper: rgba(255, 248, 239, 0.88);
    --surface: #fff9f1;
    --surface-soft: #f7ecd9;
    --text: #2a2018;
    --muted: #6f5f51;
    --brand: #9a6230;
    --brand-dark: #6f431f;
    --brand-gold: #c59a5f;
    --line: rgba(71, 52, 35, 0.13);
    --shadow: 0 22px 48px rgba(61, 41, 22, 0.10);
    --shadow-strong: 0 28px 56px rgba(61, 41, 22, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 20% 10%, rgba(198, 150, 90, 0.22), transparent 22%),
        radial-gradient(circle at 80% 0%, rgba(130, 82, 35, 0.17), transparent 24%),
        linear-gradient(180deg, #f8f1e7 0%, var(--bg) 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 1px 1px, rgba(78, 55, 33, 0.045) 1px, transparent 0);
    background-size: 22px 22px;
    opacity: 0.65;
    mix-blend-mode: multiply;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(247, 239, 228, 0.78);
    border-bottom: 1px solid rgba(71, 52, 35, 0.08);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.footer-wrap a:hover::after {
    transform: scaleX(1);
}

.hero {
    padding: 74px 0 30px;
}

.hero-grid,
.contact-grid,
.split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: stretch;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.split h2 {
    margin: 12px 0 16px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-family: Georgia, 'Times New Roman', serif;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    max-width: 11ch;
}

.hero-copy p,
.section-heading p,
.contact-copy p,
.step p,
.card p,
.benefit span,
.hero-note,
.form-hint,
.gallery-card-body p {
    color: var(--muted);
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--brand-dark);
    font-weight: 700;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(111, 67, 31, 0.16);
}

.btn-primary {
    background: linear-gradient(135deg, #b37a43, #7b4a22);
    color: #fff;
}

.btn-outline,
.btn-ghost {
    background: rgba(255, 250, 243, 0.8);
    border-color: rgba(111, 67, 31, 0.18);
}

.btn-ghost {
    color: var(--brand-dark);
}

.btn-block {
    width: 100%;
}

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

.hero-points div,
.hero-card,
.card,
.step,
.benefit,
.contact-form,
.gallery-card {
    background: var(--paper);
    border: 1px solid rgba(71, 52, 35, 0.09);
    box-shadow: var(--shadow);
    border-radius: 26px;
}

.hero-points div {
    padding: 18px;
}

.hero-points strong,
.contact-info strong,
.benefit strong,
.step h3,
.card h3,
.gallery-card h3 {
    display: block;
    margin-bottom: 6px;
    font-family: Georgia, 'Times New Roman', serif;
}

.hero-points span,
.contact-info span {
    color: var(--muted);
    font-size: 0.94rem;
}

.hero-card {
    padding: 22px;
    overflow: hidden;
    position: relative;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.14) 100%);
    pointer-events: none;
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}

.hero-card-top span {
    color: var(--muted);
}

.hero-collage {
    display: grid;
    gap: 16px;
}

.collage-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 14px;
}

.collage-main,
.collage-side img,
.gallery-image-wrap img {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbf4ea, #ead5bc);
    border: 1px solid rgba(71, 52, 35, 0.10);
    box-shadow: 0 10px 28px rgba(57, 39, 24, 0.10);
}

.collage-main {
    margin: 0;
    padding: 14px;
    display: grid;
    gap: 14px;
}

.collage-main img {
    border-radius: 18px;
    aspect-ratio: 4 / 4.9;
    object-fit: contain;
    padding: 12px;
    background: linear-gradient(135deg, #f8efdf, #e2c79f);
}

.collage-main figcaption {
    display: grid;
    gap: 4px;
}

.collage-main figcaption strong,
.gallery-card-body h3 {
    font-size: 1.02rem;
}

.collage-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.collage-side img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 14px;
    background: linear-gradient(135deg, #f8efe1, #e8cfad);
}

.hero-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(123, 74, 34, 0.08);
    border: 1px solid rgba(123, 74, 34, 0.14);
}

.section {
    padding: 46px 0;
}

.section-muted {
    background: rgba(255, 255, 255, 0.18);
}

.section-gallery {
    position: relative;
}

.section-gallery::before,
.section-gallery::after {
    content: '';
    position: absolute;
    inset: auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(111, 67, 31, 0.18), transparent);
}

.section-gallery::before { top: 0; }
.section-gallery::after { bottom: 0; }

.section-cta {
    padding-bottom: 72px;
}

.section-heading {
    margin-bottom: 24px;
    max-width: 820px;
}

.section-heading h2,
.contact-copy h2,
.split h2 {
    font-size: clamp(1.9rem, 3.3vw, 3.3rem);
}

.grid {
    display: grid;
    gap: 18px;
}

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

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

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

.card,
.step,
.benefit,
.gallery-card {
    padding: 24px;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-weight: 800;
    color: var(--brand-dark);
    background: rgba(154, 98, 48, 0.12);
    margin-bottom: 14px;
}

.split {
    align-items: center;
}

.benefits {
    display: grid;
    gap: 14px;
}

.gallery-card {
    display: grid;
    gap: 16px;
}

.gallery-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8efdf, #e5cbab);
    border: 1px solid rgba(71, 52, 35, 0.10);
}

.gallery-image-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 16px;
}

.gallery-card-body p {
    margin-bottom: 0;
}

.contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.contact-form {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(71, 52, 35, 0.14);
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(154, 98, 48, 0.45);
    box-shadow: 0 0 0 4px rgba(154, 98, 48, 0.12);
    transform: translateY(-1px);
}

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.alert-success {
    background: rgba(53, 154, 92, 0.12);
    color: #1f6a3f;
}

.alert-error {
    background: rgba(194, 61, 61, 0.12);
    color: #a33333;
}

.site-footer {
    padding: 20px 0 36px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    color: var(--muted);
}

.footer-wrap a {
    position: relative;
    padding-bottom: 4px;
}

.footer-wrap a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

@media (max-width: 1080px) {
    .hero-grid,
    .contact-grid,
    .split,
    .cards-4,
    .steps,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-wrap {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-copy h1 {
        max-width: none;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .hero {
        padding-top: 42px;
    }

    .footer-wrap,
    .hero-card-top {
        flex-direction: column;
        align-items: start;
    }

    .brand {
        text-align: center;
    }
}
