:root {
    --primary-color: #72655a;
    --accent-color: #8c7d70;
    --secondary-color: #e6e0dc;
    --bg-color: #faf9f8;
    --card-bg: rgba(255, 255, 255, 0.84);
    --text-dark: #2c2724;
    --text-muted: #665f58;
    --text-soft: #6f675f;
    --header-bg: rgba(250, 249, 248, 0.74);
    --success: #4caf50;
    --info: #4d7298;
    --warning: #c27a39;
    --container-width: 1100px;
    --shadow-soft: 0 14px 50px -20px rgba(114, 101, 90, 0.25);
    --shadow-hover: 0 22px 70px -28px rgba(114, 101, 90, 0.32);
    --transition-smooth: cubic-bezier(0.23, 1, 0.32, 1);
    --focus-ring: #2c2724;
    --focus-ring-offset: rgba(230, 224, 220, 0.95);
}

* , *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75;
    color: var(--text-dark);
    background:
        radial-gradient(circle at top right, rgba(230, 224, 220, 0.9) 0%, transparent 35%),
        linear-gradient(180deg, #fbfaf8 0%, #f7f3ef 100%);
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

picture {
    display: inline-flex;
}

.portrait-card picture,
.story-portrait picture {
    display: block;
    width: 100%;
}

h1,
h2,
h3 {
    color: var(--primary-color);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

p,
li {
    color: var(--text-muted);
}

a {
    color: inherit;
}

:is(a, button, summary, input, select, textarea, [role="button"]):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px var(--focus-ring-offset);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -56px;
    z-index: 2000;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 16px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(114, 101, 90, 0.14);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.12);
}

.eyebrow--inverse {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(114, 101, 90, 0.18);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), background 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth), color 0.35s var(--transition-smooth);
}

.btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(114, 101, 90, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
    border-color: rgba(114, 101, 90, 0.28);
}

.btn-secondary:hover {
    background: rgba(114, 101, 90, 0.06);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.site-header,
.legal-header {
    border-bottom: 1px solid rgba(114, 101, 90, 0.08);
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(1.18);
    -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
}

.legal-header {
    padding: 28px 0;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 0;
}

.logo img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.logo-name {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-sub {
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    margin-left: auto;
    position: relative;
    flex-shrink: 0;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 6px;
    border: 1px solid rgba(114, 101, 90, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 12px 34px rgba(114, 101, 90, 0.08);
    backdrop-filter: blur(14px);
}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.desktop-nav a:hover {
    background: rgba(114, 101, 90, 0.08);
    color: var(--primary-color);
}

.desktop-nav + .nav-menu {
    display: none;
    margin-left: 0;
}

.nav-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(114, 101, 90, 0.16);
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s var(--transition-smooth), box-shadow 0.28s var(--transition-smooth), background 0.28s var(--transition-smooth);
}

.nav-menu summary::-webkit-details-marker {
    display: none;
}

.nav-menu summary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-hover);
}

.nav-menu-list {
    display: none;
    position: absolute;
    z-index: 1100;
    right: 0;
    top: calc(100% + 14px);
    width: min(380px, calc(100vw - 48px));
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.992);
    border: 1px solid rgba(114, 101, 90, 0.12);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(18px);
}

.nav-menu[open] .nav-menu-list {
    display: flex;
}

.nav-menu-list a {
    position: relative;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    min-height: 44px;
    width: 100%;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu-list a:not(.btn)::after {
    display: none;
}

.nav-menu-list a:not(.btn) {
    border-radius: 14px;
    padding: 0 14px;
    transition: background 0.24s ease, color 0.24s ease;
}

.nav-menu-list a:not(.btn):hover {
    background: rgba(114, 101, 90, 0.07);
    color: var(--primary-color);
}

.nav-menu-list .btn {
    width: 100%;
    justify-content: center;
}

.nav-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.nav-burger span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-menu[open] .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-menu[open] .nav-burger span:nth-child(2) {
    opacity: 0;
}

.nav-menu[open] .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 44px;
}

.card,
.section-card {
    background: var(--card-bg);
    border: 1px solid rgba(114, 101, 90, 0.1);
    box-shadow: var(--shadow-soft);
}

