@font-face {
  font-family: "AM Editorial";
  src: url("assets/tekst-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "AM Editorial";
  src: url("assets/tekst-kursywa.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --forest: #153e30;
  --deep: #102f26;
  --leaf: #486849;
  --ink: #1d2c24;
  --muted: #46564b;
  --paper: #f9f8f3;
  --wash: #eef1e8;
  --line: #c8d1c3;
  --margin: clamp(1.25rem, 5.5vw, 6rem);
  --max: 92rem;
  --serif: "AM Editorial", "STIX Two Text", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
body, button, input, textarea { font-family: var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font-size: 1rem; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--forest); font-weight: 400; }
h2 { font-size: clamp(2.4rem, 4.2vw, 4.25rem); letter-spacing: -.037em; line-height: 1.02; }
h3 { font-size: clamp(1.65rem, 2.45vw, 2.65rem); letter-spacing: -.024em; line-height: 1.1; }
p { line-height: 1.65; }
:focus-visible { outline: 3px solid #82702b; outline-offset: 4px; }
.shell { max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.skip { position: absolute; transform: translateY(-160%); z-index: 3; background: white; padding: 1rem; left: 1rem; top: .5rem; }
.skip:focus { transform: none; }
.icon { width: 1.18em; height: 1.18em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.masthead { background: white; border-bottom: 1px solid var(--line); }
.head-inner { min-height: clamp(5rem, 6.8vw, 6.5rem); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(5.2rem, 7.1vw, 7rem); height: auto; }
.head-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.8vw, 4.25rem); }
.head-nav a, .button, .contact-ribbon a, .contact-lines a, .footer-name { text-decoration: none; }
.head-nav a { font-size: 1rem; font-weight: 510; color: var(--deep); }
.head-nav a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: .32rem; }
.nav-contact { min-height: 2.8rem; display: inline-flex; align-items: center; padding: .6rem 1.6rem; border: 1px solid var(--forest); }
.nav-contact:hover { color: white; background: var(--forest); }
.hero { background: var(--paper); display: grid; grid-template-columns: 49% 51%; }
.hero-pane { display: flex; align-items: center; min-width: 0; padding: clamp(2.8rem, 5.2vw, 5.4rem) clamp(1.5rem, 2.9vw, 3.5rem) clamp(2.8rem, 5.2vw, 5.4rem) max(var(--margin), calc((100vw - var(--max)) / 2 + var(--margin))); }
.hero-copy { width: 100%; min-width: 0; container-type: inline-size; }
.scope { display: flex; align-items: center; gap: .55rem; margin-bottom: clamp(1rem, 1.7vw, 1.65rem); color: var(--leaf); font-size: .92rem; font-weight: 600; }
.scope .icon { width: 1.05rem; height: 1.05rem; }
h1 { font-size: clamp(2.1rem, 4.95vw, 5.4rem); font-size: clamp(1rem, 11.9cqi, 5.8rem); line-height: .96; letter-spacing: -.04em; }
h1 span, h1 em { display: block; }
h1 em { color: var(--leaf); font-weight: 400; }
.hero-copy > p { max-width: 29rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.21rem); line-height: 1.52; margin-top: clamp(1.15rem, 1.65vw, 1.75rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.1rem; padding: .83rem 1.4rem; border: 1px solid transparent; font-size: 1rem; line-height: 1.35; font-weight: 570; text-align: center; border-radius: 0; transition: background-color .18s ease; }
.primary { color: white; background: var(--forest); }
.primary:hover { background: #25553e; }
.hero .button { margin-top: clamp(1.35rem, 2.1vw, 2rem); }
.hero-visual { position: relative; display: block; min-height: clamp(30rem, 37vw, 41rem); overflow: hidden; background: #66836b; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 51%; }
.contact-ribbon { background: #e6ecdf; border-block: 1px solid #d5dece; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3.4vw, 3.5rem); min-height: 4.15rem; padding: .62rem var(--margin); }
.contact-ribbon a, .contact-lines a { display: inline-flex; align-items: center; gap: .7rem; font-weight: 550; white-space: nowrap; }
.contact-ribbon a { color: var(--forest); font-size: clamp(1rem, 1.33vw, 1.25rem); min-height: 2.45rem; }
.contact-ribbon a:hover, .contact-lines a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.ribbon-divider { width: 1px; align-self: center; height: 1.5rem; background: #acbba5; }
.services { display: grid; grid-template-columns: .80fr 1.22fr 1.22fr; padding-top: clamp(3.2rem, 6.5vw, 6.25rem); padding-bottom: clamp(3.3rem, 6.5vw, 6.25rem); }
.services-title { padding-right: 1.3rem; }
.services h2 { font-size: clamp(2.2rem, 3.65vw, 3.65rem); }
.service { border-left: 1px solid var(--line); padding-inline: clamp(1.4rem, 2.55vw, 2.8rem); }
.service:last-child { padding-right: 0; }
.service h3 { max-width: 23rem; font-size: clamp(1.65rem, 2.15vw, 2.3rem); }
.service p { color: var(--muted); margin: .95rem 0 1.05rem; max-width: 38ch; }
.text-link { padding: .37rem 0; border: 0; border-bottom: 1px solid #829683; background: none; font-weight: 600; font-size: 1rem; color: var(--forest); text-decoration: none; display: inline-block; line-height: 1.35; }
.text-link:hover { border-bottom-color: var(--forest); color: #447044; }
.about { background: var(--wash); }
.about-inner { display: grid; grid-template-columns: .89fr 1fr; gap: clamp(2.3rem, 6.5vw, 7rem); padding-block: clamp(3.2rem, 6vw, 6rem); align-items: center; }
.about-picture { display: block; }
.about-picture img { width: 100%; aspect-ratio: 1.32; object-fit: cover; }
.about-copy > p { color: var(--muted); max-width: 52ch; margin-top: .9rem; }
.questions { margin-top: 1.35rem; border-top: 1px solid #bdc9b9; }
.questions details { border-bottom: 1px solid #bdc9b9; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; gap: 1rem; font-weight: 600; color: var(--deep); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 1rem; height: 1rem; background: linear-gradient(var(--forest),var(--forest)) center / .9rem 1.4px no-repeat, linear-gradient(var(--forest),var(--forest)) center / 1.4px .9rem no-repeat; }
details[open] summary::after { background: linear-gradient(var(--forest),var(--forest)) center / .9rem 1.4px no-repeat; }
details > p { padding-bottom: 1.1rem; max-width: 56ch; color: var(--muted); }
.contact-section { background: var(--forest); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 6vw, 6.8rem); }
.contact-intro { color: #f5f6ef; }
.contact-intro h2 { color: #fbfaf6; }
.contact-intro > p { color: #dae3d8; margin-top: 1.3rem; max-width: 33ch; }
.contact-lines { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin-top: 1.7rem; }
.contact-lines a { min-height: 2.5rem; font-size: clamp(1rem, 1.6vw, 1.4rem); }
.enquiry { padding: clamp(1.3rem, 2.7vw, 3rem); background: var(--paper); scroll-margin-top: 1rem; }
.enquiry > h3 { margin-bottom: 1.5rem; }
.topic-set { margin: 0; border: 0; padding: 0; }
.topic-set legend, .field { font-size: .93rem; font-weight: 620; }
.topic-set legend { margin-bottom: .45rem; }
.topic-options { display: grid; grid-template-columns: 1.12fr .94fr; gap: .42rem; }
.topic-options label { position: relative; display: flex; font-size: .92rem; line-height: 1.35; }
.topic-options input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.topic-options span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .55rem .35rem; border: 1px solid #acb9aa; background: white; text-align: center; }
.topic-options input:checked + span { background: #e2ebdd; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); color: var(--deep); font-weight: 600; }
.topic-options input:focus-visible + span { outline: 3px solid #82702b; outline-offset: 2px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.field { display: block; margin-top: 1.03rem; }
.optional, .required { color: #536258; font-size: .8rem; font-weight: 400; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #9fae9f; border-radius: 0; background: #fff; color: var(--ink); margin-top: .32rem; padding: .65rem .73rem; font-weight: 400; line-height: 1.35; }
.field input { min-height: 2.75rem; }
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #657369; }
.field-pair:has(#amount-field[hidden]) { grid-template-columns: 1fr; }
.enquiry form > .button { margin-top: 1.15rem; }
.form-note, .feedback { font-size: .87rem; line-height: 1.5; color: var(--muted); }
.form-note { margin-top: .65rem; }
.form-note a { text-underline-offset: .15rem; }
.draft { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.draft h4 { font-size: 1.5rem; line-height: 1.17; }
.draft > p { margin: .5rem 0; }
.draft-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 13rem; overflow: auto; border-left: 2px solid #aebfa8; padding-left: .7rem; color: var(--muted); margin: .65rem 0 1rem; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; }
.footer { background: var(--paper); }
.footer-layout { padding-block: 2.05rem; display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 1.6rem; align-items: start; }
.company, .company-record { display: grid; gap: .2rem; }
.company span, .company-record span, .footer-link { color: #4a574d; font-size: .86rem; line-height: 1.5; }
.footer-name { color: var(--forest); font-size: 1.18rem; font-weight: 600; }
.company-record i { font-style: normal; margin: 0 .28rem; }
.footer-link { text-underline-offset: .2rem; }
.legal { padding-block: clamp(2.5rem, 5vw, 5rem); max-width: 56rem; }
.legal .text-link { margin-bottom: 1.6rem; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.05; }
.legal h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); margin: 1.8rem 0 .5rem; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .6rem; }
.legal a { text-underline-offset: .22rem; }
@media (min-width: 1700px) {
  .hero { grid-template-columns: calc(50% - 1rem) 1fr; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .hero-pane { padding-right: 1.35rem; }
  .hero-visual { min-height: 27rem; }
  .services { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .services-title { grid-column: 1/-1; }
  .service:nth-child(2) { border-left: 0; padding-left: 0; }
  .contact-layout { grid-template-columns: .75fr 1.15fr; gap: 2rem; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .head-inner { min-height: 4.65rem; }
  .brand img { width: 4.6rem; }
  .head-nav { gap: clamp(.85rem, 4.4vw, 1.8rem); }
  .head-nav a { font-size: .93rem; }
  .nav-contact { min-height: 2.5rem; padding: .5rem .85rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-pane { padding: clamp(2.2rem, 7vw, 3.5rem) var(--margin); }
  .hero-copy { max-width: 33rem; }
  .hero-visual { min-height: 0; height: clamp(13.5rem, 48vw, 20rem); }
  .hero-visual img { object-position: 50% 52%; }
  .scope { margin-bottom: 1.1rem; }
  .contact-ribbon { flex-wrap: wrap; column-gap: 1.15rem; row-gap: 0; min-height: 3.6rem; }
  .contact-ribbon a { font-size: .97rem; }
  .services, .about-inner, .contact-layout { grid-template-columns: 1fr; }
  .services { gap: 1.35rem; }
  .service { border-left: 0; border-top: 1px solid var(--line); padding: 1.3rem 0 0; }
  .service h3 { max-width: 33rem; }
  .service p { max-width: 54ch; margin-block: .6rem; }
  .about-inner { gap: 1.8rem; }
  .about-picture { order: 2; }
  .about-picture img { max-height: 19rem; aspect-ratio: 1.85; }
  .contact-layout { gap: 1.8rem; }
  .contact-intro > p { max-width: 43ch; }
  .contact-lines { margin-top: 1rem; gap: .12rem; }
  .footer-layout { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 440px) {
  .hero .button { width: 100%; padding-inline: .85rem; }
  .contact-ribbon { flex-direction: column; gap: 0; padding-block: .5rem; }
  .ribbon-divider { display: none; }
  .contact-ribbon a { min-height: 2.35rem; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .topic-options { grid-template-columns: 1fr; }
  .topic-options span { justify-content: flex-start; padding-left: .75rem; min-height: 2.55rem; }
  .enquiry { padding: 1.2rem; }
}
@media (max-width: 348px) {
  :root { --margin: 1rem; }
  .head-nav { gap: .65rem; }
  .head-nav a { font-size: .88rem; }
  .brand img { width: 4.2rem; }
  .nav-contact { padding-inline: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
