:root {
    --ink: #17332f;
    --muted: #61716e;
    --paper: #fbfcf9;
    --surface: #ffffff;
    --soft: #edf5f0;
    --brand: #177b68;
    --brand-dark: #0e594c;
    --accent: #d98257;
    --line: #dce7e1;
    --shadow: 0 20px 55px rgba(23, 51, 47, .09);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(220, 231, 225, .9); background: rgba(251, 252, 249, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; font-weight: 780; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px 14px 14px 5px; background: var(--brand); color: white; font-family: Georgia, serif; font-size: 24px; }
.brand img { width: auto; max-width: 190px; height: 48px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 23px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 680; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--brand); color: white !important; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; box-shadow: 0 10px 26px rgba(23, 123, 104, .18); }
.button:hover, .nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { color: var(--brand) !important; background: var(--soft); box-shadow: none; }
.language { padding: 7px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 800; }
.nav-toggle { display: none; padding: 8px; border: 0; background: transparent; font-size: 25px; }

.hero { position: relative; overflow: hidden; padding: clamp(75px, 11vw, 145px) 0 100px; background: radial-gradient(circle at 85% 20%, rgba(217,130,87,.18), transparent 28%), linear-gradient(145deg, #eff8f2, #fbfcf9 55%); }
.hero::after { content: ""; position: absolute; right: -5vw; bottom: -160px; width: 390px; height: 390px; border: 70px solid rgba(23,123,104,.07); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: clamp(40px, 8vw, 110px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 500; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; }
h3 { font-size: 1.18rem; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { padding: 26px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.hero-note strong { display: block; margin-bottom: 6px; font-size: 1.15rem; }
.hero-note p { margin: 0; color: var(--muted); }

.page-hero { padding: 72px 0 60px; border-bottom: 1px solid var(--line); background: linear-gradient(140deg, var(--soft), var(--paper)); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.breadcrumb { margin-bottom: 18px; color: var(--brand); font-size: 13px; font-weight: 760; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 35px rgba(23, 51, 47, .045); }
.card-image { width: calc(100% + 52px); max-width: none; height: 210px; margin: -26px -26px 23px; object-fit: cover; background: var(--soft); }
.card p { color: var(--muted); }
.card-link { color: var(--brand); font-weight: 800; text-decoration: none; }
.meta { color: var(--muted); font-size: 13px; }
.empty { grid-column: 1 / -1; padding: 35px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.prose { max-width: 800px; }
.prose p, .prose li { color: #40524e; }
.prose img { border-radius: 18px; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(38px, 8vw, 100px); align-items: start; }
.portrait { overflow: hidden; min-height: 420px; border-radius: 180px 180px 24px 24px; background: var(--soft); }
.portrait img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.quote { font-family: Georgia, serif; font-size: 1.24rem; }
.stars { color: var(--accent); letter-spacing: 3px; }

.form-card { max-width: 820px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbdad2; border-radius: 12px; background: white; color: var(--ink); font: inherit; }
textarea { min-height: 135px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(23,123,104,.13); border-color: var(--brand); }
.error-list, .notice { margin-bottom: 22px; padding: 15px 18px; border-radius: 12px; }
.error-list { background: #fff0ed; color: #902e20; }
.notice { background: var(--soft); color: var(--brand-dark); }
.details-list { display: grid; gap: 12px; }
.details-list details { padding: 19px 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.details-list summary { cursor: pointer; font-weight: 780; }
.details-list details div { padding-top: 12px; color: var(--muted); }
.pagination { margin-top: 35px; }

.site-footer { padding: 64px 0 25px; background: var(--ink); color: #d9e5e0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 45px; }
.site-footer h3 { color: white; }
.site-footer a { color: inherit; }
.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #aebfba; font-size: 13px; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 81px; right: 20px; left: 20px; align-items: stretch; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-note { max-width: 520px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .container { width: min(100% - 28px, 1160px); }
    .brand { max-width: calc(100% - 58px); }
    .brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .language { display: none; }
    .hero { padding-top: 70px; }
    .grid, .grid.two, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .card { padding: 22px; }
    .card-image { width: calc(100% + 44px); margin: -22px -22px 20px; }
}