.card {
    padding: 34px 30px;
    border-radius: 24px;
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.section-card {
    padding: 38px 34px;
    border-radius: 28px;
}

.testimonials-grid {
    align-items: stretch;
}

.testimonial-card {
    position: relative;
    padding: 32px 28px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(114, 101, 90, 0.1);
    box-shadow: var(--shadow-soft);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 18px;
    left: 24px;
    color: rgba(114, 101, 90, 0.18);
    font-size: 3rem;
    line-height: 1;
}

.testimonial-quote {
    position: relative;
    margin: 0;
    padding-top: 22px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.65;
}

.testimonial-meta {
    display: grid;
    gap: 4px;
    margin-top: 20px;
}

.testimonial-meta strong {
    color: var(--primary-color);
    font-size: 0.96rem;
}

.testimonial-meta span {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead-form {
    display: grid;
    gap: 16px;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-dark);
    font: inherit;
}

.form-field textarea {
    min-height: 148px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(44, 39, 36, 0.56);
}

.form-note,
.contact-fallback {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.contact-fallback a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 44px 38px;
    border-radius: 30px;
    background: linear-gradient(135deg, #2d2824 0%, #171412 100%);
    box-shadow: 0 40px 90px rgba(28, 24, 22, 0.28);
}

.cta-panel::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(140, 125, 112, 0.22);
    filter: blur(10px);
}

.cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.cta-content h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-content p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.76);
    max-width: 720px;
}

.cta-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-panel .btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.62);
}

.cta-panel .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: #fff;
}

.site-footer {
    margin-top: 70px;
    padding: 70px 0 54px;
    background: #2c2724;
    color: #fff;
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-wrap p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #fff;
}

.contact-address {
    margin-top: 12px;
    color: var(--text-muted);
    font-style: normal;
}

.meta-note {
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.article-page .container {
    max-width: 980px;
}

.article-page main {
    padding: 84px 0 70px;
}

.article-hero {
    max-width: 820px;
}

.article-hero h1 {
    margin-top: 24px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.article-hero .lead {
    margin-top: 24px;
    max-width: 760px;
    font-size: 1.12rem;
}

.article-page .meta {
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-body {
    margin-top: 54px;
    padding: 42px 38px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(114, 101, 90, 0.1);
    box-shadow: var(--shadow-soft);
}

.article-body p {
    margin-top: 18px;
    font-size: 1.03rem;
}

.article-body p:first-child {
    margin-top: 0;
}

.article-body h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.article-page .cta-panel {
    margin-top: 34px;
}

.article-page .cta-panel h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.article-page .cta-panel p {
    margin-top: 18px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.76);
}

.article-page .cta-actions {
    margin-top: 24px;
}

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

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 0;
    }

    .legal-header {
        padding: 20px 0;
    }

    .section-card {
        padding: 30px 22px;
    }

    .article-body {
        padding: 30px 22px;
    }

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

    .lead-form .btn {
        width: 100%;
    }

    .cta-content,
    .cta-actions,
    .inline-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .cta-actions .btn,
    .inline-actions .btn {
        width: 100%;
    }

    .site-footer {
        padding: 48px 0 40px;
    }

    .back-link {
        font-size: 0.78rem;
    }
}

@media (max-width: 1120px) {
    .desktop-nav {
        display: none;
    }

    .desktop-nav + .nav-menu {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .legal-header {
        padding: 16px 0;
    }

    .logo {
        gap: 12px;
    }

    .site-nav {
        gap: 12px;
    }

    .logo img {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .logo-name {
        font-size: 0.88rem;
    }

    .logo-sub {
        display: none;
    }

    .nav-menu summary {
        min-height: 48px;
        padding: 0 14px;
    }

    .btn {
        padding: 0 20px;
    }

    .nav-menu-list {
        top: calc(100% + 10px);
        width: min(300px, calc(100vw - 32px));
        padding: 14px;
        border-radius: 20px;
    }

    .card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .testimonial-card {
        padding: 28px 22px 22px;
        border-radius: 20px;
    }

    .section-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .cta-panel {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links a,
    .back-link,
    .nav-label {
        font-size: 0.74rem;
    }
}

@media (max-width: 560px) {
    .nav-menu summary {
        width: 52px;
        padding: 0;
    }

    .nav-label {
        display: none;
    }
}
