/* Company Formation Hungary – site styles on top of Bootstrap 5.3 */

/* Source Sans 3 (Adobe), variable 200–900, served locally. SIL OFL 1.1 – see assets/fonts/source-sans-3/LICENSE.md.
   Official unmodified Adobe WOFF2 builds: do not subset/modify without renaming (Reserved Font Name "Source"). */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3/SourceSans3VF-Upright.otf.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-sans-3/SourceSans3VF-Italic.otf.woff2") format("woff2"); }
:root {
  --brand: #0B2545;          /* brand navy (logo) */
  --brand-navy: #0B2545; --brand-red: #C8102E; --brand-divider: #C3CAD4; --brand-white: #FFFFFF;   /* logo colours; red = logo accent only */
  --brand-2: #173c60;
  --accent: #e8600d;         /* legacy orange, kept for brand recognition */
  --accent-dark: #c44f08;
  --ink: #1b2430;
  --muted: #5d6b7a;
  --soft: #f4f6f9;
  --line: #e3e8ee;
  --radius: .75rem;
  --bs-body-font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color: #0b5cad;
  --bs-link-hover-color: var(--accent-dark);
}
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
/* Source Sans has a smaller x-height than system fonts: slightly larger base size */
:root { --bs-body-font-size: 1.0625rem; }
/* bold in text = semi-bold (600) instead of the browser's 700 */
b, strong { font-weight: 600; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 700; letter-spacing: -.015em; color: var(--brand); }
h1 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* buttons */
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-bg: var(--accent-dark); --bs-btn-font-weight: 600; }

/* header */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--brand); color: #cfd9e4; padding: .3rem 0; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.navbar { padding: .6rem 0; }
.navbar .nav-link { font-weight: 500; color: var(--ink); }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--accent-dark); }
.dropdown-menu { border-color: var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(15,42,68,.12); }
.lang-menu { max-height: 60vh; overflow: auto; }
@media (min-width: 992px) { .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; } }

