:root {
  --navy: #1d2a3a;
  --navy-2: #263649;
  --gold: #b8913f;
  --gold-dark: #8f6d26;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #e4e7eb;
  --bg-alt: #f6f4ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgb(29 42 58 / 0.08);
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: .75rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .95rem; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / .08); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgb(0 0 0 / .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand img { width: 170px; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.5rem; }
.site-nav ul a { color: #e6e9ee; text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; }
.site-nav ul a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: var(--header-h) 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.5rem; gap: 1rem; border-top: 1px solid rgb(255 255 255 / .08); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #34485f 0%, transparent 60%), var(--navy); color: #d9dee5; padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 7rem); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; max-width: 34em; }
.hero-person { margin: -.25rem 0 0; color: #fff; font-size: 1.02rem; }
.hero-person strong { color: var(--gold); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

/* Hero visual: a "month closed" status board built from HTML, crisp at any size */
.hero-visual { position: relative; display: grid; place-items: center; padding: 4.5rem 0; }
.hero-visual::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(184 145 63 / .35), transparent 70%); filter: blur(10px); }
.hv-card { position: relative; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
.hv-card svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hv-card strong { display: block; color: var(--navy); font-size: .95rem; }
.hv-card span { font-size: .85rem; color: var(--muted); }
.hv-main { width: min(360px, 100%); padding: 1.4rem 1.5rem 1.25rem; }
.hv-head { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: .9rem; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: #2e9e6b; box-shadow: 0 0 0 4px rgb(46 158 107 / .18); }
.hv-list { list-style: none; display: grid; gap: .15rem; }
.hv-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.hv-list li span { color: var(--ink); font-size: .93rem; }
.hv-list i { width: 22px; height: 22px; border-radius: 50%; background: rgb(46 158 107 / .12); position: relative; flex: none; }
.hv-list i::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid #2e9e6b; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hv-progress { height: 8px; border-radius: 99px; background: var(--bg-alt); margin: 1.1rem 0 .55rem; overflow: hidden; }
.hv-progress b { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #d9b968); animation: hv-fill 1.6s ease-out both .3s; transform-origin: left; }
@keyframes hv-fill { from { transform: scaleX(0); } }
.hv-foot { display: flex; justify-content: space-between; align-items: baseline; }
.hv-foot strong { font-size: 1.1rem; }
.hv-ksef, .hv-advisor { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; }
.hv-ksef { top: 0; right: 0; }
.hv-advisor { bottom: 0; left: 0; }
.hv-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold) !important; font-family: var(--font-head); font-weight: 600; font-size: .95rem !important; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .hv-ksef { animation: hv-float 6s ease-in-out infinite; }
  .hv-advisor { animation: hv-float 6s ease-in-out infinite 3s; }
  @keyframes hv-float { 50% { transform: translateY(-8px); } }
}
@media (prefers-reduced-motion: reduce) { .hv-progress b { animation: none; } }
@media (max-width: 860px) { .hero-visual { justify-items: start; max-width: 480px; } }

/* Highlights */
.highlights { margin-top: -3.5rem; position: relative; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.highlight { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; border-top: 3px solid var(--gold); }
.highlight h2 { font-size: 1.25rem; margin: .75rem 0 .35rem; }
.highlight p { margin: 0; color: var(--muted); }
.highlight .verify-link { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--gold-dark); }
.icon { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .highlight-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.prose p { color: #323f4b; }
.about-cards { display: grid; gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.checklist { list-style: none; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) scale(.8); transform-origin: left top; }
.checklist.columns { columns: 2 18rem; column-gap: 2.5rem; display: block; }
.checklist.columns li { break-inside: avoid; margin-bottom: .55rem; }

/* Offer */
.offer-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.offer { background: #fff; border-radius: var(--radius); padding: 1.75rem 1.5rem; display: flex; align-items: center; gap: 1.1rem; box-shadow: 0 1px 0 var(--line); transition: transform .2s, box-shadow .2s; }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-icon { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #fbf6ea, #f1e4c4); box-shadow: inset 0 0 0 1px rgb(184 145 63 / .35); }
.offer-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.offer:hover .offer-icon { background: var(--navy); }
.offer:hover .offer-icon svg { stroke: var(--gold); }
.offer, .offer-icon { transition: transform .2s, box-shadow .2s, background .2s; }
.offer h3 { margin: 0; font-size: 1.08rem; }
.services { margin-top: 2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.services summary { cursor: pointer; padding: 1.1rem 1.5rem; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.services summary::-webkit-details-marker { display: none; }
.services summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); line-height: 1; }
.services[open] summary::after { content: "–"; }
.services .checklist { padding: 0 1.5rem 1.5rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.step { position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: calc(1.75rem + 24px); left: calc(1.75rem + 60px); right: -1.25rem; border-top: 2px dashed rgb(184 145 63 / .5); z-index: 1; }
.step p { margin: 0; color: var(--muted); }
.steps-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }

/* KSeF */
.ksef { background: var(--navy); color: #d9dee5; }
.ksef h2, .ksef h3 { color: #fff; }
.ksef .lead { font-size: 1.1rem; }
.ksef .checklist { margin: 1.5rem 0; }
.ksef a { color: var(--gold); }
.ksef a:hover { color: #fff; }
.ksef-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.ksef-timeline { background: var(--navy-2); border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius); padding: 1.75rem; }
.ksef-timeline ol { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.ksef-timeline li { position: relative; padding: 0 0 1.4rem 1.75rem; border-left: 2px solid rgb(255 255 255 / .12); margin-left: 6px; }
.ksef-timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.ksef-timeline li::before { content: ""; position: absolute; left: -8px; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-2); border: 2px solid var(--gold); }
.ksef-timeline li.done::before { background: var(--gold); }
.ksef-timeline time { font-weight: 700; color: #fff; }
.ksef-timeline .status { display: inline-block; margin-left: .5rem; padding: .1rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 600; vertical-align: .1em; background: rgb(184 145 63 / .18); color: var(--gold); }
.ksef-timeline li.done .status { background: rgb(46 158 107 / .2); color: #7fd6ac; }
.ksef-timeline p { margin: .3rem 0 0; font-size: .95rem; }
@media (max-width: 860px) { .ksef-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 1.1rem 1.5rem; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 1.5rem 1.25rem; color: #323f4b; }

/* Links */
.link-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.link-grid a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.link-grid a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.link-grid strong { color: var(--navy); font-size: 1.05rem; }
.link-grid span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-list { margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.contact-list div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list dt { font-weight: 600; color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; padding-top: .15rem; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list address { font-style: normal; }
.small-link { font-size: .92rem; font-weight: 600; }
.hours table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.75rem; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; color: var(--navy); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list div { grid-template-columns: 1fr; gap: .2rem; } .contact-card { padding: 1.5rem; } }

/* Footer */
.site-footer { background: var(--navy); color: #a9b3bf; font-size: .9rem; padding: 1.75rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-inner p { margin: 0; }
.footer-inner .legal { flex-basis: 100%; font-size: .8rem; color: #8592a1; border-top: 1px solid rgb(255 255 255 / .08); padding-top: .9rem; margin-top: .4rem; }

/* 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.page-404 .lead { margin-inline: auto; }
.page-404 .hero-actions { justify-content: center; }
