/* Public site styles — monosi-fragoulakis.gr. Mobile first; no framework.
   Identity (playbook 4α): «τεχνικό / αξιόπιστο». IBM Plex Sans, graphite + Fragoulakis orange #FF6600,
   small radii, square buttons with dark text on orange (white on #FF6600 is only 2.9:1), orange top strip and
   angled hero edge kept from the old site, blueprint grid, numbered section headings. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/plex-greek.woff2") format("woff2");
  font-weight: 400 700;
  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: "IBM Plex Sans";
  src: url("/assets/fonts/plex-latin.woff2") format("woff2");
  font-weight: 400 700;
  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;          /* Fragoulakis orange: fills, rules, icons; text on it is --ink (6.2:1) */
  --brand-hover: #ff7d26;
  --brand-text: #b84800;     /* orange as text on white/grey: 5.3:1 / 4.7:1 */
  --brand-tint: #fff1e6;
  --ink: #14171a;
  --ink-2: #353c44;
  --muted: #5a636e;
  --line: #dde1e6;
  --bg: #ffffff;
  --surface: #f2f3f5;
  --dark: #15191e;           /* graphite: header, footer, dark sections */
  --dark-2: #20262d;
  --dark-line: rgba(255, 255, 255, .12);
  --ok: #157347;
  --err: #b42318;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(20, 23, 26, .08), 0 6px 18px rgba(20, 23, 26, .08);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
  --grid: linear-gradient(rgba(20, 23, 26, .045) 1px, transparent 1px) 0 0 / 28px 28px,
          linear-gradient(90deg, rgba(20, 23, 26, .045) 1px, transparent 1px) 0 0 / 28px 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
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;
}
main { counter-reset: sec; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
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: 2px; }
@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(--brand); color: var(--ink); padding: .75rem 1rem; font-weight: 700; }
.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(800px + 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 {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.3rem;
  border-radius: var(--radius); border: 2px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; letter-spacing: .01em; text-align: center;
}
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); 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(--ink); }
.btn--phone svg { color: var(--brand-text); }
.btn--phone:hover { background: var(--ink); color: #fff; }
.btn--phone:hover svg { color: var(--brand); transform: none; }
.btn--block { width: 100%; }

/* ---------- Top strip (orange, as on the old site) & dark header ---------- */
.topbar { background: var(--brand); color: var(--ink); font-size: .86rem; font-weight: 600; display: none; }
.topbar__in { display: flex; align-items: center; gap: 1.75rem; min-height: 34px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { color: var(--ink); }
.topbar__phone { margin-left: auto; color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.topbar__phone:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; border-bottom: 3px solid var(--brand); }
.header__in { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.logo img { width: 42px; height: auto; }
.logo__text { display: grid; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.logo__tag { font-size: .72rem; color: #aab3bd; text-transform: uppercase; letter-spacing: .12em; }
.logo:hover { color: #fff; }
.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: #fff; 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: calc(var(--header-h) + 3px) 0 0 0; background: var(--dark); padding: .5rem 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(--dark-line); }
.nav__link { flex: 1; padding: .95rem 0; white-space: nowrap; color: #fff; text-decoration: none; font-weight: 600; }
.nav__link.is-active { color: var(--brand); }
.nav__toggle { width: 48px; height: 48px; display: grid; place-content: center; background: none; border: 0; cursor: pointer; color: #fff; }
.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; border-left: 2px solid var(--brand); }
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a { display: block; padding: .55rem 0; color: #cfd5dc; text-decoration: none; }
.nav__sub a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav__cta { display: grid; gap: .75rem; margin-top: 1.5rem; }
.nav .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.nav .btn--ghost svg { color: var(--brand); }
.nav .btn--ghost:hover { border-color: #fff; color: #fff; }
.nav .btn--primary:hover { background: #fff; color: var(--ink); }

@media (min-width: 1100px) {
  .topbar { display: block; }
  .burger { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: 1rem; 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 .6rem; font-size: .93rem; position: relative; }
  .nav__link::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .1rem; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .15s; transform-origin: left; }
  .nav__link:hover::after, .nav__link.is-active::after { transform: none; }
  .nav__link:hover { color: #fff; }
  .nav__link.is-active { color: #fff; }
  .nav__toggle { display: none; }
  .nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 270px; padding: .4rem 0; background: #fff; border: 0; border-top: 3px solid var(--brand);
    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 1rem; font-size: .93rem; color: var(--ink); }
  .nav__sub a:hover { background: var(--surface); color: var(--ink); }
  .nav__sub a[aria-current="page"] { color: var(--brand-text); }
  .nav__cta { display: flex; margin: 0; gap: .5rem; }
  .nav__cta .btn { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .nav__cta .btn--ghost { display: none; } .logo__text { display: none; } }

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

/* ---------- Hero: split, light, blueprint grid, angled bottom edge ---------- */
.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(21, 25, 30, .94) 0%, rgba(21, 25, 30, .8) 45%, rgba(21, 25, 30, .4) 100%); }
.hero__in { padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero .crumbs { color: #c5ced9; }
.eyebrow { margin: 0 0 .8rem; display: inline-flex; align-items: center; gap: .6rem; color: var(--brand); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--brand); }
.hero__title { margin: 0; max-width: 18ch; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.hero__sub { margin: 1.1rem 0 0; max-width: 54ch; font-size: clamp(1.05rem, 1.7vw, 1.22rem); 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: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn--phone svg { color: var(--brand); }
.hero .btn--phone:hover { background: #fff; color: var(--ink); }

.hero--light { background: #fff; color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding-bottom: 28px; }
.hero--light::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grid), var(--surface); }
.hero--light .hero__media { position: relative; inset: auto; z-index: 0; height: clamp(190px, 46vw, 300px); background: var(--dark); }
.hero--light .hero__img { object-fit: cover; object-position: center; }
.hero--light .hero__in { padding-block: 1.75rem 2.75rem; }
.hero--light .crumbs { color: var(--muted); }
.hero--light .eyebrow { color: var(--brand-text); }
.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: var(--ink); }
.hero--light .btn--phone:hover { background: var(--ink); color: #fff; }
@media (min-width: 900px) {
  .hero--light .hero__media { position: absolute; inset: 0 0 0 auto; width: 46%; height: auto; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .hero--light .hero__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--brand); z-index: 1; transform: skewX(-8deg); transform-origin: top; left: 7%; }
  .hero--light .hero__in { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
  .hero--light .hero__in > * { max-width: 52%; }
  .hero--light .hero__in > .badges { max-width: 54%; }
}
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.75rem 0 0; padding: 0; color: #e3e8ee; font-weight: 600; font-size: .92rem; }
.badges li { display: inline-flex; align-items: center; gap: .45rem; }
.badges svg { color: var(--ink); background: var(--brand); padding: 3px; width: 1.25em; height: 1.25em; stroke-width: 3.5; border-radius: 2px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.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: #dfe4ea; }
.bg-dark .prose h2, .bg-dark .prose h3, .bg-dark .card__title { color: #fff; }
.bg-dark a { color: #ff9a57; }
.bg-brand { background: var(--brand); color: var(--ink); }
.bg-brand a { color: var(--ink); }
.section__head { max-width: 780px; margin: 0 0 2.25rem; }
.section__head h2 { margin-top: 0; }

/* ---------- Prose & numbered headings ---------- */
.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: 700; letter-spacing: -.01em; text-wrap: balance; }
/* First heading of each section gets a running number: 01, 02 … (technical-document look). */
.section > .wrap > .prose > h2:first-child::before, .section > .wrap.prose > h2:first-child::before, .section__head > h2:first-child::before, .split__text > h2:first-child::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  display: block; width: fit-content; margin-bottom: .7rem; padding: .1rem .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--ink); background: var(--brand); border-radius: 2px; font-variant-numeric: tabular-nums;
}
.cta .prose h2::before { content: none !important; }
.prose h3 { font-size: clamp(1.18rem, 2.1vw, 1.38rem); 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 ul > li::marker { content: "■  "; color: var(--brand); font-size: .7em; }
.prose ol > li::marker { color: var(--brand-text); font-weight: 700; }
.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); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.prose thead th { background: var(--dark); color: #fff; border-color: var(--dark); font-size: .85rem; letter-spacing: .03em; }
.prose tbody tr:nth-child(even) { background: #f8f9fa; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; } }
.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; box-shadow: 10px 10px 0 var(--brand); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  figure.split__media { position: sticky; top: calc(var(--header-h) + 24px); }
  .split--reverse .split__media { order: -1; }
  .split--reverse .split__media img { box-shadow: -10px 10px 0 var(--brand); }
}

.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; transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow); }
.bg-light .card { border-color: #fff; border-top-color: var(--brand); }
.bg-dark .card { background: var(--dark-2); border-color: var(--dark-2); border-top-color: var(--brand); color: #dfe4ea; }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__media--contain { background: var(--surface); padding: 1rem; }
.card__media--contain img { aspect-ratio: 16 / 10; object-fit: contain; }
.bg-dark .card__media--contain { background: rgba(255, 255, 255, .04); }
.card--logo { border-top-width: 1px; border-top-color: var(--line); justify-content: center; }
.bg-light .card--logo { border-top-color: #fff; }
.card--logo .card__media--contain { background: #fff; padding: 1.25rem 2rem; }
.card--logo .card__media--contain img, .card--logo .card__media img { aspect-ratio: 3 / 1; object-fit: contain; }
.card--logo .card__body { display: none; }
.card__body { padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__title { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.3; }
.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, decimal-leading-zero); display: block; margin-bottom: .6rem;
  color: var(--brand-text); font-weight: 700; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums;
}

/* ---------- CTA ---------- */
.cta--dark { background: var(--dark); color: #dfe4ea; border-top: 3px solid var(--brand); }
.cta--brand { background: var(--brand); color: var(--ink); }
.cta--light { background: var(--surface); border-left: 6px solid var(--brand); }
.cta--dark h2 { color: #fff; }
.cta--brand h2 { color: var(--ink); }
.cta__in { display: grid; gap: 1.25rem; align-items: center; }
.cta__text { max-width: 720px; }
.cta--dark .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta--dark .btn--secondary:hover { background: #fff; color: var(--ink); }
.cta--brand .btn--primary { background: var(--ink); color: #fff; }
.cta--brand .btn--primary:hover { background: #fff; color: var(--ink); }
.cta--brand .btn--secondary, .cta--brand .btn--phone { background: transparent; color: var(--ink); border-color: var(--ink); }
.cta--brand .btn--secondary:hover, .cta--brand .btn--phone:hover { background: var(--ink); color: #fff; }
.cta--brand .btn--phone svg { color: var(--ink); }
.cta--brand .btn--phone:hover svg { color: var(--brand); }
.cta--brand a:not(.btn) { color: var(--ink); }
.cta--dark .btn--phone { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta--dark .btn--phone svg { color: var(--brand); }
.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: 700; 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; }
.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: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.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.25rem; margin: 0 0 .75rem; }
.pricetable__title span, .hl { color: var(--brand-text); }
.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: .76rem; text-transform: uppercase; letter-spacing: .06em; 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: #f8f9fa; }
.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) !important; color: var(--ink); font-size: 1.05rem; }
.ptable__total .muted, .ptable__total span { color: var(--ink); }
.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) !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-top: 3px solid var(--ink); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.pcard--hl { border: 2px solid var(--brand); border-top-width: 6px; box-shadow: var(--shadow); }
.pcard__flag { position: absolute; top: -.85rem; left: 1.5rem; background: var(--brand); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; padding: .25rem .65rem; border-radius: 2px; text-transform: uppercase; }
.pcard__name { margin: 0; font-size: 1.25rem; }
.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.3rem; line-height: 1; font-weight: 700; 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: 2px solid var(--ink); }
.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.1rem 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.faq__item summary svg { color: var(--ink); background: var(--brand); padding: 4px; width: 1.6em; height: 1.6em; border-radius: 2px; 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: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.formcard { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); 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 #c8ced5; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 102, 0, .35); }
.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); 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: #b9c2cc; padding-top: clamp(2.5rem, 6vw, 4rem); font-size: .95rem; border-top: 6px solid var(--brand); }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__logo { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-weight: 700; }
.footer__logo img { width: 44px; }
.footer__about p { margin: 1rem 0 0; max-width: 36ch; }
.footer__title { margin: 0 0 .9rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); }
.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.35rem; font-weight: 700; color: #fff !important; letter-spacing: .02em; }
.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 var(--dark-line); font-size: .85rem; }
@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: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--dark); border-top: 3px solid var(--brand); }
.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: 700; text-decoration: none; }
.mobilebar__btn--call { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.mobilebar__btn--call svg { color: var(--brand); }
.mobilebar__btn--quote { background: var(--brand); color: var(--ink); }
.mobilebar__btn--call:hover { color: #fff; }
.mobilebar__btn--quote:hover { color: var(--ink); }
@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-top: 3px solid var(--brand); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(20, 23, 26, .25); 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; }