/* hero + page header */
.hero, .page-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #e7eef6; }
.hero { padding: 4.5rem 0 5rem; }
.page-hero { padding: 2.5rem 0 2.75rem; margin-bottom: 2.5rem; }
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { color: #c9d6e3; max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: #f7a26b; margin-bottom: .5rem; display: block; }
.hero-facts { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 2rem; color: #fff; line-height: 1; }
.hero-facts span { font-size: .85rem; color: #aebfd0; }
.crumbs { padding-top: .9rem; }
.crumbs .breadcrumb { font-size: .82rem; margin: 0; }
.crumbs + .page-hero, main > .crumbs:first-child + * { margin-top: .6rem; }

/* cards */
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 6px 24px rgba(15,42,68,.06); color: var(--ink); }
.cta-card { background: var(--brand); color: #dbe6f1; border-radius: var(--radius); padding: 1.4rem; }
.cta-title { color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.side { top: 6.5rem; display: flex; flex-direction: column; gap: 1rem; }

/* prose */
.prose { font-size: 1.15rem; line-height: 1.7; max-width: 46rem; }
.prose-wide { max-width: none; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; scroll-margin-top: 7rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; scroll-margin-top: 7rem; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.prose table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; vertical-align: top; }
.prose th { background: var(--soft); }
.prose blockquote { border-left: 4px solid var(--accent); padding: .3rem 0 .3rem 1rem; color: var(--muted); }
.toc-title { font-weight: 700; margin-bottom: .5rem; color: var(--brand); }
.toc li { font-size: .9rem; padding: .15rem 0; }
.toc li.lvl-3 { padding-left: .9rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent-dark); }
.faq .accordion-button { font-weight: 600; }
.faq .accordion-button:not(.collapsed) { background: var(--soft); color: var(--brand); box-shadow: none; }

/* blog */
.post-card { display: block; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.post-card:hover { box-shadow: 0 10px 28px rgba(15,42,68,.12); transform: translateY(-2px); }
.post-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

/* NACE */
.code-badge { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; font-size: .85em; background: #fff1e8; color: var(--accent-dark); border-radius: .35rem; padding: .05rem .4rem; }
.page-hero .code-badge { background: rgba(255,255,255,.14); color: #fff; }
.code-badge.big { font-size: .75em; vertical-align: .15em; }
.nace-search .form-control { border: 0; }
.nace-search .input-group-text { background: #fff; border: 0; }
.nace-results { margin-top: -1rem; }
.nace-hit { display: grid; grid-template-columns: 3rem 1fr auto; gap: .9rem; align-items: start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .5rem; color: inherit; text-decoration: none; background: #fff; }
.nace-hit:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(15,42,68,.08); }
.nace-hit .score { font-weight: 700; text-align: center; border-radius: .4rem; padding: .2rem 0; background: var(--soft); color: var(--muted); font-size: .9rem; }
.nace-hit .score.hi { background: #dcfce7; color: #166534; }
.nace-hit .score.mid { background: #fef9c3; color: #854d0e; }
.nace-hit .label { font-weight: 600; color: var(--brand); }
.nace-hit .snip { display: block; font-size: .88rem; color: var(--muted); margin-top: .2rem; }
.nace-hit .meta { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.nace-hit .why { border-radius: 999px; padding: .05rem .55rem; background: #eef2ff; color: #3730a3; }
.nace-hit .why-keyword { background: #dcfce7; color: #166534; }
.nace-hit .why-excluded { background: #fef3c7; color: #92400e; }
@media (max-width: 575px) { .nace-hit { grid-template-columns: 2.6rem 1fr; } .nace-hit .meta { grid-column: 2; align-items: flex-start; flex-direction: row; } }
mark { background: #fde68a; padding: 0 .1em; border-radius: .15em; }
.nace-section { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; background: #fff; }
.nace-section summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.nace-section ul { margin: .7rem 0 0; font-size: .9rem; }
.nace-section li { padding: .15rem 0; }
.nace-section .code { font-family: ui-monospace, monospace; color: var(--accent-dark); margin-right: .25rem; }
.nace-block { margin-bottom: 1.8rem; }
.nace-block h2 { border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.nace-block ul ul { margin-top: .2rem; list-style: circle; }
.nace-excludes ul, .nace-excludes_hu ul { color: var(--muted); }
.nace-children li { padding: .25rem 0; }
.tags span { display: inline-block; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; margin: 0 .3rem .4rem 0; font-size: .85rem; }

/* footer */
.site-footer { background: #0b1f33; color: #a9b8c7; padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer a { color: #d5e0ea; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { padding: .2rem 0; }
.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; }

/* Price packages (prices.html) */
.package { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.35rem; box-shadow: 0 6px 24px rgba(15,42,68,.06); }
.package.is-popular { border: 2px solid var(--accent); box-shadow: 0 12px 32px rgba(232,96,13,.14); }
.package-badge { position: absolute; top: -.8rem; left: 1.35rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .7rem; border-radius: 999px; }
.package-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 .5rem; color: var(--brand); }
.package-price { font-size: 2.3rem; font-weight: 800; line-height: 1.1; margin: 0 0 .5rem; color: var(--ink); }
.package-price span { font-size: .85rem; font-weight: 500; color: #6b7a8c; }
.package-text { font-size: .92rem; color: #4a5a6c; min-height: 2.8em; }
.package-list { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .92rem; }
.package-list li { position: relative; padding: .3rem 0 .3rem 1.6rem; border-top: 1px solid #eef1f5; }
.package-list li::before { content: ""; position: absolute; left: .15rem; top: .72rem; width: .8rem; height: .45rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.package-list li:first-child { border-top: 0; }
.btn-outline-brand { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand-2); --bs-btn-active-color: #fff; }
@media (min-width: 1200px) { .package-name { min-height: 2.7em; } }

/* contact form: keep the heading visible below the sticky header when opened via #contact-form */
#contact-form { scroll-margin-top: 110px; }

/* hero background photo (Parliament, Budapest) – faint layer over the navy gradient, all heroes + page headers */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/hero-budapest.jpg") right 35% / cover no-repeat;
  background-image: image-set(url("../img/hero-budapest.webp") type("image/webp"), url("../img/hero-budapest.jpg") type("image/jpeg"));
  opacity: .2; mix-blend-mode: luminosity;
}
/* home hero: a little more of the photo, the Parliament sits on the right */
.hero::before { opacity: .28; background-position: right center; }
/* page headers are short: show the dome, not the river */
.page-hero::before { background-position: right 30%; }
@media (max-width: 991.98px) {
  .hero::before, .page-hero::before {
    background-image: image-set(url("../img/hero-budapest-1000.webp") type("image/webp"), url("../img/hero-budapest.jpg") type("image/jpeg"));
    opacity: .16;
  }
}

/* ---- home page: sticky "On this page" menu + narrower text column ---------------------------
   --header-h is set by site.js from the sticky header's real height */
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 992px)  { .home-layout { grid-template-columns: 240px minmax(0, 1fr); } }
@media (min-width: 1200px) { .home-layout { grid-template-columns: 250px minmax(0, 1fr) 270px; } }
.home-main { min-width: 0; }
.home-main .prose { max-width: 46rem; }
.home-toc, .home-aside { position: sticky; top: calc(var(--header-h, 100px) + 1.5rem); align-self: start; }
.home-toc { max-height: calc(100vh - var(--header-h, 100px) - 3rem); overflow-y: auto; overscroll-behavior: contain;
  border-right: 1px solid var(--line); padding-right: 1.25rem; font-size: .9rem; scrollbar-width: thin; }
.home-aside { flex-direction: column; gap: 1rem; }
.toc-heading { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.toc-progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.toc-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }
.home-toc .toc-progress { margin-bottom: 1.1rem; }
.toc-group-title { font-weight: 700; color: var(--brand); margin: 1rem 0 .3rem; }
.toc-group-title:first-of-type { margin-top: 0; }
.toc-list { margin: 0; }
.toc-list a { display: block; padding: .3rem .6rem; color: var(--muted); text-decoration: none; border-radius: 6px; line-height: 1.35; }
.toc-list a:hover { color: var(--brand); background: var(--soft); }
.toc-list a.is-active { color: var(--brand); font-weight: 600; background: #fdf0e7; }

/* mobile: sticky bar that opens the same list */
.toc-bar { position: sticky; top: var(--header-h, 60px); z-index: 1020; background: #fff;
  margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5) 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px rgba(15, 42, 68, .08); }
.toc-bar-toggle { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1rem; border: 0; background: #fff; color: var(--brand); font-size: .95rem; text-align: left; }
.toc-bar-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toc-bar-label { color: var(--muted); }
.toc-bar-toggle svg { flex-shrink: 0; transition: transform .2s; }
.toc-bar-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.toc-panel { max-height: 60vh; overflow-y: auto; padding: .5rem 1rem 1rem; font-size: .95rem; }
.toc-panel .toc-group-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .9rem; }
.toc-panel .toc-list a { padding: .55rem .6rem; }
@media (max-width: 991.98px) { .home-layout { padding-top: 0; gap: 0; } }

/* facts, section labels, info rows */
.home-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 2.25rem; max-width: 46rem; }
.home-facts li { background: var(--soft); border-radius: 10px; padding: 1rem; }
.home-facts strong { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--brand); }
.home-facts span { display: block; margin-top: .4rem; font-size: .875rem; color: var(--muted); }
.section-eyebrow { margin-top: 3rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.section-eyebrow + h2 { margin-top: .3rem; }
.prose .info-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  margin: 1.25rem 0; padding: .85rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
.prose .info-label { color: var(--muted); }
.prose .info-row a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.prose .info-row a:hover { text-decoration: underline; }
.prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h, 100px) + 1.5rem); }
@media (max-width: 991.98px) { .prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h, 60px) + 4.5rem); } }

/* packages mini card (home aside) */
.packages-mini { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: .92rem; background: #fff; }
.packages-mini-title { font-weight: 700; color: var(--brand); margin-bottom: .5rem; }
.packages-mini li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid #eef1f5; }
.packages-mini li:last-child { border-bottom: 0; }
.packages-mini li a { color: var(--ink); text-decoration: none; }
.packages-mini li a:hover { color: var(--accent-dark); }
.packages-mini-link { display: inline-block; margin-top: .6rem; color: var(--accent-dark); font-weight: 600; text-decoration: none; }
/* keep the menu title + progress visible when the menu itself scrolls (short screens) */
.home-toc .toc-heading { position: sticky; top: 0; z-index: 1; background: #fff; margin-bottom: 0; padding-bottom: .75rem; }
.home-toc .toc-progress { position: sticky; top: 1.9rem; z-index: 1; box-shadow: 0 -.5rem 0 #fff, 0 .6rem 0 #fff; }
/* long e-mail address in the footer must wrap on phones (was causing sideways scroll) */
.site-footer a { overflow-wrap: anywhere; }
/* leave room for the section label above a heading when jumping to it */
.prose h2 { scroll-margin-top: calc(var(--header-h, 100px) + 2.75rem); }
@media (max-width: 991.98px) { .prose h2 { scroll-margin-top: calc(var(--header-h, 60px) + 6rem); } }

/* "read more" links in the content: small pill, grey outline, arrow that slides right on hover */
.prose .more-link { margin: 1rem 0 1.6rem; }
.prose .btn-more { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .95rem; border: 1px solid #cdd5de; border-radius: 999px;
  background: #fff; color: #3a4654; font-size: .9rem; font-weight: 500; line-height: 1.3; text-decoration: none;
  transition: border-color .2s ease, color .2s ease; }
.prose .btn-more::after { content: "→"; color: inherit; transition: transform .25s ease; }
.prose .btn-more:hover { border-color: var(--brand); color: var(--brand); }
.prose .btn-more:hover::after { transform: translateX(4px); }
.prose .btn-more:focus-visible { outline: 3px solid rgba(232, 96, 13, .35); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .prose .btn-more::after { transition: none; } }
/* the arrow glyph is small in Source Sans */
.prose .btn-more::after { font-size: 1.2em; line-height: 1; }

/* side menu on long inner pages (same layout as the home page) */
.home-layout.is-page { padding-top: 0; }
@media (max-width: 991.98px) { .home-layout.is-page { margin-top: -2.5rem; } }   /* bar right under the page header */
.toc-list .lvl-3 a { padding-left: 1.4rem; font-size: .95em; }
.faq h2 { scroll-margin-top: calc(var(--header-h, 100px) + 2.75rem); }
@media (max-width: 991.98px) { .faq h2 { scroll-margin-top: calc(var(--header-h, 60px) + 6rem); } }

/* fee / timeframe chips in the content (variant A: tinted pills with an icon) */
.prose .meta-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1.25rem; }
.prose .meta-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem .4rem .7rem; border-radius: 999px;
  background: #fdf0e7; color: var(--brand); font-size: .95rem; line-height: 1.3; }
.prose .meta-chip::before { content: ""; width: 1.1rem; height: 1.1rem; flex-shrink: 0; background-color: var(--accent-dark);
  -webkit-mask: var(--meta-icon) center / contain no-repeat; mask: var(--meta-icon) center / contain no-repeat; }
.prose .meta-chip.is-fee  { --meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E"); }
.prose .meta-chip.is-time { --meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.prose .meta-label { color: var(--muted); }
.prose .meta-chip strong { font-weight: 600; }
/* chips use the same text size as the paragraphs around them */
.prose .meta-chip { font-size: 1em; padding: .35rem 1rem .35rem .8rem; }
.prose .meta-chip::before { width: 1.05em; height: 1.05em; }

/* price token with an unknown key (debug mode only) */
.price-missing { color: #b00020; font-weight: 700; background: #ffe9ec; padding: 0 .3em; border-radius: .25rem; }

/* prices page: list of all individual service prices (from the admin price list) */
.price-list { margin-top: 3.5rem; }
.price-list-title { font-size: 1.6rem; margin-bottom: 1.25rem; }
.price-list-items { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 3.5rem; margin: 0; }
@media (min-width: 992px) { .price-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-list-items li { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.price-list-name a { color: var(--brand); text-decoration: none; }
.price-list-name a:hover { color: var(--accent-dark); text-decoration: underline; }
.price-list-dots { flex: 1; border-bottom: 1px dotted #c3ccd6; transform: translateY(-.3em); min-width: 1rem; }
.price-list-value { white-space: nowrap; color: var(--brand); }
.price-list-value strong { font-weight: 600; }

/* main menu groups: the name is a link (as on the old site), the caret opens the submenu; on desktop it also opens on hover */
.nav-split { display: flex; align-items: center; flex-wrap: wrap; }
.nav-split .nav-parent { padding-right: .15rem; }
.nav-split .nav-caret { background: none; border: 0; padding-left: .2rem; padding-right: .5rem; color: var(--ink); }
.nav-split .nav-caret::after { margin-left: 0; }
@media (min-width: 992px) {
  .nav-split { flex-wrap: nowrap; position: relative; }
  .nav-split:hover > .dropdown-menu, .nav-split:focus-within > .dropdown-menu { display: block; top: 100%; left: 0; margin-top: 0; }
}
@media (max-width: 991.98px) {
  .nav-split .nav-parent { flex: 1; }
  .nav-split .nav-caret { padding: .5rem .75rem; }
  .nav-split > .dropdown-menu { flex-basis: 100%; }
}

/* prices page: individual services as cards (title = service, body = price + timeframe) */
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 0; }
.price-card { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.price-card-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin: 0; letter-spacing: 0; }
.price-card-title a { color: var(--brand); text-decoration: none; }
.price-card-title a:hover { color: var(--accent-dark); text-decoration: underline; }
.price-card-price { margin: 0; font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.price-card-price strong { font-weight: 700; }
.price-card-time { margin: .35rem 0 0; }
.price-card-time .meta-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem .25rem .6rem; border-radius: 999px; background: #fdf0e7; color: var(--brand); font-size: .9rem; }
.price-card-time .meta-chip::before { content: ""; width: 1em; height: 1em; flex-shrink: 0; background-color: var(--accent-dark);
  -webkit-mask: var(--meta-icon) center / contain no-repeat; mask: var(--meta-icon) center / contain no-repeat; }
.price-card-time .meta-chip.is-time { --meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.price-card-time .meta-label { color: var(--muted); }
.price-card-time strong { font-weight: 600; }

/* prices page: individual services as wide row-cards (icon | name + timeframe | price | arrow) */
.price-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; margin: 0; }
@media (min-width: 992px) { .price-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-row-card { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.25rem; background: #fff; border: 1px solid #e6e2dd;
  border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
a.price-row-card:hover { border-color: var(--accent-dark); box-shadow: 0 4px 14px rgba(27, 36, 48, .07); color: var(--ink); }
a.price-row-card:focus-visible { outline: 3px solid rgba(232, 96, 13, .35); outline-offset: 2px; }
.price-row-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.price-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.price-row-name { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.price-row-time { font-size: .85rem; color: var(--muted); margin-top: .1rem; }
.price-row-price { font-size: 1.35rem; white-space: nowrap; text-align: right; }
.price-row-price strong { font-weight: 700; }
.price-row-arrow { color: var(--accent-dark); font-size: 1.25rem; transition: transform .25s ease; }
a.price-row-card:hover .price-row-arrow { transform: translateX(4px); }
@media (max-width: 575.98px) {
  .price-row-card { flex-wrap: wrap; gap: .5rem 1rem; }
  .price-row-main { flex-basis: calc(100% - 44px - 1rem); }
  .price-row-price { margin-left: calc(44px + 1rem); font-size: 1.2rem; white-space: normal; text-align: left; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .price-row-arrow { transition: none; } }
/* price in grey so it contrasts with the dark service name */
.price-row-price { color: var(--muted); }

/* brand logo + menu button (see brand/INSTRUCTIONS.md) */
.site-logo img { height: 45px; width: auto; display: block; }
.site-logo-footer { height: 41px; width: auto; }
.navbar-toggler { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0 .6rem; }
.navbar-toggler img { display: block; }
@media (max-width: 991.98px) { .site-logo img { height: 38.5px; } }
/* main menu never wraps; on narrower desktops (992–1199 px) the logo and menu get slightly more compact */
.navbar .nav-link, .navbar .navbar-nav .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-logo img { height: 35px; }
  .navbar .navbar-nav .nav-link { padding-left: .35rem; padding-right: .35rem; font-size: .95rem; }
  .nav-split .nav-caret { padding-right: .3rem; }
}

/* mobile overflow fixes (report 2026-11-12): wide gutters must not exceed the container padding; long addresses wrap */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.contact-list a, .prose a { overflow-wrap: anywhere; }
