/* Public site styles. Mobile first; no framework. Base design — adapt per site (see docs/SITE-REBUILD-PLAYBOOK.md, 4α). */

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/opensans-greek.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/opensans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #ff6600;          /* logo orange: icons, rules, highlights (never for text on white) */
  --brand-strong: #c94a06;   /* buttons & links: 4.7:1 with white */
  --brand-deep: #a63c04;
  --brand-tint: #fff1e8;
  --blue: #0137b7;           /* logo blue: numbers, prices, secondary buttons */
  --ink: #14213d;
  --ink-2: #3b4660;
  --muted: #5a6478;
  --line: #dbe1ea;
  --bg: #ffffff;
  --surface: #f3f6fb;
  --dark: #0a2a6b;           /* deep navy: top bar, footer, dark sections */
  --dark-2: #0f3a8f;
  --ok: #157347;
  --err: #b42318;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(10, 42, 107, .06), 0 10px 28px rgba(10, 42, 107, .10);
  --shadow-sm: 0 1px 2px rgba(10, 42, 107, .06), 0 4px 12px rgba(10, 42, 107, .06);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-underline-offset: .18em; }
a:hover { color: var(--brand-deep); }
svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--dark); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.center { text-align: center; }
.muted { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.preview-bar { background: #fde68a; color: #713f12; text-align: center; padding: .5rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem;
  border-radius: var(--radius); border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; letter-spacing: .01em;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-strong); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--phone { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--phone svg { color: var(--blue); }
.btn--phone:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--dark); color: #d7dde5; font-size: .875rem; display: none; }
.topbar__in { display: flex; align-items: center; gap: 1.75rem; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { color: var(--brand); }
.topbar__phone { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; }
.topbar__phone:hover { color: var(--brand); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header__in { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo { flex: none; display: flex; }
.logo img { width: 168px; height: auto; }
.burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; background: none; border: 0; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem var(--gutter) 6rem; overflow-y: auto; display: none; }
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.nav__link { flex: 1; padding: .95rem 0; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav__link.is-active { color: var(--blue); box-shadow: inset 0 -3px 0 var(--brand); }
.nav__toggle { width: 48px; height: 48px; display: grid; place-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 .75rem 1rem; width: 100%; display: none; }
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a { display: block; padding: .55rem 0; color: var(--ink-2); text-decoration: none; }
.nav__sub a[aria-current="page"] { color: var(--brand-strong); font-weight: 600; }
.nav__cta { display: grid; gap: .75rem; margin-top: 1.5rem; }

@media (min-width: 1100px) {
  .topbar { display: block; }
  .burger { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: 1.25rem; padding: 0; margin-left: auto; overflow: visible; background: none; }
  .nav__list { display: flex; gap: 0; }
  .nav__item { border: 0; flex-wrap: nowrap; }
  .nav__link { padding: .5rem .5rem; border-radius: 0; font-size: .9rem; }
  .header__in { gap: 1.5rem; }
  .logo img { width: 160px; }
  .nav__link:hover { color: var(--blue); }
  .nav__toggle { display: none; }
  .nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 260px; padding: .5rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow); display: block; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
  }
  .nav__item.has-sub:hover .nav__sub, .nav__item.has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sub a { padding: .55rem .75rem; border-radius: 6px; font-size: .95rem; }
  .nav__sub a:hover { background: var(--surface); color: var(--ink); }
  .nav__cta { display: flex; margin: 0; gap: .5rem; }
  .nav__cta .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; font-size: .875rem; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: inherit; }
.wrap > .crumbs { padding-top: 1.25rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 24, 80, .94) 0%, rgba(4, 24, 80, .80) 45%, rgba(4, 24, 80, .40) 100%); }
.hero__in { padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero .crumbs { color: #c5ced9; }
.eyebrow { margin: 0 0 .75rem; color: var(--brand); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.hero__title { margin: 0; max-width: 22ch; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.hero__sub { margin: 1.1rem 0 0; max-width: 58ch; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #e3e8ee; }
.hero .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn--secondary:hover { background: #fff; color: var(--ink); }
.hero .btn--phone { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn--phone svg { color: var(--brand); }
.hero .btn--phone:hover { background: #fff; color: var(--ink); }
.hero--light { background: var(--surface); color: var(--ink); }
.hero--light .hero__media { left: auto; width: min(55%, 820px); }
.hero--light .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0%, rgba(243, 246, 251, .7) 30%, rgba(243, 246, 251, .15) 70%, rgba(243, 246, 251, 0) 100%); }
.hero--light .hero__img { object-fit: cover; object-position: center; }
.hero--light .hero__in { padding-block: clamp(2.25rem, 5vw, 4rem); }
.hero--light .crumbs { color: var(--muted); }
.hero--light .eyebrow { color: var(--brand-strong); }
.hero--light .hero__title { color: var(--dark); }
.hero--light .hero__sub, .hero--light .badges { color: var(--ink-2); }
.hero--light .btn--secondary { color: var(--ink); border-color: var(--ink); }
.hero--light .btn--secondary:hover { background: var(--ink); color: #fff; }
.hero--light .btn--phone { background: #fff; color: var(--ink); border-color: #c5cfdd; }
.hero--light .btn--phone:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 899px) {
  .hero--light .hero__media { width: 100%; opacity: .22; }
  .hero--light .hero__media::after { background: none; }
}
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.75rem 0 0; padding: 0; color: #e3e8ee; font-weight: 600; font-size: .95rem; }
.badges li { display: inline-flex; align-items: center; gap: .4rem; }
.badges svg { color: var(--brand); stroke-width: 3; }
.hero--light .badges svg { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.section--btns { padding-bottom: clamp(2rem, 5vw, 3.5rem); margin-top: -1.5rem; }
.section--btns .btns { justify-content: center; }
.bg-light { background: var(--surface); }
.bg-dark { background: var(--dark); color: #e9edf2; }
.bg-dark .prose h2, .bg-dark .prose h3 { color: #fff; }
.section__head h2 { position: relative; padding-top: .9rem; }
.section__head h2::before { content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 4px; margin-left: -20px; background: var(--brand); }
.bg-dark a { color: #ffb37d; }
.bg-brand { background: var(--brand-strong); color: #fff; }
.bg-brand a { color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.section__head h2 { margin-top: 0; }

/* ---------- Prose ---------- */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); line-height: 1.2; margin: 2.25rem 0 1rem; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; color: var(--dark); }
.prose h3 { color: var(--dark); }
.prose h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.3; margin: 1.75rem 0 .6rem; font-weight: 700; }
.prose h4 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--brand-strong); }
.prose strong { font-weight: 700; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; }
.prose--sm { font-size: .98rem; }

/* ---------- Split (text + media) ---------- */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.split--top { align-items: start; }
.split__media { margin: 0; }
.split__media img { border-radius: var(--radius); width: auto; max-width: 100%; margin-inline: auto; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  /* Next to long text the image stays in view while scrolling instead of floating mid-column. */
  figure.split__media { position: sticky; top: calc(var(--header-h) + 24px); }
  .split--reverse .split__media { order: -1; }
}

.figure { margin: 0 auto; }
.figure img { border-radius: var(--radius); margin-inline: auto; }
.figure figcaption, .gallery figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; text-align: center; }

/* ---------- Cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bg-light .card { border-color: transparent; }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.3; color: var(--dark); }
.card__link { margin-top: auto; padding-top: .75rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.card__link:hover svg { transform: translateX(3px); }
.card__link svg { transition: transform .15s; }
.cards--numbered { counter-reset: step; }
.cards--numbered .card__body::before {
  counter-increment: step; content: counter(step); display: grid; place-content: center; width: 40px; height: 40px; margin-bottom: .9rem;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800;
}

/* ---------- CTA ---------- */
.cta--dark { background: linear-gradient(110deg, var(--dark-2), var(--dark) 70%); color: #e9edf2; }
.cta--brand { background: linear-gradient(120deg, #e0580a, var(--brand-deep)); color: #fff; }
.cta--light { background: var(--surface); border-block: 1px solid var(--line); }
.cta--dark h2, .cta--brand h2 { color: #fff; }
.cta__in { display: grid; gap: 1.25rem; align-items: center; }
.cta__text { max-width: 720px; }
.cta--dark .btn--secondary, .cta--brand .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta--dark .btn--secondary:hover, .cta--brand .btn--secondary:hover { background: #fff; color: var(--ink); }
.cta--brand .btn--primary { background: #fff; color: var(--brand-deep); }
.cta--brand .btn--primary:hover { background: var(--ink); color: #fff; }
.cta--dark .btn--phone, .cta--brand .btn--phone { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta--dark .btn--phone svg, .cta--brand .btn--phone svg { color: currentColor; }
.cta .btns { margin-top: 0; }
@media (min-width: 900px) { .cta__in { grid-template-columns: 1fr auto; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: stretch; gap: 1.5rem; margin: 0; text-align: center; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; height: 100%; }
.stat dd { margin: 0; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat dt { color: #cfd6df; }

/* ---------- YouTube facade ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt__play { position: absolute; inset: 0; display: grid; place-content: center; }
.yt__play svg { width: 68px; height: 48px; stroke: none; fill: #e62117; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.split__media .btns { justify-content: center; }

/* ---------- Gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Price tables ---------- */
.pricetable { margin-bottom: 2.5rem; }
.pricetable__title { font-size: 1.3rem; margin: 0 0 .75rem; }
.pricetable__title span, .hl { color: var(--brand-strong); }
.hl { font-weight: 700; }
.ptable { table-layout: fixed; width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable thead th { background: var(--dark); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: .85rem .9rem; text-align: left; }
.ptable tbody th, .ptable td { padding: .8rem .9rem; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.ptable tbody tr:nth-child(even) { background: #fbfaf8; }
.ptable thead th:nth-child(1) { width: 36%; } .ptable thead th:nth-child(2) { width: 13%; } .ptable thead th:nth-child(3) { width: 10%; }
.ptable thead th:nth-child(4) { width: 9%; } .ptable thead th:nth-child(5) { width: 14%; } .ptable thead th:nth-child(6) { width: 18%; text-align: right; }
.ptable--simple thead th:nth-child(1) { width: 50%; } .ptable--simple thead th:nth-child(2), .ptable--simple thead th:nth-child(3) { width: 20%; } .ptable--simple thead th:nth-child(4) { width: 10%; text-align: right; }
.ptable .num { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable tfoot th, .ptable tfoot td { padding: .8rem .9rem; border-top: 1px solid var(--line); background: var(--surface); text-align: left; font-weight: 700; }
.ptable tfoot td { text-align: right; }
.ptable__total th, .ptable__total td { background: var(--brand-tint) !important; color: var(--brand-deep); font-size: 1.05rem; }
.pricetable__notes { color: var(--muted); margin-top: 1rem; }
@media (max-width: 760px) {
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable, .ptable tbody, .ptable tfoot, .ptable tr { display: block; }
  .ptable tbody tr { padding: .85rem 1rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
  .ptable tbody tr:first-child { border-top: 0; }
  .ptable tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 .35rem; font-weight: 600; }
  .ptable tbody td { border: 0; padding: 0; display: flex; justify-content: space-between; gap: .5rem; font-size: .9rem; }
  .ptable tbody td::before { content: attr(data-label); color: var(--muted); }
  .ptable tbody td.num { grid-column: 1 / -1; font-size: 1rem; border-top: 1px dashed var(--line); padding-top: .35rem; margin-top: .2rem; }
  .ptable tfoot tr { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); background: var(--surface); }
  .ptable tfoot th, .ptable tfoot td { border: 0; background: none; }
  .ptable__total { background: var(--brand-tint) !important; }
  .ptable--simple tbody td.num { grid-column: auto; border: 0; padding: 0; margin: 0; }
}

.pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .pcards { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.pcard--hl { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pcard__flag { position: absolute; top: -.8rem; left: 1.5rem; background: var(--brand-strong); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; }
.pcard__name { margin: 0; font-size: 1.3rem; }
.pcard__note { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }
.pcard__price { margin: 1.1rem 0 1rem; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.pcard__price strong { font-size: 2.4rem; line-height: 1; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard__from, .pcard__unit { color: var(--muted); font-size: .95rem; }
.pcard__rows { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.pcard__rows div { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pcard__rows dt { color: var(--muted); }
.pcard__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.pcard .btn { margin-top: auto; }
.textlink { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 1.12rem; line-height: 1.4; }
.faq__item summary svg { color: var(--brand-strong); transition: transform .2s; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.25rem; color: var(--ink-2); }

/* ---------- Contact & forms ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .9rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-list span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-list a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.formcard__title { margin: 0; font-size: 1.35rem; }
.formcard__sub { margin: .35rem 0 1.25rem; color: var(--muted); }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid #cfd5dc; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 3px rgba(242, 112, 31, .2); }
.field.has-error input { border-color: var(--err); }
.field__err { color: var(--err); font-weight: 500; font-size: .85rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--brand-strong); flex: none; }
.form__msg:empty { display: none; }
.form__msg { margin: 0; font-weight: 600; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-err { color: var(--err); }
.alert { padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.alert--ok { background: #e7f6ee; color: var(--ok); }
.alert--err { background: #fdecea; color: var(--err); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #c3cbd5; padding-top: clamp(2.5rem, 6vw, 4rem); font-size: .95rem; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__logo { display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: var(--radius-sm); }
.footer__logo img { width: 168px; height: auto; }
.footer__about p { margin: 1rem 0 0; max-width: 36ch; }
.footer__title { margin: 0 0 .9rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #e3e8ee; text-decoration: none; }
.footer a:hover { color: var(--brand); text-decoration: underline; }
.footer address { font-style: normal; display: grid; gap: .45rem; }
.footer__phone { font-size: 1.3rem; font-weight: 800; color: #fff !important; }
.social { margin-top: 1rem !important; display: flex !important; gap: 1rem !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 2.5rem; padding-block: 1.25rem 6rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (min-width: 1100px) and (max-width: 1279px) { .nav__cta .btn--ghost { display: none; } }
@media (min-width: 1100px) { .footer__bottom { padding-bottom: 1.25rem; } }

/* ---------- Mobile sticky action bar ---------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(23, 32, 43, .08); }
.mobilebar--single { grid-template-columns: 1fr; }
.mobilebar__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: var(--radius); font-weight: 800; text-decoration: none; }
.mobilebar__btn--call { background: var(--blue); color: #fff; }
.mobilebar__btn--quote { background: var(--brand-strong); color: #fff; }
.mobilebar__btn:hover { color: #fff; }
@media (min-width: 1100px) { .mobilebar { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; z-index: 70; left: .75rem; right: .75rem; bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 1100px) { .cookie { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 440px; } }
.cookie__in { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(23, 32, 43, .2); padding: 1.1rem 1.2rem; font-size: .92rem; }
.cookie__in p { margin: 0 0 .9rem; }
.cookie__actions { display: flex; gap: .5rem; justify-content: flex-end; }
.cookie__actions .btn { min-height: 42px; padding: .45rem 1.1rem; }

/* ---------- Image zoom (click opens the full-size file) & galleries ---------- */
.figure__zoom { display: block; position: relative; }
.figure__zoom::after { content: "⤢ πλήρες μέγεθος"; position: absolute; right: .6rem; bottom: .6rem; background: rgba(23, 32, 43, .85); color: #fff; font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.gallery a { display: block; }
@media (min-width: 900px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(10, 18, 32, .92); padding: 3.5rem 1rem 1rem; }
.lb.is-open { display: flex; }
.lb__fig { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: grid; justify-items: center; gap: .75rem; }
.lb__img { max-width: 100%; max-height: calc(100vh - 7rem); width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #fff; }
.lb__cap { color: #e3e9f1; font-size: .95rem; text-align: center; }
.lb__close, .lb__nav { position: absolute; display: grid; place-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .25); }
.lb__close { top: .75rem; right: .75rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { left: .5rem; }
.lb__next { right: .5rem; }
.lb__nav[hidden] { display: none; }
@media (min-width: 900px) { .lb { padding: 2rem 4.5rem; } .lb__nav { width: 56px; height: 56px; } }
.figure__zoom::after { content: "⤢ μεγέθυνση"; }

/* Divi-style "label above title" pairs inside rich text */
.prose .eyebrow { margin: 0 0 .4rem; color: var(--brand); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; line-height: 1.4; }
.prose .eyebrow + h2, .prose .eyebrow + h3 { margin-top: 0; }

/* ---------- Diagram: cut-away image with numbered callouts (old "Κουφώματα PVC" section) ---------- */
.bg-teal { background: #1aa9c6 url("/uploads/2017/06/bg_gradient1.jpg") center / cover no-repeat; color: #fff; }
.bg-teal .section__head h2, .bg-teal .prose h2 { color: #fff; }
.bg-teal .section__head p { color: rgba(255, 255, 255, .9); }
.diagram { display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.diagram__media { margin: 0; grid-column: 2; grid-row: 1; }
.diagram__media img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0, 40, 60, .35)); }
.diagram__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.diagram__list--left { grid-column: 1; grid-row: 1; text-align: right; align-items: flex-end; }
.diagram__list--right { grid-column: 3; grid-row: 1; }
.diagram__list--below { grid-column: 1 / -1; grid-row: 2; align-items: center; text-align: center; max-width: 420px; margin: .5rem auto 0; }
.diagram__item { display: flex; flex-direction: column; gap: .5rem; }
.diagram__list--left .diagram__item { align-items: flex-end; }
.diagram__list--below .diagram__item { align-items: center; }
.diagram__item p { margin: 0; font-size: .98rem; line-height: 1.5; color: rgba(255, 255, 255, .95); max-width: 260px; }
.diagram__n { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 2px solid #fff; border-radius: 50%; font-weight: 700; font-size: 1.1rem; color: #fff; }
.bg-white .diagram__n, .bg-light .diagram__n { color: var(--dark); border-color: var(--dark); }
.bg-white .diagram__item p, .bg-light .diagram__item p { color: var(--ink-2); }
@media (max-width: 899px) {
  .diagram { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .diagram__media { grid-column: 1 / -1; grid-row: 1; max-width: 300px; margin: 0 auto; }
  .diagram__list--left { grid-column: 1; grid-row: 2; text-align: left; align-items: flex-start; }
  .diagram__list--left .diagram__item { align-items: flex-start; }
  .diagram__list--right { grid-column: 2; grid-row: 2; }
  .diagram__list--below { grid-row: 3; }
  .diagram__item p { font-size: .92rem; }
}
@media (max-width: 560px) {
  .diagram { grid-template-columns: 1fr; }
  .diagram__list--right { grid-column: 1; grid-row: 3; }
  .diagram__list--below { grid-row: 4; }
  .diagram__item { flex-direction: row; align-items: flex-start !important; gap: .85rem; }
  .diagram__n { flex: none; width: 2rem; height: 2rem; font-size: 1rem; }
  .diagram__item p { max-width: none; }
}

/* ---------- Two-tone headings: «ΚΟΥΦΩΜΑΤΑ *PVC*» ---------- */
.accent { color: var(--brand); }
.cta--brand .accent { color: #fff; }

/* ---------- Hero: centred variant ---------- */
.hero--center .hero__in { text-align: center; }
.hero--center .hero__title, .hero--center .hero__sub { margin-inline: auto; }
.hero--center .btns, .hero--center .badges { justify-content: center; }
.hero--center.hero--image::before { background: linear-gradient(180deg, rgba(15, 31, 58, .62), rgba(15, 31, 58, .55)); }

/* ---------- Types panel: photo with a dark list of product types beside it ---------- */
.panel { display: grid; color: #fff; background: var(--dark); }
.panel__media { position: relative; min-height: 340px; isolation: isolate; display: flex; align-items: flex-end; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.panel__media::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8, 16, 32, .25) 0%, rgba(8, 16, 32, .55) 45%, rgba(8, 16, 32, .85) 100%); }
.panel__caption { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(1.75rem, 4vw, 3rem); max-width: 680px; }
.panel__title { margin: 0; color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; text-wrap: balance; }
.panel__sub { margin: .75rem 0 0; color: #e6ecf4; font-size: clamp(1.05rem, 1.6vw, 1.25rem); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.panel__list { list-style: none; margin: 0; padding: clamp(1.75rem, 4vw, 3rem) var(--gutter); display: grid; gap: 1.3rem; align-content: center; }
.panel__item { padding-bottom: 1.3rem; border-bottom: 1px solid var(--navy-line); }
.panel__item:last-child { border-bottom: 0; padding-bottom: 0; }
.panel__item-title { margin: 0 0 .3rem; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; font-weight: 700; }
.panel__item .prose { color: #dbe3ee; }
.panel__btn { margin-top: .7rem; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.panel__btn:hover { background: var(--brand); color: var(--dark); border-color: var(--brand); }
@media (min-width: 900px) {
  .panel { grid-template-columns: 45fr 55fr; }
  .panel__media { min-height: 560px; }
  .panel__list { gap: 1.6rem; }
  .panel__item-title { font-size: 1.05rem; }
  .panel__item .prose { font-size: 1.05rem; }
  .panel__caption { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
  .panel__list { padding-left: clamp(2rem, 4vw, 3.5rem); padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
}

/* ---------- Brand logos in a plain row ---------- */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem clamp(2rem, 6vw, 5rem); }
.logos li, .logos a { display: flex; align-items: center; justify-content: center; }
.logos img { max-height: 72px; width: auto; max-width: 220px; object-fit: contain; transition: transform .2s; }
.logos a:hover img { transform: scale(1.05); }
@media (max-width: 599px) { .logos { gap: 1.25rem 2rem; } .logos img { max-height: 52px; max-width: 140px; } }

/* ---------- Icon + text list (advantages, no cards) ---------- */
.iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem 2.5rem; }
.iconlist__item { display: flex; gap: 1rem; align-items: flex-start; }
.iconlist__icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--dark); border-radius: 50%; }
.iconlist__icon .icon { width: 28px; height: 28px; }
.iconlist__icon img { width: 40px; height: 40px; object-fit: contain; }
.iconlist__title { margin: 0 0 .3rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; color: var(--dark); }
.iconlist__body .prose { color: var(--ink-2); }
.bg-dark .iconlist__title { color: #fff; }
.bg-dark .iconlist__body .prose { color: #dbe3ee; }
@media (min-width: 700px) { .iconlist--2, .iconlist--3, .iconlist--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .iconlist--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Product catalogue (dense grid on a dark panel) ---------- */
.catalogue { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(2, 1fr); }
.catalogue__media { display: block; background: #fff; border-radius: var(--radius-sm); padding: .4rem; }
.catalogue__media img { width: 100%; aspect-ratio: 3 / 5; object-fit: contain; display: block; }
.catalogue__title { margin: .6rem 0 .2rem; font-size: 1rem; font-weight: 700; color: var(--dark); }
.catalogue__text { font-size: .82rem; line-height: 1.4; color: var(--ink-2); }
.catalogue__text p { margin: 0 0 .2rem; }
.bg-dark .catalogue__title { color: #fff; }
.bg-dark .catalogue__text { color: #c9d3e0; }
@media (min-width: 700px) { .catalogue { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .catalogue--4 { grid-template-columns: repeat(4, 1fr); }
  .catalogue--5 { grid-template-columns: repeat(5, 1fr); }
  .catalogue--6 { grid-template-columns: repeat(6, 1fr); }
  .gallery--5 { grid-template-columns: repeat(5, 1fr); }
  .gallery--6 { grid-template-columns: repeat(6, 1fr); }
}
.gallery--catalogue { gap: 1rem .9rem; }
.gallery--catalogue figure { border: 0; padding: .4rem .4rem .5rem; border-radius: var(--radius-sm); }
.gallery--catalogue img { aspect-ratio: 3 / 5; border-radius: 4px; }
.gallery--catalogue figcaption { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-top: .4rem; }
.bg-dark .gallery figure, .bg-light .gallery figure { border-color: transparent; }

/* ---------- Indicative price cards ---------- */
.offers__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; text-align: center; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.offer__title { margin: 0 0 .6rem; color: var(--dark); font-size: 1.2rem; }
.offer__body img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto .35rem; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--brand); }
.offer__body p:first-child { margin-bottom: .6rem; }
.offer__body a { color: var(--blue); }
/* Professional cards: photo first, then name, price, text, button (the body is "unwrapped" into the card). */
.offer__body { display: contents; }
.offer__body > p:first-child { order: -2; margin: 0 0 .6rem; }
.offer__title { order: -1; }
.offer__body > p { margin: 0 0 .4rem; color: var(--ink-2); font-size: .95rem; }
.offer .offer__btn { margin-top: auto; padding-top: 0; }
.offer__body > p:nth-last-child(1) { margin-bottom: 1.1rem; }
.offer__price { margin: .5rem 0 .9rem; color: var(--brand-strong); line-height: 1; }
.offer__price strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.offer__price span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.offer__body { color: var(--ink-2); font-size: .95rem; }
.offer__body p { margin: 0 0 .4rem; }
.offer__btn { margin-top: auto; align-self: center; padding-top: .5rem; }
.offer .offer__btn { margin-top: 1.1rem; min-width: 60%; }
.offers__note { margin-top: 1.5rem; text-align: center; color: var(--muted); }
@media (min-width: 700px) { .offers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .offers__grid--3 { grid-template-columns: repeat(3, 1fr); } .offers__grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- CTA over a photo ---------- */
.cta--photo { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem); }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__img { width: 100%; height: 100%; object-fit: cover; }
.cta--photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(10, 18, 35, .64); }
.cta--photo .cta__in { position: relative; z-index: 1; text-align: center; justify-items: center; }
.cta--photo h2 { color: #fff; text-transform: uppercase; }
.cta--photo .cta__text { margin-inline: auto; }
.cta--photo .btns { justify-content: center; }
.cta--photo .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta--photo .btn--phone { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta--photo .btn--phone svg { color: currentColor; }

/* ---------- Diagram: icon + title variant (door types around a door) ---------- */
.diagram__icon { display: inline-flex; width: 50px; height: 50px; border: 2px solid var(--brand); color: var(--brand); border-radius: 50%; align-items: center; justify-content: center; }
.diagram__icon .icon { width: 26px; height: 26px; }
.diagram__title { margin: .1rem 0 0; font-size: 1.05rem; color: var(--dark); }
.diagram__title a { color: inherit; }
.bg-teal .diagram__title, .bg-dark .diagram__title { color: #fff; }
.bg-white .diagram__item p, .bg-light .diagram__item p { color: var(--ink-2); }
.diagram-section--icons .diagram__media img { filter: drop-shadow(0 12px 24px rgba(15, 31, 58, .18)); max-width: 320px; margin-inline: auto; }

/* ---------- Linked figure (catalogue PDF thumbnails) ---------- */
.figure__link { display: block; }
.figure__link img { transition: transform .2s; }
.figure__link:hover img { transform: scale(1.02); }

/* ---------- Gallery: two columns, plain (natural aspect) ---------- */
@media (min-width: 700px) { .gallery--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; } }
.gallery--plain figure { border: 0; padding: 0; background: transparent; }
.gallery--plain img { aspect-ratio: auto; border-radius: var(--radius-sm); }

/* ---------- Tables inside text (Kömmerling rating rows: icon / value / label) ---------- */
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.prose td, .prose th { padding: .5rem .4rem; text-align: center; vertical-align: top; border-top: 1px solid var(--line); }
.prose tr:first-child td { border-top: 0; }
.prose td img { display: block; margin: 0 auto .3rem; max-height: 48px; width: auto; }
.prose td p { margin: 0; }
.prose td:first-child:nth-last-child(n+4) { font-size: .85rem; }
.prose tr:nth-child(2) td { font-weight: 700; color: var(--dark); font-size: 1.05rem; }
@media (max-width: 560px) {
  .diagram-section--icons .diagram__item { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; row-gap: .2rem; }
  .diagram-section--icons .diagram__icon { grid-row: 1 / 3; }
  .diagram-section--icons .diagram__title, .diagram-section--icons .diagram__item p { grid-column: 2; }
}

/* ---------- Article layout (long-text pages): reading column + sticky sidebar with contents, quote card, related pages ---------- */
.article { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.75rem, 6vw, 5rem); }
.article + .article { padding-top: 0; }
.article__grid { display: grid; gap: 1.5rem; }
.article__grid--single { max-width: calc(780px + 2 * var(--gutter)); }
.article__body { min-width: 0; max-width: 780px; }
.article__body > * + * { margin-top: 1.75rem; }
.article__body > .article__meta + * { margin-top: 0; }
.article__meta { display: flex; align-items: center; gap: .4rem; margin: 0 0 1.25rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.article__meta svg { color: var(--brand); width: 1.05em; height: 1.05em; }
.article__btns .btns { margin-top: 0; }
.article__figures { display: grid; gap: 1rem; }
@media (min-width: 600px) { .article__figures { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; } }
.article__figures .figure img { width: 100%; }
.article .prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.5rem; padding-top: .25rem; }
.article .prose h2::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: .75rem; background: var(--brand); border-radius: 2px; }
.article .prose h3 { margin-top: 1.9rem; }
.article .prose > :first-child::before { display: none; }
/* Lead: the first paragraph of the page reads as an introduction; a leading image becomes the article's picture. */
.prose--lead > p:first-child:not(:has(img)), .prose--lead > :is(h2, h3, h4):first-child + p:not(:has(img)) { font-size: clamp(1.1rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }
.prose--lead > p:first-child:has(> img:only-child) { margin: 0 0 1.5rem; }
.prose--lead > p:first-child > img:only-child { margin: 0; width: 100%; }
.prose--lead > :is(h2, h3, h4):first-child { margin-top: 0; }
.article__aside { display: contents; }
.article__toc { order: -1; }
.article__side { display: grid; gap: 1.25rem; }
@media (max-width: 1099px) { .article .sidecard { display: none; } } /* the mobile bar already has call/quote buttons */
@media (min-width: 1100px) {
  .article__grid { grid-template-columns: minmax(0, 780px) 300px; justify-content: space-between; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  /* The sidebar sticks under the header; when it is taller than the viewport it scrolls on its own. */
  .article__aside { display: block; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 20px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 1rem; }
  .article__toc { order: 0; margin-bottom: 1.25rem; }
}
/* Contents */
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1.1rem; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dark); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: .35rem 1.1rem .9rem; border-top: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: .4rem 0 .4rem .85rem; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .92rem; line-height: 1.4; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--brand-strong); }
.toc a.is-active { color: var(--brand-strong); border-left-color: var(--brand); font-weight: 700; }
/* Quote card */
.sidecard { padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius); background: radial-gradient(circle at 20% 0%, var(--dark-2), var(--dark) 70%); color: #e9edf2; }
.sidecard__title { margin: 0 0 .4rem; font-size: 1.2rem; line-height: 1.3; font-weight: 800; color: #fff; text-wrap: balance; }
.sidecard__text { font-size: .95rem; color: #c5ced9; }
.sidecard__text p { margin: 0 0 .5rem; }
.sidecard .btns { margin-top: 1.1rem; flex-direction: column; gap: .6rem; }
.sidecard .btn { width: 100%; justify-content: center; }
.sidecard .btn--phone { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.sidecard .btn--phone svg { color: var(--brand); }
.sidecard .btn--phone:hover { background: #fff; color: var(--ink); }
.sidecard .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.sidecard .btn--secondary:hover { background: #fff; color: var(--ink); }
/* Related pages */
.related { padding: 1rem 1.25rem 1.1rem; border-radius: var(--radius); background: var(--surface); }
.related__title { margin: 0 0 .35rem; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li + li { border-top: 1px solid var(--line); }
.related a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.related a svg { width: 16px; height: 16px; color: var(--muted); flex: none; transition: transform .15s; }
.related a:hover { color: var(--brand-strong); }
.related a:hover svg { transform: translateX(3px); color: var(--brand-strong); }
.related__parent { color: var(--muted); font-size: .88rem; }
.related__parent::before { content: "↑"; margin-right: .35rem; }

/* ---------- Richtext list styles (admin option; same text, different presentation) ---------- */
.prose--checks ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem 1.5rem; }
.prose--checks li { position: relative; margin: 0; padding-left: 1.9rem; }
.prose--checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0661a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.prose--checks li > strong:only-child, .prose--checks li > strong:first-child { font-weight: 600; }
.prose--checks li p { margin: 0; }
.prose--tiles ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .9rem; }
.prose--tiles li { margin: 0; padding: 1rem 1.2rem; background: var(--surface); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.prose--tiles li p { margin: 0; }
.prose--tiles li p + p { margin-top: .4rem; }
.prose--tiles li > strong, .prose--tiles li > p > strong:first-child { color: var(--dark); }
@media (min-width: 700px) {
  .prose--checks ul, .prose--tiles ul { grid-template-columns: 1fr 1fr; }
  .prose--tiles li { border-left: 0; border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); }
}
