:root {
    --bg: #f8f6f2;
    --surface: #ffffff;
    --surface-soft: #f1ece4;
    --surface-dark: #14213d;
    --text: #17202f;
    --muted: #596377;
    --accent: #9b7b4f;
    --accent-dark: #6f5432;
    --line: rgba(23, 32, 47, 0.08);
    --shadow: 0 24px 60px rgba(20, 33, 61, 0.08);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fcfbf8 0%, #f8f6f2 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { line-height: 1.75; }

.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--surface-dark); color: #f6f8fc; }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading-light p, .section-heading-light .eyebrow { color: rgba(246, 248, 252, 0.75); }
.eyebrow {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
}
h1, h2, h3 {
    margin: 0 0 1rem;
    line-height: 1.08;
    font-family: 'Playfair Display', Georgia, serif;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.4rem; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(252, 251, 248, 0.88);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand strong { display: block; font-size: 1rem; }
.brand small { color: var(--muted); }
.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--surface-dark);
    color: #fff;
    font-weight: 800;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.2s ease;
}
.button.primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(155, 123, 79, 0.28); }
.button.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button.ghost { border-color: rgba(23, 32, 47, 0.14); background: rgba(255, 255, 255, 0.75); }
.button.nav-cta { padding-inline: 1.1rem; }
.button.full { width: 100%; }

.hero { padding-top: 4.5rem; }
.hero-grid, .split-grid, .faq-grid, .contact-panel { display: grid; gap: 2rem; align-items: center; }
.hero-grid { grid-template-columns: 1.05fr 0.95fr; }
.split-grid, .contact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.hero-trust { display: grid; gap: 1rem; }
.hero-trust ul, .bullet-list { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: 0.7rem; }
.trust-badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(155, 123, 79, 0.12);
    color: var(--accent-dark);
    font-weight: 700;
}
.hero-visual, .rounded-image, .visual-card, .info-panel, .contact-box, .service-card, .post-card, .steps-cards article, .faq-item {
    border-radius: var(--radius);
}
.visual-card, .info-panel, .contact-box, .service-card, .post-card, .steps-cards article {
    background: var(--surface);
    box-shadow: var(--shadow);
}
.visual-card {
    min-height: 520px;
    background: radial-gradient(circle at top right, rgba(155, 123, 79, 0.22), transparent 30%), linear-gradient(145deg, #1a2a4a, #0d172e 70%);
    color: #fff;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.stamp {
    width: fit-content;
    padding: 0.65rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    margin-bottom: auto;
}
.hero-visual img, .rounded-image { width: 100%; min-height: 100%; object-fit: cover; box-shadow: var(--shadow); }

.cards-3, .cards-2, .steps-cards { display: grid; gap: 1.4rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card, .post-card, .steps-cards article, .contact-box, .info-panel { padding: 1.6rem; }
.steps-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-cards article { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.steps-cards span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 1.1rem;
    font-weight: 800;
}

.blog-grid .post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-bottom: 1rem; }
.richtext p { margin: 0.7rem 0 0; color: var(--muted); }
.richtext a { color: var(--accent-dark); text-decoration: underline; }

.faq-grid { grid-template-columns: 0.7fr 1.3fr; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: #fff; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 1rem 0 0; color: var(--muted); }

.contact-section { padding-bottom: 6rem; }
.contact-box { display: grid; gap: 1rem; }
.contact-box p { margin: 0; display: grid; gap: 0.25rem; }
.contact-box strong { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

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

@media (max-width: 980px) {
    .hero-grid, .split-grid, .faq-grid, .contact-panel, .cards-3, .cards-2, .steps-cards { grid-template-columns: 1fr; }
    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 78px;
        background: rgba(252, 251, 248, 0.98);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        display: none;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0.8rem 1rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
    }
}
