/* Samacon Developments: public site. Own CSS, no framework, no external files.
   One design system: the tokens below (colour, type, space, shape, shadow, motion) are used by every rule.
   Motion moves only transform and opacity; everything that moves stops under prefers-reduced-motion. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  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;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-greek.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  /* Colour */
  --ink: #1d2128;            /* charcoal: header, dark bands, headings */
  --ink-deep: #16191e;       /* footer */
  --gold: #ad976e;           /* brand gold: lines, fills, gold text on dark only */
  --gold-ink: #6f5c3a;       /* gold text on light backgrounds (AA) */
  --gold-soft: #efe9dc;
  --paper: #f7f4ee;          /* warm off-white bands */
  --bg: #fff;
  --line: #e7e1d6;
  --line-2: #d3cab9;         /* form borders, outlined controls */
  --text: #2b2f36;
  --muted: #5b616b;
  --on-dark: rgba(255, 255, 255, .86);
  --on-dark-2: rgba(255, 255, 255, .7);
  --ok: #1d6340; --ok-bg: #e8f2ec;
  --warn: #7a4f00; --warn-bg: #fbf0dc;
  --err: #9b2c2c; --err-bg: #fbeceb;
  /* Type: one family, one scale */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-label: .75rem;                                 /* eyebrows, badges, table heads */
  --fs-sm: .875rem;
  --fs-md: 1.0625rem;                                 /* reading text */
  --fs-lead: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  --fs-h3: 1.2rem;
  --fs-h2: clamp(1.7rem, 1.25rem + 1.6vw, 2.6rem);
  --fs-h1: clamp(2.05rem, 1.45rem + 2.4vw, 3.5rem);
  --fs-hero: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
  /* Space: one scale */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --sec: clamp(3.5rem, 2.1rem + 4.6vw, 6rem);         /* padding of a section */
  --sec-first: clamp(2.25rem, 1.5rem + 2.5vw, 4rem);   /* first block under a title band */
  --head-gap: clamp(1.75rem, 1.2rem + 2vw, 3rem);     /* section title → content */
  --gap: clamp(1rem, .7rem + 1.2vw, 1.75rem);         /* grids */
  --wrap: 1240px;
  --top-h: 64px;                                      /* header height */
  /* Shape: one radius for surfaces and controls, a pill for labels */
  --r: 10px;
  --r-pill: 999px;
  /* Shadow: one language, three heights */
  --sh-1: 0 1px 2px rgba(29, 33, 40, .05), 0 4px 14px -6px rgba(29, 33, 40, .08);
  --sh-2: 0 2px 6px rgba(29, 33, 40, .05), 0 22px 44px -16px rgba(29, 33, 40, .22);
  --sh-3: 0 30px 80px -20px rgba(10, 12, 16, .5);
  /* Motion: quiet, soft easing, never bouncy */
  --ease: cubic-bezier(.25, .6, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t1: .2s;   /* colour, small hovers */
  --t2: .35s;  /* menus, cards, icons */
  --t3: .6s;   /* entrances */
  --t4: .9s;   /* reveals, hero */
}
@media (min-width: 1000px) { :root { --top-h: 76px; } }

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 1rem); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--gold-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
.top :focus-visible, .hero :focus-visible, .sec--dark :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.lead { max-width: 44rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.ic { flex: none; width: 1.15em; height: 1.15em; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 0 0 var(--r) var(--r); }
.skip:focus { top: 0; }
.preview-bar { margin: 0; padding: .35rem 1rem; background: #fff3cd; color: #5c4700; font-size: .85rem; text-align: center; }

/* Eyebrow: a thin gold rule and a small uppercase label above section titles */
.eyebrow { display: flex; align-items: center; gap: .85rem; margin: 0 0 1.1rem; font-size: var(--fs-label); font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; flex: none; width: 2.25rem; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; flex: none; width: 2.25rem; height: 1px; background: currentColor; }
.sec--dark .eyebrow, .hero .eyebrow { color: var(--gold); }

/* ---- Buttons and links ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: var(--r); font-weight: 700; font-size: .95rem; line-height: 1.2; letter-spacing: .005em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease), border-color var(--t1) var(--ease), transform var(--t1) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .ic--go { transition: transform var(--t2) var(--ease); }
.btn:hover .ic--go { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ink); color: #fff; }
.hero .btn--gold:hover, .sec--dark .btn--gold:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--line { border-color: var(--line-2); background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: var(--s6) 0 0; }
@media (max-width: 519px) { .btn-row .btn { flex: 1 1 100%; } }

/* «See all»: text, a gold hairline that an ink line draws over on hover, an arrow that steps forward */
.more { position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.more::before, .more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; }
.more::after { background: var(--gold); }
.more::before { z-index: 1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform var(--t2) var(--ease); }
.more:hover { color: var(--ink); }
.more:hover::before { transform: scaleX(1); transform-origin: left; }
.more .ic { transition: transform var(--t2) var(--ease); }
.more:hover .ic { transform: translateX(4px); }

/* ---- Header ---- */
.top { position: sticky; top: 0; z-index: 50; color: #fff; isolation: isolate; view-transition-name: top; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transition: opacity var(--t2) var(--ease); }
.top::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: linear-gradient(rgba(15, 17, 21, .16), rgba(15, 17, 21, 0)); opacity: 0; pointer-events: none; transition: opacity var(--t2) var(--ease); }
.top.is-scrolled::after { opacity: 1; }
/* Home: the header lies over the picture and turns solid once the page moves (site.js adds .is-scrolled).
   Without JavaScript it simply scrolls away with the picture. */
.v-home .top { position: relative; margin-bottom: calc(-1 * var(--top-h)); }
html.js .v-home .top { position: sticky; }
.v-home .top::before { opacity: 0; }
.v-home .top.is-scrolled::before, .v-home .top.is-menu::before { opacity: 1; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--top-h); }
.logo { display: inline-flex; align-items: center; gap: .75rem; margin: 0; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo img { width: 36px; height: auto; }
.logo__text { display: grid; font-weight: 700; font-size: 1.12rem; line-height: 1.05; letter-spacing: .05em; }
.logo__text small { margin-top: .2rem; font-size: .58rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.burger { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -.75rem; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.burger__lines { position: relative; display: block; width: 24px; height: 14px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform var(--t2) var(--ease), opacity var(--t1) var(--ease); }
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6.2px; }
.burger__lines span:nth-child(3) { top: 12.4px; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__side { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__phone .ic { color: var(--gold); }
.nav__phone:hover { color: var(--gold); }
.nav__lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .7rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r-pill); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-decoration: none; transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.nav__lang:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
@media (max-width: 999px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--top-h)); overflow-y: auto; padding: .25rem 1.25rem 1.5rem; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), visibility 0s linear var(--t2); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav li a { display: flex; align-items: center; min-height: 56px; color: #fff; font-size: 1.1rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav li a[aria-current] { color: var(--gold); }
  .nav.is-open li, .nav.is-open .nav__side { animation: rise var(--t3) var(--ease-out) both; }
  .nav.is-open li:nth-child(2) { animation-delay: .04s; }
  .nav.is-open li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open li:nth-child(4) { animation-delay: .12s; }
  .nav.is-open li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__side { animation-delay: .2s; }
  .nav__side { padding-top: 1.1rem; }
}
@media (min-width: 1000px) {
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: 1.75rem; }
  .nav ul { display: flex; gap: 1.75rem; }
  .nav li a { position: relative; display: flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .88); font-size: .92rem; font-weight: 600; text-decoration: none; transition: color var(--t1) var(--ease); }
  .nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform var(--t2) var(--ease); }
  .nav li a:hover { color: #fff; }
  .nav li a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav li a[aria-current] { color: #fff; }
  .nav li a[aria-current]::after { transform: scaleX(1); }
  .nav__side { gap: 1rem; padding-left: 1.75rem; border-left: 1px solid rgba(255, 255, 255, .14); }
}
@media (min-width: 1000px) and (max-width: 1179px) {
  .nav__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav__phone { justify-content: center; min-width: 44px; }
}

/* ---- Title band of inner pages (breadcrumb, h1, lead) ---- */
.crumbs-band { background: var(--paper); }
.crumbs { padding-top: clamp(1.25rem, 1rem + 1vw, 2rem); font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .65rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin-right: .75rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .55; }
.crumbs a { display: inline-block; padding-block: .2rem; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.band { position: relative; background: var(--paper); isolation: isolate; overflow: hidden; }
/* The company's real mark, whole and faint, beside the title. Never a redraw, never cut by an edge. */
.band::after { content: ""; position: absolute; z-index: -1; top: 50%; right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); width: clamp(130px, 13vw, 190px); aspect-ratio: 453 / 470; transform: translateY(-50%); background: url("img/logo-watermark.png") no-repeat center / contain; opacity: .14; pointer-events: none; }
.band--media::after { display: none; }
@media (max-width: 759px) { .band::after { display: none; } }
.page-head { position: relative; padding-block: clamp(1rem, .6rem + 1.4vw, 1.75rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.page-head h1 { max-width: 20ch; margin: 0 0 .45em; }
.page-head h1 .muted { font-weight: 400; }
.page-head .lead { margin: 0; }
.page-head > :last-child { margin-bottom: 0; }
.band--media .page-head { padding-bottom: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.pull { position: relative; margin-top: calc(-1 * clamp(3rem, 2rem + 4.5vw, 6.5rem)); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin: 0; color: var(--muted); font-size: .95rem; }
.detail-meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.detail-meta .ic { color: var(--gold-ink); }

/* ---- Hero (home) ---- */
/* The home picture fills exactly the visible screen, whatever its size (100svh = the height really visible on phones). */
.hero { position: relative; display: grid; align-items: end; min-height: 100vh; min-height: max(480px, 100svh); padding-top: var(--top-h); background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.hero > picture, .hero > img, .hero > .ph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero > img, .hero > picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform-origin: var(--fx, 50%) var(--fy, 50%); animation: hero-zoom 22s var(--ease-out) both; }
/* Focus point chosen in the admin: the part of the picture that stays in view on every screen shape. */
.hero--fx-0 { --fx: 0%; } .hero--fx-25 { --fx: 25%; } .hero--fx-75 { --fx: 75%; } .hero--fx-100 { --fx: 100%; }
.hero--fy-0 { --fy: 0%; } .hero--fy-100 { --fy: 100%; }
/* Upright screens get a copy already cut around the focus point, so it sits in the middle there. */
@media (max-aspect-ratio: 4/5) { .hero--portrait.hero--fx-25, .hero--portrait.hero--fx-75 { --fx: 50%; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, rgba(15, 17, 21, .62) 0%, rgba(15, 17, 21, 0) 24%),
  linear-gradient(0deg, rgba(15, 17, 21, .9) 0%, rgba(15, 17, 21, .5) 36%, rgba(15, 17, 21, 0) 72%),
  linear-gradient(90deg, rgba(15, 17, 21, .5) 0%, rgba(15, 17, 21, 0) 62%); }
.hero__in { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero h1 { position: relative; max-width: 16ch; margin: 0 0 .4em; padding-top: 1.6rem; font-size: var(--fs-hero); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; color: #fff; animation: settle var(--t4) var(--ease-out) both; }
.hero h1::before { content: ""; position: absolute; left: 0; top: 0; width: 3.5rem; height: 2px; background: var(--gold); transform-origin: left; animation: draw 1.1s var(--ease-out) .25s both; }
.hero__lead { max-width: 36rem; margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .9); animation: rise var(--t4) var(--ease-out) .15s both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem) 0 0; animation: rise var(--t4) var(--ease-out) .3s both; }
.hero__cue { display: none; }
@media (min-width: 900px) {
  .hero__cue { position: absolute; right: max(1.25rem, calc((100% - var(--wrap)) / 2)); bottom: clamp(3rem, 2rem + 5vw, 6.5rem); display: block; width: 1px; height: 72px; overflow: hidden; background: rgba(255, 255, 255, .22); animation: fade 1s var(--ease) 1.1s both; }
  .hero__cue::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: cue 2.8s var(--ease) 1.6s infinite; }
}
@media (max-width: 519px) { .hero__cta .btn { flex: 1 1 auto; } }

/* ---- Sections ---- */
.sec { padding-block: var(--sec); }
.sec--first { padding-top: var(--sec-first); }
.sec:not(.sec--soft):not(.sec--dark) + .sec:not(.sec--soft):not(.sec--dark) { padding-top: 0; }
.sec--soft { background: var(--paper); }
.sec--dark { background: var(--ink); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--lines { position: relative; isolation: isolate; overflow: hidden; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2.5rem; margin-bottom: var(--head-gap); }
.sec__head h2 { margin: 0; max-width: 24ch; }
.sec__head p:not(.eyebrow) { max-width: 40rem; margin: .8rem 0 0; font-size: var(--fs-md); color: var(--muted); }
.sec__head > .more { margin-bottom: -.5rem; }

/* ---- Cards (units, projects, articles): one structure, equal heights in a row ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.grid > li { display: flex; min-width: 0; }
.card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gold-soft); overflow: hidden; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 17, 21, .22), rgba(15, 17, 21, 0) 38%); pointer-events: none; }
.card__media img, .card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card__body { display: flex; flex-direction: column; gap: .55rem; flex: 1; padding: 1.3rem 1.4rem 1.3rem; }
.card__place { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.card__place .ic { width: 1rem; height: 1rem; color: var(--gold-ink); }
.card__title { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; transition: color var(--t1) var(--ease); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__text { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.card__body > .card__foot { margin-top: auto; }
.card__body > :nth-last-child(2) { margin-bottom: .45rem; }
.card__meta { display: grid; gap: .1rem; min-width: 0; margin: 0; font-size: .87rem; line-height: 1.4; color: var(--muted); }
.card__meta .price { font-weight: 700; color: var(--ink); }
.card__meta small { font-size: .8rem; }
.card__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.card__go .ic { width: 18px; height: 18px; transition: transform var(--t2) var(--ease); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
  .card:hover .card__media img { transform: scale(1.06); }
  .card:hover .card__title a { color: var(--gold-ink); }
  .card:hover .card__go { background: var(--ink); border-color: var(--ink); color: #fff; }
  .card:hover .card__go .ic { transform: translateX(2px); }
}
.card:focus-within { box-shadow: var(--sh-2); }
@supports selector(:has(a)) {
  .card__title a:focus-visible { outline: none; }
  .card:has(.card__title a:focus-visible) { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
}
.price { font-weight: 700; color: var(--ink); }
.ph { display: block; background: linear-gradient(135deg, var(--gold-soft), #e2dac8); }
.badge { position: absolute; z-index: 2; left: .9rem; top: .9rem; display: inline-flex; align-items: center; padding: .38rem .75rem; border-radius: var(--r-pill); background: rgba(21, 24, 29, .84); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.badge--gold { background: var(--gold); color: var(--ink); }
.specs { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--text); }
.specs li { display: inline-flex; align-items: center; gap: .4rem; }
.specs .ic { width: 1.05rem; height: 1.05rem; color: var(--gold-ink); }

/* ---- Lists: filters, tabs, count, pager ---- */
.list-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: var(--s6); }
.list-tools .tabs, .list-tools .filters { margin: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .9rem 1rem; margin: 0 0 var(--s6); padding: 1.1rem 1.25rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.filters label { display: grid; gap: .4rem; flex: 1 1 170px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.filters select { min-height: 48px; padding: 0 2.4rem 0 .9rem; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f5c3a' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center / 1.05rem; appearance: none; font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; transition: border-color var(--t1) var(--ease); }
.filters select:hover { border-color: var(--ink); }
.filters .btn { min-height: 48px; }
.list-tools .filters { flex: 0 1 300px; padding: 0; background: none; border: 0; box-shadow: none; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 var(--s5); padding: 0; }
.tabs a { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.15rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink); font-weight: 650; font-size: .92rem; text-decoration: none; transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs .n { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: var(--r-pill); background: var(--paper); font-size: .75rem; font-weight: 700; color: var(--muted); }
.tabs a[aria-current] .n { background: rgba(255, 255, 255, .14); color: #fff; }
.count { display: flex; align-items: center; gap: 1rem; margin: 0 0 var(--s5); font-size: var(--fs-label); font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.count::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.empty { margin: 0; padding: 3rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--paper); text-align: center; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: var(--s7); }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink); font-weight: 650; text-decoration: none; transition: border-color var(--t1) var(--ease); }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---- Status pills ---- */
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pill::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--available { background: var(--ok-bg); color: var(--ok); }
.pill--reserved { background: var(--warn-bg); color: var(--warn); }
.pill--sold, .pill--completed { background: #eef0f2; color: #555b64; }
.pill--construction { background: var(--ink); color: #fff; }
.pill--construction::before { background: var(--gold); }

/* ---- Project and unit pages ---- */
.gallery { display: grid; gap: 8px; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--sh-2); }
.gallery__item { position: relative; display: block; padding: 0; border: 0; background: var(--gold-soft); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(15, 17, 21, .16); opacity: 0; pointer-events: none; transition: opacity var(--t2) var(--ease); }
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.04); }
  .gallery__item:hover::after { opacity: 1; }
}
.gallery__item:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 0; }
.gallery__item:first-child { aspect-ratio: 16 / 10; }
.gallery--1 .gallery__item { max-height: 620px; width: 100%; }
.gallery--2, .gallery--3, .gallery--4, .gallery--5 { grid-template-columns: 1fr 1fr; }
.gallery--2 .gallery__item:first-child, .gallery--3 .gallery__item:first-child, .gallery--4 .gallery__item:first-child, .gallery--5 .gallery__item:first-child { grid-column: 1 / -1; }
.gallery--2 .gallery__item:nth-child(2), .gallery--4 .gallery__item:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery__more { position: absolute; z-index: 1; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .5rem; max-width: calc(100% - 1.6rem); padding: .55rem 1rem; white-space: nowrap; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700; box-shadow: var(--sh-1); transition: transform var(--t2) var(--ease); }
.gallery__item:hover .gallery__more { transform: translateY(-2px); }
@media (min-width: 900px) {
  /* One row of fixed height: the large picture on the left, the small ones in a block on the right. */
  .gallery--2, .gallery--3, .gallery--4, .gallery--5 { height: clamp(380px, 40vw, 560px); }
  .gallery--2 { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr; }
  .gallery--3 { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; }
  .gallery--4 { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr 1fr; }
  .gallery--5 { grid-template-columns: 3fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery .gallery__item, .gallery .gallery__item:first-child, .gallery--2 .gallery__item:nth-child(2), .gallery--4 .gallery__item:nth-child(4) { aspect-ratio: auto; grid-column: auto; min-height: 0; height: 100%; }
  .gallery--1 .gallery__item { aspect-ratio: 16 / 8; height: auto; }
  .gallery--2 .gallery__item:first-child, .gallery--3 .gallery__item:first-child, .gallery--4 .gallery__item:first-child, .gallery--5 .gallery__item:first-child { grid-column: 1; grid-row: 1 / -1; }
}

.detail { display: grid; gap: clamp(2.25rem, 1rem + 3vw, 4rem); padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem) var(--sec); }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; column-gap: clamp(2.5rem, 1rem + 2.5vw, 3.75rem); } }
.detail__main { min-width: 0; }
.detail__main > section + section { margin-top: clamp(2.75rem, 2rem + 2.5vw, 4rem); }
.detail__main h2 { position: relative; margin-bottom: 1.25rem; padding-top: 1.15rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.detail__main h2::before { content: ""; position: absolute; left: 0; top: 0; width: 2.25rem; height: 2px; background: var(--gold); }
.detail__main h2 a { color: var(--ink); text-decoration-color: var(--gold); }
.detail__main h2 a:hover { color: var(--gold-ink); }
.detail__side { min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts li { display: flex; flex-direction: column; justify-content: space-between; gap: .4rem; margin: -1px 0 0 -1px; padding: 1.1rem 1.2rem 1.15rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts .k { display: flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts .k .ic { width: 1rem; height: 1rem; color: var(--gold-ink); }
.facts .v { display: block; font-size: 1.25rem; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rich { font-size: var(--fs-md); line-height: 1.75; }
.rich > :last-child { margin-bottom: 0; }
.rich h2, .rich h3, .rich h4 { margin-top: 1.6em; }
.rich h3 { font-size: 1.3rem; }
.rich li { margin-bottom: .4em; }
.rich li::marker { color: var(--gold); }
.rich blockquote { margin: 1.5em 0; padding: .25rem 0 .25rem 1.25rem; border-left: 2px solid var(--gold); font-size: 1.12rem; color: var(--ink); }
.rich img { border-radius: var(--r); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 2rem; list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: flex-start; gap: .65rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.checks .ic { width: 1.1rem; height: 1.1rem; margin-top: .22em; color: var(--gold-ink); }

/* Units table: header on a warm band, quiet row hover, status pills */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.units { width: 100%; border-collapse: collapse; font-size: .94rem; }
.units th { padding: .85rem .6rem; background: var(--paper); text-align: left; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.units th abbr { text-decoration: none; }
.units td { padding: .95rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; transition: background-color var(--t1) var(--ease); }
.units tbody tr:last-child td { border-bottom: 0; }
.units th:first-child, .units td:first-child { padding-left: 1.15rem; }
.units th:last-child, .units td:last-child { padding-right: 1.15rem; }
.units tbody tr:hover td { background: #fbfaf7; }
.units tr:target td { background: var(--gold-soft); }
.units .u-name { font-weight: 700; color: var(--ink); white-space: nowrap; }
.units .u-name a { color: var(--ink); text-decoration-color: var(--gold); }
.units .u-name a:hover { color: var(--gold-ink); }
.units .u-sum { display: none; }
.units .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.units .u-price { white-space: nowrap; font-weight: 600; color: var(--ink); }
.units .u-price .more { display: none; margin-left: .9rem; font-size: .9rem; }
.units .is-sold td { color: var(--muted); }
.units .is-sold .u-name { color: var(--muted); font-weight: 600; }
@media (max-width: 699px) {
  /* Phones: two lines per unit: name + status, then the figures in one line; price and link for what can be bought. */
  .units thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .units, .units tbody { display: block; }
  .units tr { display: grid; grid-template-columns: 1fr auto; gap: .15rem .75rem; align-items: start; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .units tbody tr:last-child { border-bottom: 0; }
  .units td, .units th:first-child, .units td:first-child { display: block; padding: 0; border: 0; }
  .units td.num { display: none; }
  .units td.u-name { white-space: normal; }
  .units .u-sum { display: block; font-size: .86rem; font-weight: 500; color: var(--muted); }
  .units td.u-price { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding-top: .35rem; font-weight: 700; color: var(--ink); }
  .units .u-price .more { display: inline-flex; margin: 0; }
  .units td.u-price:empty { display: none; }
  .units tbody tr:hover td { background: none; }
}

/* Enquiry card: calm, sticky beside the page when the screen is tall enough for the whole form */
.aside-card { position: relative; padding: clamp(1.4rem, 1rem + 1vw, 2rem); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-2); }
.aside-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; background: var(--gold); }
/* Sticky beside the page; when the card is taller than the screen (site.js measures it), it rests on the bottom edge so the button stays in view. */
@media (min-width: 1000px) { .detail__side .aside-card { position: sticky; top: min(calc(var(--top-h) + 1.5rem), calc(100vh - var(--card-h, 0px) - 1.5rem)); } }
.aside-card h2 { margin-bottom: .35em; font-size: 1.35rem; letter-spacing: -.015em; }
.aside-card > p { color: var(--muted); font-size: .95rem; }
.aside-card > h2 + .form { margin-top: 1.25rem; }
.aside-price { display: grid; gap: .2rem; margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.aside-price .muted { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.aside-price .v { font-size: 1.6rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quick + .quick { margin-top: .5rem; padding-top: 0; border-top: 0; }
.quick .btn { flex: 1 1 auto; }
.sticky-cta { display: none; }
@media (max-width: 999px) {
  .has-sticky-cta { padding-bottom: 76px; }
  .sticky-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: .5rem; margin: 0; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -14px rgba(29, 33, 40, .3); transition: transform var(--t2) var(--ease), visibility 0s linear 0s; animation: cta-in var(--t3) var(--ease-out) .5s backwards; }
  .sticky-cta.is-away { transform: translateY(110%); visibility: hidden; transition: transform var(--t2) var(--ease), visibility 0s linear var(--t2); }
  .sticky-cta .btn { flex: 1; min-height: 48px; padding-inline: .8rem; }
  .sticky-cta .btn--line { flex: 0 0 auto; width: 52px; padding: 0; }
}

/* ---- Forms ---- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; margin: 0; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field label .muted { font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; transition: border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease); }
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #b4a88f; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(173, 151, 110, .3); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.detail__side .field-row { grid-template-columns: 1fr; }
@media (min-width: 520px) and (max-width: 999px) { .detail__side .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin: .25rem 0 0; }
.form__actions .btn { width: 100%; }
.form__note { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.cf-turnstile { min-height: 65px; }
.notice { margin: 0; padding: 1.1rem 1.2rem; border-radius: var(--r); animation: rise var(--t3) var(--ease-out) both; }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--ok h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .25rem; color: var(--ok); }
.notice--ok p { margin: 0; }
.notice--err { background: var(--err-bg); color: var(--err); font-weight: 600; }

/* ---- Tiles, quotes, numbers, call to action ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.tile { position: relative; padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.tile h3 { margin: 0 0 .55rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.tile__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.4rem; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.tile__ic .ic { width: 24px; height: 24px; }
.tile__n { display: block; margin-bottom: 1.1rem; font-size: 2.75rem; font-weight: 200; line-height: 1; letter-spacing: -.03em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.tiles--steps .tile { padding: 1.75rem 0 0; background: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
.tiles--steps .tile::before { content: ""; position: absolute; left: 0; top: -1px; width: 3.5rem; height: 2px; background: var(--gold); }
.tile__person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.tile__person h3 { margin: 0 0 .2rem; }
.tile__avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 1rem; font-weight: 700; letter-spacing: .06em; }
.tile__role { margin: 0 !important; color: var(--gold-ink) !important; font-size: .74rem !important; font-weight: 700; line-height: 1.4 !important; letter-spacing: .1em; text-transform: uppercase; }
.split { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split--lines > * { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line-2); }
.split--lines > *::before { content: ""; position: absolute; left: 0; top: -1px; width: 3.5rem; height: 2px; background: var(--gold); }
.split--lines h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.split--lines p { margin: 0; font-size: var(--fs-md); line-height: 1.75; color: var(--text); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.quotes > li { display: flex; }
.quote { display: flex; flex-direction: column; width: 100%; margin: 0; padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.quote::before { content: "\201C"; display: block; height: 2.4rem; font-size: 4.25rem; font-weight: 300; line-height: 1; color: var(--gold); }
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; line-height: 1.7; color: var(--text); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(50%, 200px), 1fr)); list-style: none; margin: 0; padding: 0; text-align: center; }
.stats li { padding: 1.25rem 1rem; font-size: .72rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.stats .v { display: block; margin-bottom: .7rem; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; text-transform: none; color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
.stats-head { margin-bottom: var(--head-gap); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.cta > div { flex: 1 1 32rem; }
.cta h2 { max-width: 22ch; margin: 0 0 .45em; }
.cta p:not(.eyebrow) { max-width: 40rem; margin: 0; font-size: var(--fs-md); }
.sec--dark .cta p:not(.eyebrow) { color: var(--on-dark); }

/* ---- Contact ---- */
.contact-info > h2 { position: relative; margin-bottom: 1.5rem; padding-top: 1.15rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.contact-info > h2::before { content: ""; position: absolute; left: 0; top: 0; width: 2.25rem; height: 2px; background: var(--gold); }
.contact-list { display: grid; gap: 1.25rem; list-style: none; margin: 0 0 var(--s5); padding: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list li > .ic { width: 48px; height: 48px; padding: 13px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.contact-list .k { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list .v { color: var(--ink); font-weight: 650; font-size: 1.05rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-ink); text-decoration: underline; }
.small-print { margin: 1.5rem 0 0; font-size: .86rem; }
.map { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.map__ask { position: relative; display: grid; place-content: center; justify-items: center; gap: .75rem; min-height: min(60vh, 420px); padding: 3rem 1.25rem; text-align: center; isolation: isolate; }
.map__ask p { margin: 0; font-size: .85rem; color: var(--muted); }
.map iframe { display: block; width: 100%; height: min(60vh, 420px); border: 0; animation: fade var(--t3) var(--ease) both; }

/* ---- Text pages, FAQ ---- */
.prose { max-width: 46rem; font-size: var(--fs-md); line-height: 1.75; }
.prose h2 { margin: 2.1em 0 .6em; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.prose > h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.faq-layout { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: minmax(0, 46rem) minmax(0, 340px); justify-content: space-between; } .faq-aside { position: sticky; top: calc(var(--top-h) + 1.5rem); } }
.faq-aside > p.eyebrow { margin-bottom: .9rem; font-size: var(--fs-label); color: var(--gold-ink); }
.faq-aside__text { margin: 0; color: var(--text); }
.faq-aside .btn-row { margin-top: 1.25rem; }
.faq-aside .btn { flex: 1 1 100%; }
.faq-group + .faq-group { margin-top: var(--s7); }
.faq-group h2 { display: flex; align-items: center; gap: .85rem; margin: 0 0 .75rem; font-size: var(--fs-label); font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.faq-group h2::before { content: ""; flex: none; width: 2.25rem; height: 1px; background: currentColor; }
.faq details { border-bottom: 1px solid var(--line); }
.faq-group h2 + details { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 1.1rem 3.25rem 1.1rem 0; font-size: 1.08rem; font-weight: 650; line-height: 1.45; color: var(--ink); cursor: pointer; list-style: none; transition: color var(--t1) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border: 1px solid var(--line-2); border-radius: 50%; background: linear-gradient(var(--gold-ink), var(--gold-ink)) center / 12px 1.5px no-repeat; transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease); }
.faq summary::before { content: ""; position: absolute; right: 16.25px; top: 50%; width: 1.5px; height: 12px; margin-top: -6px; background: var(--gold-ink); transition: transform var(--t2) var(--ease); }
.faq summary:hover::after { border-color: var(--gold-ink); }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details > p { max-width: 44rem; margin: 0 0 1.4rem; padding-right: 3.25rem; color: var(--text); }
.faq details[open] > p { animation: drop var(--t3) var(--ease-out) both; }

/* ---- Article ---- */
.v-article .crumbs, .article-head, .article { width: min(100% - 2.5rem, 48rem); margin-inline: auto; }
.article-head h1 { max-width: none; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; font-size: .9rem; color: var(--muted); }
.article__cover { margin: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem); border-radius: var(--r); overflow: hidden; background: var(--gold-soft); box-shadow: var(--sh-2); }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.article:not(.pull) { padding-top: var(--sec-first); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 2.25rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.tags li { padding: .35rem .85rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .8rem; color: var(--muted); }

/* ---- Not found ---- */
.nf { position: relative; display: grid; align-items: center; min-height: clamp(420px, 68vh, 680px); background: var(--paper); isolation: isolate; overflow: hidden; }
.nf::after { content: ""; position: absolute; z-index: -1; top: 50%; right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); width: clamp(160px, 22vw, 300px); aspect-ratio: 453 / 470; transform: translateY(-50%); background: url("img/logo-watermark.png") no-repeat center / contain; opacity: .12; pointer-events: none; }
@media (max-width: 759px) { .nf::after { display: none; } }
.nf__in { padding-block: var(--sec); }
.nf__code { margin: 0 0 .5rem; font-size: clamp(4.5rem, 3rem + 7vw, 9rem); font-weight: 200; line-height: .9; letter-spacing: -.05em; color: var(--gold-ink); animation: rise var(--t4) var(--ease-out) both; }
.nf h1 { max-width: 18ch; }
.nf .lead { margin: 0; }

/* ---- Footer ---- */
.foot { background: var(--ink-deep); color: var(--on-dark-2); font-size: .95rem; }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem) 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.totop { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: #fff; transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.totop .ic { transition: transform var(--t2) var(--ease); }
.totop:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.totop:hover .ic { transform: translateY(-3px); }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; padding-block: 2.5rem; }
.foot__grid > :first-child, .foot__grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .foot__grid > :first-child, .foot__grid > :last-child { grid-column: auto; } }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } }
.foot h2 { margin: 0 0 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--on-dark-2); text-decoration: none; transition: color var(--t1) var(--ease); }
.foot nav a, .foot__contact a { display: inline-block; padding: .3rem 0; }
.foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.foot__about { max-width: 22rem; margin: 0 0 1.25rem; }
.foot__social { display: flex; gap: .5rem; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transition: border-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.foot__social a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.foot__contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .35rem; }
.foot__contact .ic { margin-top: .5rem; color: var(--gold); }
.foot__contact li > span { padding: .3rem 0; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; padding-block: 1.25rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; --nxd-credit-dim: .8; }
.foot__bottom p { margin: 0; }
@media (max-width: 639px) { .foot__bottom { flex-direction: column; align-items: center; text-align: center; } }

/* ---- Photo viewer: fades in, pictures slide and fade between each other ---- */
.lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 14, 18, .96); color: #fff; }
.lb::backdrop { background: rgba(12, 14, 18, .96); }
.lb[open] { display: grid; place-items: center; animation: fade var(--t2) var(--ease) both; }
.lb[open] .lb__fig { animation: lb-in var(--t3) var(--ease-out) both; }
.lb__fig { display: grid; gap: .9rem; justify-items: center; max-width: 100vw; margin: 0; }
.lb__fig img { max-width: 100vw; max-height: calc(100dvh - 6rem); width: auto; height: auto; object-fit: contain; transition: opacity .3s var(--ease), transform .45s var(--ease-out); }
.lb__fig img.is-out { opacity: 0; transform: translateX(var(--lb-dx, 0)); }
.lb__fig img.no-anim { transition: none; }
.lb__fig figcaption { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.lb__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease), border-color var(--t1) var(--ease); }
.lb__btn:hover { border-color: #fff; background: #fff; color: var(--ink); }
.lb__btn .ic { width: 24px; height: 24px; }
.lb__close { right: 1rem; top: 1rem; }
.lb__prev { left: 1rem; top: 50%; margin-top: -26px; }
.lb__next { right: 1rem; top: 50%; margin-top: -26px; }
@media (max-width: 599px) {
  .lb__prev, .lb__next { top: auto; bottom: 1rem; margin-top: 0; }
  .lb__fig img { max-height: calc(100dvh - 10rem); }
}

/* ---- Cookie message (logic in consent.js). «Απόρριψη» and «Αποδοχή» look the same on purpose. ---- */
.cookie-consent { position: fixed; z-index: 1080; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; max-width: 440px; padding: 18px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); text-align: left; overflow: hidden; }
.cookie-consent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.cookie-consent__title { margin: 0 0 4px; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--ink); letter-spacing: 0; }
.cookie-consent p { margin: 0; font-size: .85rem; line-height: 1.55; color: #555; }
.cookie-consent a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-consent__btn { min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--r); background: var(--ink); color: #fff; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background-color var(--t1) var(--ease); }
.cookie-consent__btn:hover { background: #000; }
@media (min-width: 768px) { .cookie-consent { left: 20px; right: auto; bottom: 20px; } }

/* ---- Reveal on scroll (classes added only by site.js, only below the first screen) ---- */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- Keyframes ---- */
@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes settle { from { transform: translateY(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes cta-in { from { transform: translateY(110%); } }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---- Page-to-page: the browser's own soft cross-fade, where supported ---- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media print {
  .top, .foot, .cookie-consent, .aside-card, .preview-bar, .crumbs-band, .sticky-cta, .hero__cue { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .band::after, .sec--lines::after { display: none; }
}

/* NXDPRO footer credit v1.1 (2026-10-09). Canonical copy: /home/nxdpro/brand/nxdpro-credit/
   Markup: credit.en.html / credit.el.html. No site colours: the credit inherits the
   footer's text colour. Append this file at the END of the site's stylesheet, so the
   a.nxd-credit rules win over theme rules of the same weight (".footer a{display:block}").
   Optional knobs (set on .nxd-credit or any parent):
   --nxd-credit-dim (text+logo opacity, default 1), --nxd-credit-logo-dim (default .8),
   --nxd-credit-logo (logo height, default 1.2em), --nxd-credit-accent (default #00adee),
   or add class nxd-credit--mono for no blue on hover. */
a.nxd-credit {
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  vertical-align: baseline;
  opacity: var(--nxd-credit-dim, 1);
  transition: opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
a.nxd-credit:hover,
a.nxd-credit:focus {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  box-shadow: none;
}
/* No theme "external link" icons or animated underlines on the credit. */
a.nxd-credit::before,
a.nxd-credit::after {
  content: none;
}
/* The wordmark's baseline is 27.37% up from the logo's bottom edge: the logo is moved down by
   that much so NXDPRO sits on the text baseline. The negative top margin keeps the logo's
   layout box inside the text's line box, so the credit is exactly 1em tall like a text line.
   inline-block (not block): if a theme rule ever overrides the flex display, the logo still
   stays on the text line with the same baseline. */
.nxd-credit .nxd-credit__logo {
  display: inline-block;
  flex: none;
  vertical-align: baseline;
  width: calc(var(--nxd-credit-logo, 1.2em) * 3.8787);
  height: var(--nxd-credit-logo, 1.2em);
  max-width: none;
  margin: calc(.5em - var(--nxd-credit-logo, 1.2em)) 0 0;
  padding: 0;
  position: relative;
  top: calc(var(--nxd-credit-logo, 1.2em) * .2737);
  opacity: var(--nxd-credit-logo-dim, .8);
  transition: opacity .2s ease;
}
.nxd-credit .nxd-credit__logo path {
  fill: currentColor;
  transition: fill .2s ease;
}
/* Hover only where a real hover exists: on phones a tap would leave the accent stuck on. */
@media (hover: hover) {
  .nxd-credit:hover,
  .nxd-credit:hover .nxd-credit__logo {
    opacity: 1;
  }
  .nxd-credit:hover .nx-a {
    fill: var(--nxd-credit-accent, #00adee);
  }
}
.nxd-credit:focus-visible,
.nxd-credit:focus-visible .nxd-credit__logo {
  opacity: 1;
}
.nxd-credit:focus-visible .nx-a {
  fill: var(--nxd-credit-accent, #00adee);
}
.nxd-credit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: .35em;
  border-radius: 2px;
}
.nxd-credit--mono {
  --nxd-credit-accent: currentColor;
}
/* Touch screens: 44px tall tap target; the negative margin cancels the padding, so the row does not grow. */
@media (pointer: coarse) {
  a.nxd-credit {
    padding: max(0px, calc(22px - .5em)) 0;
    margin: min(0px, calc(.5em - 22px)) 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  a.nxd-credit,
  .nxd-credit .nxd-credit__logo,
  .nxd-credit .nxd-credit__logo path {
    transition: none;
  }
}
@media (forced-colors: active) {
  .nxd-credit.nxd-credit {
    --nxd-credit-accent: currentColor;
    opacity: 1;
  }
  .nxd-credit .nxd-credit__logo {
    opacity: 1;
  }
}
