/* Archi · საახალწლო ქალაქი — site stylesheet.
   Moved out of the page unchanged from revision 17d (redesign.html, 20 November 2026) so the
   Content-Security-Policy can forbid inline styles. Sections: tokens / base / header / hero / about /
   application / form / faq / footer / dialogs / responsive.
   25 November 2026, at the user's request: the closing section and the separate steps section are removed; the
   about panel is one simple section (intro, four stat tiles, the three steps); the form stands alone, before the FAQ.
   26 November 2026, from the user's PDF: new hero heading, project text in a popup, steps in their own panel after
   the form, benefit titles only, FAQ title only.
   30 November 2026: form first; dates, deadline, FAQ icon row; the hero line and the benefits panel are removed;
   the voucher rules live in the project popup.
   Earlier stylesheets: archive/site-2026-11-*-before-*. */
@font-face { font-family: ArchiCap; src: url("../fonts/archi-caps-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: ArchiCap; src: url("../fonts/archi-caps-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: ArchiMx; src: url("../fonts/archi-text-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: ArchiMx; src: url("../fonts/archi-text-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Palette from the designer's hero (2 · Hero — ტექსტებით, 20 November 2026). */
  --ink: #152026;
  --slate: #344E5F;
  --red: #8B2724;
  --red-2: #A2312D;
  --cream: #ECEBD7;
  --cream-2: #C9CCBD;
  --cream-3: #D9DBCE;
  --paper: #F4F3EA;
  --sand: #ECEBD7;
  --white: #FDFDF8;
  --text: #45535B;
  --muted: #666E6B;
  --line: #D9D8C6;
  --sage: #436C56;
  --error: #B23A32;
  --cap: "ArchiCap", system-ui, sans-serif;
  --body: "ArchiMx", system-ui, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { position: relative; margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #344E5F; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #8B272438; color: var(--ink); }
.cap, h1, h2 { font-family: var(--cap); }
svg { flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 20px; z-index: 30; padding: 12px 18px; background: white; border-radius: 10px; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Shared pieces ---------- */
h2 { font-size: clamp(28px,2.8vw,40px); font-weight: 700; line-height: 1.32; letter-spacing: 0; margin: 0 0 22px; }
/* Section tag: a small pill with the campaign star. No rules, no numbering. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px 7px 13px; border-radius: 999px; background: var(--sand); font-size: 14px; line-height: 1.5; color: var(--ink); }
.eyebrow::before { content: ''; flex: 0 0 13px; width: 13px; height: 13px; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='m24 0 3.5 17.5L41 7l-10.5 13.5L48 24l-17.5 3.5L41 41 27.5 30.5 24 48l-3.5-17.5L7 41l10.5-13.5L0 24l17.5-3.5L7 7l13.5 10.5L24 0Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='m24 0 3.5 17.5L41 7l-10.5 13.5L48 24l-17.5 3.5L41 41 27.5 30.5 24 48l-3.5-17.5L7 41l10.5-13.5L0 24l17.5-3.5L7 7l13.5 10.5L24 0Z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* One button pattern everywhere, taken from the designer's hero: bold label plus a red arrow tile. */
.cta-arrow { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--red); color: var(--cream); transition: background .2s; }
.cta-arrow svg { width: 24px; height: 24px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.section-cta, .intro-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 58px; padding: 8px 8px 8px 24px; border-radius: 14px; text-decoration: none; font-size: 17px; font-weight: 700; line-height: 1.4; transition: background .2s, transform .2s; }
.section-cta { background: var(--ink); color: var(--cream); }
.section-cta:hover { background: var(--slate); }
.section-cta.light, .intro-cta { background: var(--cream); color: var(--ink); }
.section-cta.light:hover, .intro-cta:hover { background: #F7F6E9; }
.section-cta:hover .cta-arrow svg, .intro-cta:hover .cta-arrow svg, .header-apply:hover .cta-arrow svg { transform: translate(2px,-2px); }
.section-cta:hover .cta-arrow, .intro-cta:hover .cta-arrow, .header-apply:hover .cta-arrow { background: var(--red-2); }
.section-cta:active, .intro-cta:active, .header-apply:active { transform: translateY(1px); }
.reveal-once { animation: section-in .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes section-in { from { opacity: .35; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Header: a floating bar that stays with the visitor ---------- */
.site-header { position: sticky; top: 0; z-index: 25; padding: 12px 40px 0; pointer-events: none; }
.header-inner { pointer-events: auto; max-width: 1360px; margin: auto; padding: 8px 8px 8px 24px; display: flex; align-items: center; gap: 28px; border: 1px solid transparent; border-radius: 20px; background: var(--paper); transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-stuck .header-inner { border-color: #15202612; background: #FDFDF8E6; -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 12px 34px #15202617; }
/* archi-logo-ink.png is the original white mark recoloured to ink (same shape and alpha). A plain image, so it also
   shows when the file is opened straight from disk, where browsers block CSS masks from local files. */
.brand, .footer-brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand { margin-right: auto; }
/* 30 November 2026: the horizontal ARCHI logo (from the user's brand files) in header and footer. */
.brand img, .footer-brand img { display: block; width: 120px; height: 30px; object-fit: contain; }
.header-nav { display: flex; gap: 4px; font-size: 15px; }
.header-nav a { padding: 9px 15px; border-radius: 999px; color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.header-nav a:hover { background: #1520260D; color: var(--ink); }
.header-nav a.is-active { background: var(--sand); color: var(--ink); }
.header-apply { display: flex; align-items: center; gap: 16px; min-height: 50px; padding: 6px 6px 6px 20px; border-radius: 13px; background: var(--ink); color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 700; transition: background .2s, transform .2s; }
.header-apply:hover { background: var(--slate); }
.header-apply .cta-arrow { flex-basis: 38px; width: 38px; height: 38px; border-radius: 9px; }
.header-apply .cta-arrow svg { width: 22px; height: 22px; }
.header-tag { display: none; font-size: 13px; letter-spacing: .03em; color: var(--red); white-space: nowrap; }

/* ---------- Page: a stack of panels; surfaces divide the sections, not lines ---------- */
.page { display: flex; flex-direction: column; gap: 20px; max-width: 1440px; margin: auto; padding: 12px 40px 40px; }
.page > * { min-width: 0; }

/* ---------- Cover (first screen): the designer's four Photoshop artboards of 2 December 2026, rebuilt 1:1 ----------
   Desktop 1360 × 710, tablet 948 × 590, tablet portrait 716 × 997, phone 358 × 823 (design/designer-exports/hero-v3-2026-12-02).
   Each artboard keeps its proportions and scales with the card: every position and size below is in artboard pixels,
   times --u (one artboard pixel at the current card width). Text stays live; "საახალწლო ქალაქში" is drawn in the
   designer's 123Galio Bold, so it is an outline image (city.svg) with the words kept for screen readers. */
.cover { position: relative; isolation: isolate; container-type: inline-size; overflow: hidden; border-radius: var(--r-xl); background-color: var(--ink); background-position: 0 0; background-size: 100% 100%; background-repeat: no-repeat; color: var(--cream); }
.cover-title { position: absolute; inset: 0; display: block; margin: 0; font: 700 1em/1 var(--cap); text-shadow: none; pointer-events: none; }
.cover-lines { position: absolute; font-family: var(--cap); letter-spacing: 0; white-space: nowrap; color: var(--cream); }
.cover-lines > span { display: block; }
.cover-lines .l-invite { font-weight: 400; }
.cover-lines .l-who, .cover-lines .l-what { font-weight: 700; }
.cover-city { position: absolute; display: block; }
.cover-city img { display: block; width: 100%; height: auto; }
.cover-date { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.cover-date img { position: absolute; display: block; }
.cover-date time { position: absolute; font-family: var(--cap); font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--cream); }
.cover-cta { position: absolute; display: block; background: var(--cream); color: var(--ink); text-decoration: none; transition: background .2s, transform .2s; }
.cover-cta-label { position: absolute; font-family: var(--cap); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.cover-cta-arrow { position: absolute; background: var(--red); transition: background .2s; }
.cover-cta-arrow img { position: absolute; display: block; transition: transform .2s; }
.cover-cta:hover { background: #F7F6E9; }
.cover-cta:hover .cover-cta-arrow { background: var(--red-2); }
.cover-cta:hover .cover-cta-arrow img { transform: translate(10%, -10%); }
.cover-cta:active { transform: translateY(1px); }
.cover-photo { position: absolute; margin: 0; overflow: hidden; background: var(--slate); }
.cover-photo picture, .cover-photo img { display: block; width: 100%; height: 100%; }
.cover-photo img { object-fit: cover; }
.cover-place { position: absolute; display: block; background: var(--cream); color: var(--ink); text-decoration: none; }
.cover-place-pin { position: absolute; background: var(--red); transition: background .2s; }
.cover-place-pin img { position: absolute; display: block; }
.cover-place-text { position: absolute; font-family: var(--cap); font-weight: 400; line-height: 1.2; white-space: nowrap; }
.cover-place-text b { font-weight: 700; }
.cover-place:hover .cover-place-pin { background: var(--red-2); }
.cover a:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.cover-icons { position: absolute; inset: 0; pointer-events: none; }
.cover-icons span { position: absolute; background: var(--cream); }
.cover-icons img { position: absolute; display: block; }
/* Phone layout up to 480px; from 481px the tablet portrait artboard reads better than a stretched phone one. */
/* desktop: 1360 x 710 artboard */
.cover { --u: calc(100cqw / 1360); aspect-ratio: 1360 / 710; background-image: url("/assets/img/cover/bg-desktop.svg"); }
.cover-lines { left: calc(64.87 * var(--u)); top: calc(73.46 * var(--u)); font-size: calc(45.55 * var(--u)); line-height: calc(52.17 * var(--u)); }
.cover-city { left: calc(52 * var(--u)); top: calc(238 * var(--u)); width: calc(510.42 * var(--u)); }
.cover-date time { left: calc(108.85 * var(--u)); top: calc(369.3 * var(--u)); font-size: calc(31.22 * var(--u)); }
.cover-date img { left: calc(72 * var(--u)); top: calc(376 * var(--u)); width: calc(24 * var(--u)); height: calc(26 * var(--u)); }
.cover-cta { left: calc(70.36 * var(--u)); top: calc(433.87 * var(--u)); width: calc(259.02 * var(--u)); height: calc(58.79 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-cta-label { left: calc(9.7 * var(--u)); top: calc(17.19 * var(--u)); font-size: calc(19.38 * var(--u)); }
.cover-cta-arrow { left: calc(211.43 * var(--u)); top: calc(12.01 * var(--u)); width: calc(37.71 * var(--u)); height: calc(36.05 * var(--u)); border-radius: calc(15 * var(--u)); }
.cover-cta-arrow img { left: 21.78%; top: 25.3%; width: 53.03%; height: 55.47%; }
.cover-photo { left: calc(662 * var(--u)); top: calc(86 * var(--u)); width: calc(634 * var(--u)); height: calc(542 * var(--u)); border-radius: 3.65% 26.59% 6.35% 1.8% / 4.21% 30.64% 7.32% 2.07%; }
.cover-place { left: calc(661.4 * var(--u)); top: calc(574.68 * var(--u)); width: calc(634.32 * var(--u)); height: calc(56.2 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-place-pin { left: calc(-0.64 * var(--u)); top: calc(0 * var(--u)); width: calc(58.78 * var(--u)); height: calc(56.2 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-place-pin img { left: calc(15.24 * var(--u)); top: calc(13.31 * var(--u)); width: calc(26 * var(--u)); height: calc(33 * var(--u)); }
.cover-place-text { left: calc(69.43 * var(--u)); top: calc(12.81 * var(--u)); font-size: calc(25.84 * var(--u)); }
.cover-icons .i-lantern { left: calc(70.04 * var(--u)); top: calc(572.48 * var(--u)); width: calc(65.99 * var(--u)); height: calc(62.43 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-icons .i-lantern img { left: calc(14.96 * var(--u)); top: calc(9.52 * var(--u)); width: calc(32 * var(--u)); height: calc(41 * var(--u)); }
.cover-icons .i-gift { left: calc(152.81 * var(--u)); top: calc(572.48 * var(--u)); width: calc(65.99 * var(--u)); height: calc(62.43 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-icons .i-gift img { left: calc(14.19 * var(--u)); top: calc(11.52 * var(--u)); width: calc(41 * var(--u)); height: calc(36 * var(--u)); }
.cover-icons .i-tree { left: calc(235.19 * var(--u)); top: calc(572.55 * var(--u)); width: calc(65.99 * var(--u)); height: calc(62.43 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-icons .i-tree img { left: calc(19.81 * var(--u)); top: calc(8.45 * var(--u)); width: calc(28 * var(--u)); height: calc(41 * var(--u)); }
.cover-icons .i-bauble { left: calc(317.33 * var(--u)); top: calc(571.89 * var(--u)); width: calc(65.99 * var(--u)); height: calc(62.43 * var(--u)); border-radius: calc(20 * var(--u)); }
.cover-icons .i-bauble img { left: calc(16.67 * var(--u)); top: calc(9.11 * var(--u)); width: calc(33 * var(--u)); height: calc(41 * var(--u)); }
/* tablet: 948 x 590 artboard */
@media (max-width: 1100px) {
  .cover { --u: calc(100cqw / 948); aspect-ratio: 948 / 590; background-image: url("/assets/img/cover/bg-tablet.svg"); }
  .cover-lines { left: calc(50.23 * var(--u)); top: calc(84.42 * var(--u)); font-size: calc(34.03 * var(--u)); line-height: calc(38.99 * var(--u)); }
  .cover-city { left: calc(40.62 * var(--u)); top: calc(207.51 * var(--u)); width: calc(381.38 * var(--u)); }
  .cover-date time { left: calc(80.57 * var(--u)); top: calc(318.6 * var(--u)); font-size: calc(21.93 * var(--u)); }
  .cover-date img { left: calc(55 * var(--u)); top: calc(323 * var(--u)); width: calc(17 * var(--u)); height: calc(18 * var(--u)); }
  .cover-cta { left: calc(53.53 * var(--u)); top: calc(393.95 * var(--u)); width: calc(181.93 * var(--u)); height: calc(41.29 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-cta-label { left: calc(6.81 * var(--u)); top: calc(12.07 * var(--u)); font-size: calc(13.62 * var(--u)); }
  .cover-cta-arrow { left: calc(148.5 * var(--u)); top: calc(8.43 * var(--u)); width: calc(26.49 * var(--u)); height: calc(25.32 * var(--u)); border-radius: calc(7 * var(--u)); }
  .cover-cta-arrow img { left: 21.78%; top: 25.3%; width: 53.03%; height: 55.47%; }
  .cover-photo { left: calc(469 * var(--u)); top: calc(55 * var(--u)); width: calc(445 * var(--u)); height: calc(491 * var(--u)); border-radius: 3.65% 26.59% 6.35% 1.8% / 3.26% 23.76% 5.67% 1.61%; }
  .cover-place { left: calc(468.65 * var(--u)); top: calc(512.85 * var(--u)); width: calc(445.51 * var(--u)); height: calc(39.47 * var(--u)); border-radius: calc(8 * var(--u)); }
  .cover-place-pin { left: calc(-0.45 * var(--u)); top: calc(0 * var(--u)); width: calc(41.28 * var(--u)); height: calc(39.47 * var(--u)); border-radius: calc(8 * var(--u)); }
  .cover-place-pin img { left: calc(10.8 * var(--u)); top: calc(9.15 * var(--u)); width: calc(18 * var(--u)); height: calc(23 * var(--u)); }
  .cover-place-text { left: calc(48.76 * var(--u)); top: calc(8.99 * var(--u)); font-size: calc(18.15 * var(--u)); }
  .cover-icons .i-lantern { left: calc(57 * var(--u)); top: calc(509.42 * var(--u)); width: calc(46.34 * var(--u)); height: calc(43.54 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-lantern img { left: calc(11 * var(--u)); top: calc(6.58 * var(--u)); width: calc(22 * var(--u)); height: calc(29 * var(--u)); }
  .cover-icons .i-gift { left: calc(115.12 * var(--u)); top: calc(509.42 * var(--u)); width: calc(46.34 * var(--u)); height: calc(43.54 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-gift img { left: calc(9.88 * var(--u)); top: calc(7.58 * var(--u)); width: calc(29 * var(--u)); height: calc(25 * var(--u)); }
  .cover-icons .i-tree { left: calc(172.97 * var(--u)); top: calc(509.47 * var(--u)); width: calc(46.34 * var(--u)); height: calc(43.54 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-tree img { left: calc(14.03 * var(--u)); top: calc(5.53 * var(--u)); width: calc(20 * var(--u)); height: calc(29 * var(--u)); }
  .cover-icons .i-bauble { left: calc(230.65 * var(--u)); top: calc(509.01 * var(--u)); width: calc(46.34 * var(--u)); height: calc(43.54 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-bauble img { left: calc(12.35 * var(--u)); top: calc(5.99 * var(--u)); width: calc(23 * var(--u)); height: calc(29 * var(--u)); }
}
/* portrait: 716 x 997 artboard */
@media (max-width: 900px) {
  .cover { --u: calc(100cqw / 716); aspect-ratio: 716 / 997; background-image: url("/assets/img/cover/bg-portrait.svg"); }
  .cover-lines { left: calc(73.14 * var(--u)); top: calc(116.01 * var(--u)); font-size: calc(39.58 * var(--u)); line-height: calc(45.34 * var(--u)); }
  .cover-city { left: calc(59.82 * var(--u)); top: calc(220.48 * var(--u)); width: calc(488.17 * var(--u)); }
  .cover-date time { left: calc(111.38 * var(--u)); top: calc(837.36 * var(--u)); font-size: calc(27.14 * var(--u)); }
  .cover-date img { left: calc(79 * var(--u)); top: calc(843 * var(--u)); width: calc(21 * var(--u)); height: calc(23 * var(--u)); }
  .cover-cta { left: calc(78.01 * var(--u)); top: calc(898.01 * var(--u)); width: calc(224.98 * var(--u)); height: calc(50.98 * var(--u)); border-radius: calc(15 * var(--u)); }
  .cover-cta-label { left: calc(8.42 * var(--u)); top: calc(14.88 * var(--u)); font-size: calc(16.84 * var(--u)); }
  .cover-cta-arrow { left: calc(183.64 * var(--u)); top: calc(10.42 * var(--u)); width: calc(32.75 * var(--u)); height: calc(31.27 * var(--u)); border-radius: calc(15 * var(--u)); }
  .cover-cta-arrow img { left: 21.78%; top: 25.3%; width: 53.03%; height: 55.47%; }
  .cover-photo { left: calc(76 * var(--u)); top: calc(375 * var(--u)); width: calc(573 * var(--u)); height: calc(393 * var(--u)); border-radius: 2.94% 21.37% 5.1% 1.44% / 4.21% 30.64% 7.31% 2.07%; }
  .cover-place { left: calc(77.01 * var(--u)); top: calc(728.99 * var(--u)); width: calc(571.98 * var(--u)); height: calc(41 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-place-pin { left: calc(-0.62 * var(--u)); top: calc(0.1 * var(--u)); width: calc(42.6 * var(--u)); height: calc(40.71 * var(--u)); border-radius: calc(9 * var(--u)); }
  .cover-place-pin img { left: calc(10.61 * var(--u)); top: calc(9.91 * var(--u)); width: calc(19 * var(--u)); height: calc(24 * var(--u)); }
  .cover-place-text { left: calc(53.16 * var(--u)); top: calc(6.08 * var(--u)); font-size: calc(23.01 * var(--u)); }
  .cover-icons .i-lantern { left: calc(378.8 * var(--u)); top: calc(896.57 * var(--u)); width: calc(57.37 * var(--u)); height: calc(54.31 * var(--u)); border-radius: calc(15 * var(--u)); }
  .cover-icons .i-lantern img { left: calc(13.2 * var(--u)); top: calc(7.43 * var(--u)); width: calc(28 * var(--u)); height: calc(36 * var(--u)); }
  .cover-icons .i-gift { left: calc(450.76 * var(--u)); top: calc(896.57 * var(--u)); width: calc(57.37 * var(--u)); height: calc(54.31 * var(--u)); border-radius: calc(15 * var(--u)); }
  .cover-icons .i-gift img { left: calc(12.24 * var(--u)); top: calc(9.43 * var(--u)); width: calc(36 * var(--u)); height: calc(31 * var(--u)); }
  .cover-icons .i-tree { left: calc(522.38 * var(--u)); top: calc(896.64 * var(--u)); width: calc(57.37 * var(--u)); height: calc(54.31 * var(--u)); border-radius: calc(15 * var(--u)); }
  .cover-icons .i-tree img { left: calc(17.62 * var(--u)); top: calc(6.36 * var(--u)); width: calc(24 * var(--u)); height: calc(36 * var(--u)); }
  .cover-icons .i-bauble { left: calc(593.79 * var(--u)); top: calc(896.06 * var(--u)); width: calc(57.37 * var(--u)); height: calc(54.31 * var(--u)); border-radius: calc(15 * var(--u)); }
  .cover-icons .i-bauble img { left: calc(14.21 * var(--u)); top: calc(6.94 * var(--u)); width: calc(29 * var(--u)); height: calc(36 * var(--u)); }
}
/* phone: 358 x 823 artboard */
@media (max-width: 480px) {
  .cover { --u: calc(100cqw / 358); aspect-ratio: 358 / 823; background-image: url("/assets/img/cover/bg-phone.svg"); }
  .cover-lines { left: calc(28.74 * var(--u)); top: calc(63.98 * var(--u)); font-size: calc(30.65 * var(--u)); line-height: calc(35.11 * var(--u)); }
  .cover-city { left: calc(21.01 * var(--u)); top: calc(178.1 * var(--u)); width: calc(285.17 * var(--u)); }
  .cover-date time { left: calc(55.27 * var(--u)); top: calc(257.71 * var(--u)); font-size: calc(18.6 * var(--u)); }
  .cover-date img { left: calc(33 * var(--u)); top: calc(262 * var(--u)); width: calc(15 * var(--u)); height: calc(16 * var(--u)); }
  .cover-cta { left: calc(31.62 * var(--u)); top: calc(302.77 * var(--u)); width: calc(131.3 * var(--u)); height: calc(29.78 * var(--u)); border-radius: calc(8 * var(--u)); }
  .cover-cta-label { left: calc(4.91 * var(--u)); top: calc(8.7 * var(--u)); font-size: calc(9.83 * var(--u)); }
  .cover-cta-arrow { left: calc(107.18 * var(--u)); top: calc(6.08 * var(--u)); width: calc(19.11 * var(--u)); height: calc(18.27 * var(--u)); border-radius: calc(4 * var(--u)); }
  .cover-cta-arrow img { left: 21.78%; top: 25.3%; width: 53.03%; height: 55.47%; }
  .cover-photo { left: calc(31 * var(--u)); top: calc(356 * var(--u)); width: calc(293 * var(--u)); height: calc(335 * var(--u)); border-radius: 3.01% 21.94% 5.24% 1.48% / 2.59% 18.87% 4.51% 1.28%; }
  .cover-place { left: calc(32 * var(--u)); top: calc(670.99 * var(--u)); width: calc(293.01 * var(--u)); height: calc(21 * var(--u)); border-radius: calc(6 * var(--u)); }
  .cover-place-pin { left: calc(-0.98 * var(--u)); top: calc(0.02 * var(--u)); width: calc(21.99 * var(--u)); height: calc(21.97 * var(--u)); border-radius: calc(6 * var(--u)); }
  .cover-place-pin img { left: calc(5.99 * var(--u)); top: calc(4.99 * var(--u)); width: calc(10 * var(--u)); height: calc(13 * var(--u)); }
  .cover-place-text { left: calc(27.64 * var(--u)); top: calc(3.03 * var(--u)); font-size: calc(12.05 * var(--u)); }
  .cover-icons .i-lantern { left: calc(48 * var(--u)); top: calc(720.99 * var(--u)); width: calc(54.08 * var(--u)); height: calc(51.45 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-lantern img { left: calc(13 * var(--u)); top: calc(7.01 * var(--u)); width: calc(27 * var(--u)); height: calc(35 * var(--u)); }
  .cover-icons .i-gift { left: calc(115.84 * var(--u)); top: calc(720.99 * var(--u)); width: calc(54.08 * var(--u)); height: calc(51.45 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-gift img { left: calc(12.16 * var(--u)); top: calc(10.01 * var(--u)); width: calc(35 * var(--u)); height: calc(28 * var(--u)); }
  .cover-icons .i-tree { left: calc(185.62 * var(--u)); top: calc(721.55 * var(--u)); width: calc(54.08 * var(--u)); height: calc(51.45 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-tree img { left: calc(16.38 * var(--u)); top: calc(6.45 * var(--u)); width: calc(24 * var(--u)); height: calc(35 * var(--u)); }
  .cover-icons .i-bauble { left: calc(252.93 * var(--u)); top: calc(721 * var(--u)); width: calc(54.08 * var(--u)); height: calc(51.45 * var(--u)); border-radius: calc(10 * var(--u)); }
  .cover-icons .i-bauble img { left: calc(13.07 * var(--u)); top: calc(7 * var(--u)); width: calc(27 * var(--u)); height: calc(35 * var(--u)); }
}

/* Tablet portrait sets the first two heading words on one line: "არქი იწვევს სოციალურ" / "საწარმოებს". */
@media (min-width: 481px) and (max-width: 900px) {
  .cover-lines .l-invite, .cover-lines .l-who { display: inline; }
}
/* On phones the drawn button (30px) and address bar (21px) are small: an invisible margin makes each at least 44px tall to tap,
   without changing how they look. */
@media (max-width: 480px) {
  .cover-cta::after, .cover-place::after { content: ""; position: absolute; inset: -8px -4px; }
  .cover-place::after { inset: -12px -2px; }
}
/* ---------- 404 card (the earlier hero pattern, kept for public/404.html) ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,47.2%); grid-template-rows: auto auto 1fr; min-height: clamp(540px, calc(100vh - 190px), 717px); padding: 29px 40px; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: var(--cream); }
.hero-ornament { position: absolute; z-index: -1; top: -46px; left: -15.07%; width: 84.26%; max-width: none; height: auto; opacity: .3; pointer-events: none; }
.hero-body { grid-area: 1 / 1 / 2 / 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; padding: 17px 16px 0 20px; }
.kick { display: flex; align-items: stretch; min-height: 32px; margin: 0; font: 700 14px/1.2 var(--cap); letter-spacing: .02em; color: var(--cream); }
.kick span { display: flex; align-items: center; padding: 4px 14px; border-radius: 9px 0 0 9px; background: var(--slate); }
.kick .year { padding: 4px 12px; border-radius: 0 9px 9px 0; background: var(--red); }
/* Heavier than the bold cut, as drawn: a hairline text-shadow thickens the strokes. */
h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; font: 700 clamp(34px,4.03vw,58px)/1.12 var(--cap); letter-spacing: 0; color: var(--cream); text-shadow: .013em 0, -.013em 0, 0 .013em, 0 -.013em, .009em .009em, -.009em .009em, .009em -.009em, -.009em -.009em; }
h1 .hl { margin-left: -20px; padding: 2px 22px 7px 20px; border-radius: 14px; background: var(--red); line-height: 1; }
.hero a:focus-visible { outline-color: var(--cream); }

/* ---------- About: one white panel — heading with the 70-entrepreneur figure | the approved text, then the three step cards ---------- */
.about { padding: 72px 64px 64px; border-radius: var(--r-xl); background: var(--white); }
.about-intro { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.about-head { min-width: 0; padding-right: 32px; container-type: inline-size; }
.about-head h2 { margin: 0; }
/* The lede starts level with the heading (eyebrow 35px + 22px margin above it). */
/* A comfortable reading measure (about 70 characters); paragraphs spaced, no boxes. */
.about-text { grid-column: 2 / -1; min-width: 0; max-width: 700px; padding-top: 57px; }
.about-text p { margin: 0 0 18px; font-size: 17px; line-height: 1.9; color: var(--text); }
.about-text p:last-child { margin-bottom: 0; }
.about-text .about-lede { margin-bottom: 20px; font-size: 22px; line-height: 1.6; color: var(--ink); }
.about-text h3 { margin: 36px 0 12px; font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--ink); }
/* 26 November 2026: the right column opens with the eligibility heading; the project text lives in a popup. */
.about-text h3:first-child { margin-top: 0; }
/* 30 November 2026: the project button and three rule buttons in a 2 × 2 grid of equal tiles (one column when the
   text column is narrower than two 280px tiles). Labels wrap to two balanced lines inside the tiles. */
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about-links .about-more > span:first-child { text-wrap: balance; }
.about-more .label-narrow { display: none; }
.section-cta.soft { border: 0; background: var(--sand); color: var(--ink); font-family: inherit; text-align: left; cursor: pointer; }
.section-cta.soft:hover { background: #E3E2CB; }
.section-cta.soft .cta-arrow svg { transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.section-cta.soft:hover .cta-arrow svg { transform: rotate(90deg); }
/* Two figures under the heading (2 December 2026): 70 entrepreneurs and 5000+ Archi residents. Equal tiles,
   stacked in the narrow desktop column and on phones, side by side when the section is one column (640–900px). */
.about-stats { display: inline-grid; grid-template-columns: minmax(0,1fr); gap: 12px; max-width: 100%; margin-top: 36px; }
.about-stat { display: flex; margin: 0; padding: 21px 26px 25px; border-radius: 22px; background: var(--sand); }
.about-stat b { font: 700 46px/1 var(--cap); color: var(--ink); white-space: nowrap; text-shadow: .4px 0, -.4px 0, 0 .4px, 0 -.4px; }
.about-stat small { margin-left: 8px; font: 700 22px/1 var(--cap); color: var(--red); }
/* In the narrow desktop column (901px and up) and on small phones the figures shrink with the column so
   the longer figure ("10 000 სტუმარი" since 2 December 2026; 6.18em wide with its label, 6.28em on phones)
   stays inside its tile with the full side padding; at 1440px they are the full 46px, on most phones 38px. */
@media (min-width: 901px) {
  .about-stat b { font-size: min(46px, calc((100cqi - 52px) * .161)); }
  .about-stat small { margin-left: .364em; font-size: .478em; }
}
/* ---------- Process: "როგორ შეირჩევიან მონაწილეები?" — its own white panel after the form (26 November 2026).
   The original three step cards: ink first card with the register button, outlined red numerals, icon tiles,
   red arrow chips. ---------- */
.process { padding: 64px; border-radius: var(--r-xl); background: var(--white); }
.process h2 { margin: 0 0 30px; }
.steps3 { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; }
.steps3 li { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 28px 28px; border-radius: 22px; background: var(--paper); }
.steps3 .num { display: block; margin: 0 0 18px -1px; font: 700 64px/.9 var(--cap); color: transparent; -webkit-text-stroke: 1.3px var(--red); }
.steps3 h3 { margin: 0 0 8px; font: 700 21px/1.35 var(--cap); }
.steps3 li > p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.steps3 .is-first { background: var(--ink); color: var(--cream); }
.steps3 .is-first .num { color: var(--cream); -webkit-text-stroke: 0; }
.steps3 .is-first > p { color: var(--cream-2); }
.step-foot { margin-top: auto; padding-top: 22px; }
.step-foot .section-cta { width: 100%; }
/* Side by side, the cards share their rows, so every line starts level even when a title takes two lines. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .steps3 li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .steps3 li > h3, .steps3 .step-foot { align-self: end; }
  }
}
.step-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--white); color: var(--red); }
.step-icon svg { width: 24px; height: 24px; }
.step-link { position: absolute; z-index: 2; top: 50%; right: -23px; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--red); color: var(--cream); box-shadow: 0 6px 18px #8B272440; }
.step-link svg { width: 16px; height: 16px; }




/* ---------- Application: eligibility + form ---------- */
.application-layout { position: relative; display: grid; grid-template-columns: minmax(0,600px); justify-content: center; align-items: start; gap: 64px; padding: 56px; border-radius: var(--r-xl); background: var(--sand); }
.application-entry { display: none; }

/* ---------- Form card ---------- */
.card { min-width: 0; padding: 14px; border: 1px solid #DFDECB; border-radius: 26px; background: var(--white); box-shadow: 0 14px 40px #1520260D; scroll-margin-top: 104px; }
.cta-arrival { animation: application-arrival 1.3s ease-out; }
@keyframes application-arrival { 0%, 35% { box-shadow: 0 0 0 5px #8B272480, 0 16px 35px #15202614; } 100% { box-shadow: 0 14px 40px #1520260D; } }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--ink); color: var(--cream); }
.card-h h2 { margin: 0; font-size: 26px; line-height: 1.45; }
/* The submission deadline under the form title was removed on 2 December 2026 (team request). */
.stage-ring { position: relative; display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: var(--cream); }
.stage-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3.5; }
.ring-track { stroke: #ECEBD740; }
.ring-value { stroke: var(--cream); stroke-linecap: round; stroke-dasharray: 33.333 100; transition: stroke-dasharray .25s ease; }
.stage-ring > span { display: flex; align-items: baseline; gap: 2px; font-family: var(--body); }
.stage-ring b { font-weight: 400; font-size: 21px; }
.stage-ring small { font-size: 14px; color: var(--cream-3); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 16px 10px 24px; padding: 5px; border-radius: 17px; background: #F1F0E5; }
.steps button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 49px; padding: 8px 6px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-size: 14px; white-space: nowrap; }
.steps button[aria-current="step"] { background: white; color: var(--ink); box-shadow: 0 2px 7px #1520260F; }
.step-dot { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 25px; height: 25px; border-radius: 50%; background: #E4E3D3; color: #6A716F; font: 14px/1 var(--body); }
.steps [aria-current="step"] .step-dot { background: var(--ink); color: var(--cream); }
.steps .complete .step-dot { background: #DDE9D9; color: var(--sage); }
/* 2 December 2026: longer step names ("საკონტაქტო ინფორმაცია" …) wrap to two balanced lines inside the tab. */
.steps .step-name { min-width: 0; white-space: normal; text-align: left; line-height: 1.25; text-wrap: balance; }
.pane-intro, .pane, .form-alert { margin-left: 16px; margin-right: 16px; }
.pane-intro { margin-bottom: 18px; }
.pane-intro h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.5; }
.pane-intro p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.pane { display: none; }
.pane.on { display: block; }
.f { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin-bottom: 18px; }
.f label, .lg { font-size: 15px; line-height: 1.65; }
.req { color: var(--ink); }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.f input, .f textarea { width: 100%; min-height: 54px; padding: 13px 14px; border: 1px solid #E2E1CF; border-radius: 16px; background: #F6F5EC; color: var(--ink); font: 16px/1.5 var(--body); transition: border-color .15s, background .15s; }
.f textarea { min-height: 116px; padding: 16px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: #6A716F; font-size: 15px; }
.f input:hover, .f textarea:hover { border-color: #B5B49F; }
.f input:focus, .f textarea:focus { border-color: var(--ink); background: white; outline: 3px solid #15202614; outline-offset: 0; }
.row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.pre { position: relative; width: 100%; min-width: 0; }
.pre span { position: absolute; top: 50%; left: 3px; transform: translateY(-50%); padding-right: 9px; border-right: 1px solid var(--line); font-size: 14px; }
.e { display: none; color: var(--error); font-size: 14px; line-height: 1.6; }
.f.err input, .f.err textarea { border-color: var(--error); }
.f.err > .e, .f.err .field-meta .e, .blk.err > .e { display: block; }
.field-meta { display: flex; justify-content: space-between; gap: 10px; }
.cnt { margin-left: auto; font-size: 13px; color: var(--muted); }
.blk { margin-bottom: 20px; }
.field-hint { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
/* Contact step: label and value share one soft field. */
.contact-pane .f { position: relative; gap: 3px; min-height: 79px; margin-bottom: 12px; padding: 12px 16px 5px; border: 1px solid #E8E7D8; border-radius: 16px; background: #F6F5EC; transition: border-color .15s, background .15s, box-shadow .15s; }
.contact-pane .f > label { font-size: 14px; line-height: 1.5; color: #45535B; }
.contact-pane .f input { min-width: 0; min-height: 37px; padding: 4px 0 8px; border: 0; border-radius: 0; background: transparent; font-size: 17px; line-height: 1.5; }
.contact-pane .f input::placeholder { font-size: 16px; color: #69736F; }
.contact-pane .f input:focus { outline: 0; background: transparent; }
.contact-pane .f:focus-within { border-color: var(--ink); background: white; box-shadow: 0 0 0 3px #15202612; }
.contact-pane .f.err { border-color: var(--error); background: #FFF9F7; }
.contact-pane .f > .e { padding: 0 0 8px; }
.contact-pane .f.valid::after { content: '✓'; position: absolute; top: 35px; right: 14px; color: #4A8070; font-size: 16px; pointer-events: none; }
.contact-pane .f.valid input { padding-right: 25px; }
.contact-pane .row { gap: 12px; }
.contact-pane .pre input { padding-left: 58px; }
/* Product step */
.chips { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.chip { position: relative; display: flex; align-items: center; gap: 11px; min-height: 80px; padding: 14px 32px 14px 13px; border: 1px solid #E2E1CF; border-radius: 18px; background: white; color: var(--ink); text-align: left; font-size: 15px; transition: border-color .15s, background .15s; }
.chip::before { content: ''; position: absolute; top: 14px; right: 13px; width: 14px; height: 14px; border: 1px solid #B9B8A3; border-radius: 50%; }
.chip:hover { border-color: #7F919B; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: #F2F1E3; box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"]::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px white; }
.category-icon { flex-shrink: 0; width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--sand); color: var(--ink); }
/* 2 December 2026: with "ხელნაკეთი" removed there are six categories, three rows of two; "სხვა" is no
   longer a full-width last row. */
.product-story { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.upload-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.upload-heading .lg { font-size: 18px; }
.photo-tally { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 3px solid #E0DFCD; border-radius: 50%; color: var(--muted); font-size: 14px; }
.photo-tally.ready { border-color: #6C9675; background: #ECF4E8; color: #3B6346; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; min-height: 236px; margin-top: 12px; padding: 26px 18px; border: 1px dashed #C1BFA4; border-radius: 24px; background: #F6F5EC; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--ink); background: #EEEDDF; }
.drop:focus-within { outline: 3px solid #15202626; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-art { display: block; height: 90px; }
.drop b { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 11px 16px; border: 1px solid #D6D5C0; border-radius: 12px; background: white; color: var(--ink); font-size: 16px; font-weight: 400; }
.drop b > span { font: 22px/1 system-ui; }
.drop-copy { display: block; margin: 9px 0 0; font-size: 13px; color: var(--text); }
.drop small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.drop.has-photos { flex-direction: row; min-height: 126px; padding: 18px 14px; }
.drop.has-photos .upload-art { display: none; }
/* Five photos chosen: the picker rests until one is removed. */
.drop.is-full, .drop.is-full input { cursor: default; }
.drop.is-full:hover { border-color: #C1BFA4; background: #F6F5EC; }
.drop.is-full b { opacity: .45; }
.photo-guide { display: flex; gap: 8px; margin-top: 12px; }
.photo-guide > span { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 10px; border-radius: 10px; background: #EEEDE1; color: #7B7F78; font: 12px/1 var(--body); }
.photo-guide i { font-style: normal; opacity: .25; }
.photo-guide .filled { background: #E3EDDD; color: #426944; }
.photo-guide .filled i { opacity: 1; }
.thumbs { display: grid; gap: 9px; margin-top: 14px; }
.thumbs:empty { display: none; }
.th { position: relative; display: flex; align-items: center; gap: 13px; padding: 10px 55px 10px 10px; border: 1px solid #E2E1CF; border-radius: 17px; background: white; }
.th img { flex-shrink: 0; width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.th button { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #F4F3EA; color: #5C6866; }
.th button:hover { background: #E8E7D8; color: var(--ink); }
.file-meta { min-width: 0; }
.file-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.file-meta small { display: block; margin-top: 3px; font-size: 13px; color: #647A71; }
.badge { display: inline; padding-left: 7px; font-size: 12px; color: #426F60; }
.count { margin-top: 8px; font-size: 14px; color: var(--muted); }
.count b { font-weight: 400; color: var(--ink); }
/* Review step */
.review { display: grid; gap: 10px; }
.rv-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid #E2E1CF; border-radius: 18px; background: #F9F8F1; }
.rv-row > div { min-width: 0; }
.rv-row small { display: block; margin-bottom: 3px; font-size: 13px; color: var(--muted); }
.rv-row p { margin: 0; font-size: 15px; overflow-wrap: anywhere; white-space: pre-line; }
.rv-row button { min-height: 44px; padding: 4px 0; border: 0; background: none; color: var(--ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rv-th { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rv-th img { width: 56px; height: 56px; border-radius: 13px; object-fit: cover; }
.ck { display: flex; align-items: flex-start; gap: 13px; margin: 10px 0; padding: 16px; border: 1px solid #E2E1CF; border-radius: 18px; background: #F9F8F1; font-size: 15px; line-height: 1.75; cursor: pointer; }
.ck input { flex-shrink: 0; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--ink); }
.ck:has(input:checked) { border-color: #C5D5BD; background: #EEF3EA; }
.form-alert { margin-top: 20px; margin-bottom: 0; padding: 12px 14px; border-radius: 14px; background: #F6E4E0; font-size: 14px; line-height: 1.55; color: var(--error); }
.form-footer { position: relative; margin: 24px 10px 0; padding: 14px; border-radius: 20px; background: #F4F3EA; }
.act { display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 14px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 17px; text-decoration: none; transition: background .2s, transform .2s; }
.btn-p { flex: 1; background: var(--ink); color: var(--cream); }
.btn-p:hover { background: var(--slate); }
.btn-s { border-color: var(--line); background: white; color: var(--text); }
.btn-s:hover { background: var(--paper); }
.btn:active, .sheet-close:active, .dock-button:active { transform: scale(.98); }
.saved { position: absolute; top: -13px; right: 18px; display: block; margin: 0; padding: 2px 10px; border: 2px solid var(--white); border-radius: 9px; background: #EAF1E6; color: var(--sage); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.saved.on { opacity: 1; }

/* The visitor's line gets the hero's red highlight block. */

/* ---------- FAQ: cards that open smoothly, with a turning plus ---------- */
.faq { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; gap: 64px; padding: 60px 64px 68px; }
.faq-head { position: sticky; top: 112px; }
/* 26 November 2026: the title alone ("ხშირად დასმული კითხვები"), level with the first question. */
.faq h2 { max-width: 420px; margin: 0; padding-top: 14px; }
/* 30 November 2026: in the footer, one row of tiles: the phone (red) first, then Archi's Instagram, LinkedIn,
   YouTube and Facebook (white). The number appears above the phone tile on hover or keyboard focus; a tap on a
   phone calls it. */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials a { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--white); color: var(--ink); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.socials a:hover { background: var(--red); color: var(--cream); transform: translateY(-2px); box-shadow: 0 10px 24px #8B272429; }
.socials a:active { transform: none; }
.socials svg { width: 21px; height: 21px; }
.socials .call { background: var(--red); color: var(--cream); }
.socials .call:hover { background: var(--red-2); }
.call-number { position: absolute; bottom: calc(100% + 12px); left: 0; z-index: 2; padding: 9px 14px; border-radius: 11px; background: var(--ink); color: var(--cream); font: 700 16px/1.2 var(--cap); letter-spacing: .01em; white-space: nowrap; box-shadow: 0 12px 30px #15202633; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1); }
.call-number::after { content: ''; position: absolute; top: 100%; left: 17px; border: 6px solid transparent; border-top-color: var(--ink); }
.socials .call:hover .call-number, .socials .call:focus-visible .call-number { opacity: 1; transform: none; }
.fq { display: grid; gap: 12px; }
.fq details { border-radius: 22px; background: var(--white); transition: box-shadow .35s; }
.fq details:hover { box-shadow: 0 10px 28px #1520260D; }
.fq details.is-open, html:not(.js-faq) .fq details[open] { box-shadow: 0 16px 38px #15202612; }
.fq summary { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 20px 22px 20px 30px; border-radius: 22px; list-style: none; cursor: pointer; font-size: 19px; line-height: 1.5; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary:focus-visible { outline-offset: -3px; }
.fq-icon { position: relative; flex: 0 0 46px; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; background: var(--sand); transition: background .3s, transform .5s cubic-bezier(.3,1.3,.5,1); }
.fq-icon::before, .fq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--ink); transition: transform .4s cubic-bezier(.3,1.3,.5,1), background .3s; }
.fq-icon::after { transform: rotate(90deg); }
.fq summary:hover .fq-icon { background: #DCDAC3; }
.fq details.is-open .fq-icon, html:not(.js-faq) .fq details[open] .fq-icon { background: var(--red); transform: rotate(180deg); }
.fq details.is-open .fq-icon::before, .fq details.is-open .fq-icon::after, html:not(.js-faq) .fq details[open] .fq-icon::before, html:not(.js-faq) .fq details[open] .fq-icon::after { background: var(--cream); }
.fq details.is-open .fq-icon::after, html:not(.js-faq) .fq details[open] .fq-icon::after { transform: rotate(0deg); }
.fa { display: grid; grid-template-rows: 1fr; }
.fa > div { min-height: 0; overflow: hidden; }
.fa p { max-width: 640px; margin: 0; padding: 0 90px 28px 30px; font-size: 16px; line-height: 1.8; color: var(--text); }
/* 30 November 2026: the selection rules as one answer: numbered headings, red square bullets. */
.fa-rich { max-width: 680px; padding: 0 56px 28px 30px; }
.fa .fa-rich p { max-width: none; margin: 0 0 14px; padding: 0; }
.fa .fa-rich p:last-child { margin-bottom: 0; }
.fa-rich h3 { margin: 22px 0 10px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.fa-rich h3 span { color: var(--red); }
.fa-rich h3:first-child { margin-top: 0; }
.fa-rich ul, .fa-rich ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fa-rich ol { counter-reset: step; }
.fa-rich ol > li { counter-increment: step; }
.fa-rich li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.fa-rich li::before { content: ''; position: absolute; top: .7em; left: 3px; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.js-faq .fa { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.js-faq details.is-open .fa { grid-template-rows: 1fr; opacity: 1; }

/* ---------- Footer ---------- */
.footer-wrap { max-width: 1440px; margin: auto; padding: 0 40px; }
.ftn { display: grid; gap: 22px; padding: 18px 24px 36px; }
.ftn-top, .ftn-bottom { display: flex; align-items: center; gap: 28px; }
.ftn-top .socials { margin-left: auto; }
.ftn-bottom { padding-top: 4px; }
.ftn .copy { margin: 0 auto 0 0; font-size: 13px; color: var(--muted); }
.ftn-links { display: flex; align-items: center; gap: 28px; }
/* 30 November 2026: the horizontal ARCHI logo, then the event name. */
.footer-name { margin: 0; font: 700 15px/1.3 var(--cap); letter-spacing: .01em; color: var(--ink); }
.ftn-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--text); text-decoration: none; }
.ftn-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.ftn-links svg { width: 16px; height: 16px; }

/* ---------- Mobile form dock, sheet and confirmation ---------- */
.apply-dock { display: none; }
.application-dialog { padding: 0; border: 1px solid #D9DACD; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 24px 80px #0B121630; }
.application-dialog::backdrop { background: #101A1FB3; }
.sheet-header { display: flex; align-items: center; gap: 12px; margin: 8px 8px 0; padding: 13px 14px; border-radius: 22px; background: var(--ink); color: var(--cream); }
.sheet-header .stage-ring { flex-basis: 52px; width: 52px; height: 52px; }
.sheet-header .stage-ring b { font-size: 19px; }
.sheet-heading { flex: 1; min-width: 0; }
.sheet-heading h2 { margin: 0; font-size: 20px; line-height: 1.45; letter-spacing: 0; }
.sheet-heading p { margin: 2px 0 0; font-size: 12px; color: var(--cream-2); }
.sheet-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: #ECEBD71F; color: var(--cream); }
.sheet-close svg { width: 22px; height: 22px; }
.sheet-close:hover { background: #ECEBD733; }
.confirmation-dialog { width: min(520px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 38px 30px; border: 1px solid #DDDCCA; border-radius: 28px; background: #FBFAF4; color: var(--ink); box-shadow: 0 30px 100px #15202633; }
.confirmation-dialog::backdrop { background: #15202688; backdrop-filter: blur(5px); }
.ok { text-align: center; }
.confirmation-dialog .seal { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 24px; background: #E5EDE1; color: var(--sage); }
.confirmation-dialog .ok h3 { margin-bottom: 18px; font-size: 28px; line-height: 1.4; }
.confirmation-dialog .ok p { font-size: 17px; line-height: 1.85; color: var(--text); }
.confirmation-dialog .btn { width: 100%; margin-top: 18px; }
html:has(.confirmation-dialog[open]) { overflow: hidden; }
/* Project popup ("გაიგე მეტი პროექტის შესახებ"): the approved project text, word for word. The dialog itself has
   no padding, so a click on it (not on .about-sheet) is a click on the backdrop and closes it. */
.about-dialog { width: min(680px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #DDDCCA; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 30px 100px #15202633; overflow-y: auto; overscroll-behavior: contain; }
.about-dialog::backdrop { background: #15202688; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.about-dialog[open] { animation: about-in .4s cubic-bezier(.2,.7,.2,1); }
.about-dialog[open]::backdrop { animation: backdrop-in .3s ease; }
@keyframes about-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.about-sheet { padding: 0 40px 40px; }
/* The title row stays in view while a long text scrolls on small screens. */
.about-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; padding: 32px 0 16px; background: var(--white); }
.about-sheet-head::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; background: linear-gradient(var(--white), #FDFDF800); pointer-events: none; }
.about-sheet-head h2 { margin: 0; font-size: clamp(24px,2.4vw,32px); line-height: 1.35; }
.dialog-close { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 14px; background: var(--sand); color: var(--ink); transition: background .2s; }
.dialog-close:hover { background: #E3E2CB; }
.dialog-close:active { transform: scale(.96); }
.dialog-close svg { width: 22px; height: 22px; }
.about-sheet p { margin: 0 0 18px; font-size: 17px; line-height: 1.9; color: var(--text); }
.about-sheet p:last-child { margin-bottom: 0; }
.about-sheet .about-lede { margin-bottom: 20px; font-size: 21px; line-height: 1.6; color: var(--ink); }
html:has(.about-dialog[open]) { overflow: hidden; }
/* Rule popups (30 November 2026): the user's three documents, word for word. Numbered headings, red square bullets. */
/* 30 November 2026: the voucher rules follow the project text in the same popup. */
.about-sheet .doc-title { margin: 34px 0 16px; padding: 16px 20px; border-radius: 16px; background: var(--sand); font: 700 21px/1.4 var(--cap); color: var(--ink); }
.about-sheet h4 { margin: 26px 0 12px; font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.about-sheet h4 span { color: var(--red); }
.about-sheet ul, .about-sheet ol { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.about-sheet ul:last-child, .about-sheet ol:last-child { margin-bottom: 0; }
.about-sheet ol { counter-reset: step; }
.about-sheet li { position: relative; padding-left: 24px; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.about-sheet li::before { content: ''; position: absolute; top: .72em; left: 4px; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
/* Numbered steps: red figures in place of the square bullets. */
.about-sheet ol > li { counter-increment: step; }
.about-sheet ol > li::before, .fa-rich ol > li::before { content: counter(step) '.'; top: 0; left: 1px; width: auto; height: auto; border-radius: 0; background: none; font-weight: 700; color: var(--red); }
.about-sheet .doc-note { margin: 24px 0 20px; padding: 16px 20px; border-radius: 16px; background: var(--sand); font-size: 16.5px; line-height: 1.7; color: var(--ink); }

/* ---------- Compact desktop ---------- */
@media (max-height: 820px) and (min-width: 1101px) {
  .hero { padding-top: 24px; padding-bottom: 24px; }
  .hero-body { gap: 16px; padding-top: 10px; }
  h1 { font-size: clamp(34px,3.6vw,52px); }
}
@media (max-width: 1279px) {
  .steps3 li { padding: 24px 24px 26px; }
  .steps3 .num { font-size: 56px; }
  .about { padding: 56px 44px 44px; }
  .process { padding: 56px 44px 44px; }
  .about-head { padding-right: 16px; }
  .page { padding-left: 26px; padding-right: 26px; }
  .site-header { padding-left: 26px; padding-right: 26px; }
  .application-layout { padding: 40px; }
  .steps button { font-size: 13px; }
  .contact-pane .row { display: contents; }
  .chip { flex-direction: column; align-items: flex-start; gap: 9px; }
  .faq { gap: 44px; padding: 52px 44px 60px; }
  .footer-wrap { padding: 0 26px; }
}

/* ---------- Tablet: the form lives in a sheet ---------- */
@media (max-width: 1100px) {
  .process { padding: 48px 36px 36px; }
  .steps3 .num { font-size: 52px; }
  .steps3 h3 { font-size: 19px; }
  .step-foot .section-cta { gap: 10px; padding-left: 16px; font-size: 15px; }
  .about { padding: 48px 36px 36px; }
  .about-text .about-lede { font-size: 20px; }
  body.has-mobile-form { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .has-mobile-form .header-apply { display: none; }
  .header-inner { max-width: 948px; padding-right: 14px; }
  .page { max-width: 1000px; }
  .footer-wrap { max-width: 1000px; }
  /* 404 card, tablet. */
  .hero { grid-template-columns: minmax(0,1fr) minmax(0,40%); grid-template-rows: auto auto; min-height: 0; padding: 32px; }
  .hero-ornament { top: -36px; left: -150px; width: 900px; }
  .hero-body { gap: 18px; padding: 4px 14px 0 14px; }
  h1 { font-size: clamp(32px,4.2vw,46px); }
  h1 .hl { margin-left: -14px; padding: 2px 16px 6px 14px; border-radius: 12px; }
  .application-layout { grid-template-columns: minmax(0,560px); padding: 34px; }
  .has-mobile-form .application-entry { display: block; padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); }
  .application-entry h2 { margin: 0 0 22px; font-size: 24px; line-height: 1.45; }
  .entry-steps { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
  .entry-steps li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
  .entry-steps svg { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--cream); color: var(--red); }
  .application-layout > .card { grid-column: 1 / -1; }
  .faq { gap: 32px; padding: 44px 20px 52px; }
  .faq-head { position: static; }
  .fa-rich { padding: 0 26px 24px; }
  .fq summary { font-size: 17px; min-height: 80px; }
  /* Dock */
  .has-mobile-form .apply-dock { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; max-width: 692px; margin: auto; padding: 12px; border: 1px solid #D9DACD; border-radius: 20px; background: var(--white); box-shadow: 0 6px 28px #1520261F; }
  .dock-copy { flex: 1; min-width: 0; padding-left: 6px; }
  .dock-copy strong { display: block; font-size: 16px; font-weight: 400; line-height: 1.5; }
  .dock-button { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 13px 20px; border: 0; border-radius: 12px; background: var(--ink); color: var(--cream); font-size: 16px; font-weight: 700; }
  .dock-button svg { width: 18px; height: 18px; }
  /* Sheet */
  .application-dialog { position: fixed; inset: var(--sheet-top, 0px) 0 auto; width: calc(100% - 16px); max-width: 680px; height: calc(var(--sheet-height, 100dvh) - 16px); max-height: none; margin: 8px auto; overflow: hidden; }
  .application-dialog[open] { display: flex; flex-direction: column; }
  .application-dialog .card { position: static; flex: 1; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; }
  .application-dialog #form { display: flex; flex-direction: column; height: 100%; }
  .application-dialog .form-content { flex: 1; min-height: 0; padding: 0 18px 20px; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 20px; -webkit-overflow-scrolling: touch; }
  .application-dialog .card-h { display: none; }
  .application-dialog .steps { margin: 16px 0 22px; }
  .application-dialog .steps button { min-height: 47px; font-size: 14px; }
  .application-dialog .pane-intro, .application-dialog .pane, .application-dialog .form-alert { margin-left: 0; margin-right: 0; }
  .application-dialog .contact-pane .row { display: grid; }
  .application-dialog .chip { flex-direction: row; align-items: center; }
  .application-dialog .form-footer { flex-shrink: 0; margin: 0 8px 8px; padding: 13px 16px max(12px, env(safe-area-inset-bottom)); border: 1px solid #E5E4D4; }
  .application-dialog .th button { right: 4px; }
  .application-dialog .drop-copy { display: none; }
  .application-dialog .drop.has-photos { min-height: 116px; }
}
/* Below 900px the bottom dock is the persistent action, so the header rests at the top. */
@media (max-width: 900px) {
  /* Footer: logo and name on one line, the icon row under them. */
  .ftn-top { flex-wrap: wrap; row-gap: 16px; }
  .ftn-top .socials { flex: 1 1 100%; margin-left: 0; }
  .footer-name { white-space: nowrap; }
  .steps3 { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .step-foot { padding-top: 20px; }
  .step-link { top: auto; right: auto; bottom: -24px; left: 50%; margin: 0 0 0 -17px; transform: rotate(90deg); }
  .about-intro { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .about-head { padding-right: 0; }
  .about-text { grid-column: auto; max-width: 680px; padding-top: 0; }
  .about-stats { margin-top: 24px; }
  html { scroll-padding-top: 20px; }
  .site-header { position: static; padding: 0; pointer-events: auto; }
  .header-inner, .site-header.is-stuck .header-inner { max-width: none; padding: 18px 26px 6px; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-nav { display: none; }
  .has-mobile-form .header-tag { display: block; }
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero-body { padding-right: 0; padding-bottom: 28px; }
  h1 { font-size: clamp(30px,6.4vw,52px); }
}
@media (min-width: 640px) and (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  /* Two tiles share the column: each is half of it, less the 12px gap. */
  .about-stat b { font-size: min(46px, calc((50cqi - 58px) * .161)); }
  .about-stat small { margin-left: .364em; font-size: .478em; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  .page { gap: 14px; padding: 4px 16px 24px; }
  .header-inner, .site-header.is-stuck .header-inner { padding: 16px 22px 8px; gap: 16px; }
  h2 { font-size: 26px; margin-bottom: 18px; }
  .eyebrow { font-size: 13px; margin-bottom: 18px; }
  .section-cta { width: 100%; }
  .about-more .label-wide { display: none; }
  .about-more .label-narrow { display: inline; }
  .cover { border-radius: 28px; }
  /* 404 card, phone. */
  .hero { padding: 18px; border-radius: 28px; }
  .hero-ornament { top: 4px; left: -100px; width: 522px; }
  .hero-body { gap: 16px; padding: 8px 0 24px 8px; }
  .kick { min-height: 30px; font-size: 12.5px; }
  .kick span { padding: 4px 11px; }
  .kick .year { padding: 4px 10px; }
  h1 { gap: 4px; font-size: clamp(25px,7.4vw,40px); }
  h1 .hl { margin-left: -10px; padding: 2px 12px 6px 10px; border-radius: 10px; }
  .hero-body .intro-cta { align-self: stretch; }
  /* About */
  .about { padding: 26px 22px 22px; border-radius: 28px; }
  .about-text p { font-size: 16px; line-height: 1.85; }
  .about-text h3 { margin-top: 30px; font-size: 20px; }
  .about-stats { gap: 10px; margin-top: 20px; }
  .about-stat { padding: 17px 22px 21px; border-radius: 18px; }
  .about-stat b { font-size: min(38px, calc((100cqi - 44px) * .158)); }
  .about-stat small { margin-left: .316em; font-size: .5em; }
  .about-text .about-lede { font-size: 19px; }
  .process { padding: 26px 22px 22px; border-radius: 28px; }
  .process h2 { margin-bottom: 20px; }
  .steps3 li { padding: 22px 22px 24px; border-radius: 18px; }
  .steps3 .num { margin-bottom: 14px; font-size: 48px; }
  /* Benefits */
  /* Application */
  .application-layout { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding: 26px 22px 22px; border-radius: 28px; }
  .has-mobile-form .application-entry { padding: 24px 22px; }
  .application-entry h2 { font-size: 22px; }
  /* FAQ */
  .faq { display: block; padding: 30px 4px 26px; }
  .faq-head { padding: 0 6px; }
  .faq h2 { max-width: none; margin-bottom: 20px; padding-top: 0; }
  .socials a { width: 44px; height: 44px; border-radius: 13px; }
  .socials svg { width: 20px; height: 20px; }
  .fq { gap: 10px; }
  .fq details, .fq summary { border-radius: 20px; }
  .fq summary { min-height: 76px; padding: 16px 14px 16px 20px; gap: 14px; font-size: 16px; }
  .fq-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .fa p { padding: 0 20px 22px; font-size: 15px; }
  .fa-rich { padding: 0 20px 22px; }
  .fa-rich li { font-size: 14.5px; }
  /* Footer */
  .footer-wrap { padding: 0 22px; }
  /* Footer on phones: logo and event name, the icon row, then the links and the copyright. */
  .ftn { gap: 18px; padding: 6px 0 26px; }
  .ftn-top { flex-wrap: wrap; gap: 10px 16px; }
  .footer-name { flex: 1 1 100%; font-size: 14px; }
  .ftn-top .socials { flex: 1 1 100%; margin: 6px 0 0; gap: 8px; }
  .ftn-bottom { flex-wrap: wrap; gap: 4px 16px; padding-top: 0; }
  .ftn-links { order: -1; flex: 1 1 100%; justify-content: space-between; gap: 16px; }
  .ftn-links a { font-size: 13px; }
  /* Sheet on phones */
  .sheet-header { padding: 11px 12px; gap: 10px; }
  .sheet-heading h2 { font-size: 16px; }
  .application-dialog .steps button { flex-direction: column; gap: 5px; padding: 8px 3px; font-size: 12px; }
  .application-dialog .steps button { justify-content: flex-start; }
  .application-dialog .steps .step-name { text-align: center; }
  .application-dialog .contact-pane .row { display: contents; }
  .application-dialog .chip { flex-direction: column; align-items: flex-start; min-height: 106px; padding: 13px; font-size: 14px; }
  .application-dialog .row { gap: 10px; }
  .photo-tally { flex-basis: 42px; width: 42px; height: 42px; }
  .upload-heading .lg { font-size: 17px; }
  .confirmation-dialog { padding: 30px 24px; }
  .confirmation-dialog .ok h3 { font-size: 24px; }
  .about-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 24px; }
  .about-sheet { padding: 0 22px 26px; }
  .about-sheet-head { gap: 14px; padding: 20px 0 14px; }
  .about-sheet-head h2 { font-size: 20px; }
  .about-sheet p { font-size: 16px; line-height: 1.85; }
  .about-sheet .about-lede { font-size: 19px; }
  .about-sheet .doc-title { margin-top: 28px; padding: 14px 16px; font-size: 18px; }
  .about-sheet h4 { margin-top: 22px; font-size: 16.5px; }
  .about-sheet li, .about-sheet .doc-note { font-size: 15.5px; }
  .apply-dock .dock-button { padding-left: 16px; padding-right: 16px; gap: 10px; }
}
/* The phone label "გაიგე მეტი ღონისძიებაზე" stays on one line down to 375px. */
/* 640–700px: still two tiles side by side, but with the phone padding (22px) and gap (10px). */
@media (min-width: 640px) and (max-width: 700px) {
  .about-stat b { font-size: min(38px, calc((50cqi - 49px) * .158)); }
}
@media (max-width: 430px) {
  .about-links .section-cta { gap: 12px; padding-left: 18px; font-size: 16px; }
}
@media (max-width: 380px) {
  .brand img { width: 100px; height: 25px; }
  .header-tag { font-size: 12px; letter-spacing: .01em; }
  .steps3 .num { font-size: 44px; }
  .step-foot .section-cta { gap: 8px; padding-left: 14px; font-size: 14px; }
  .hero { padding: 14px; }
  h1 { font-size: 7vw; }
  .application-layout { padding: 24px 18px 18px; }
  .has-mobile-form .apply-dock { left: 12px; right: 12px; gap: 10px; padding: 10px; }
  .dock-copy strong { font-size: 14px; }
  .dock-button { padding: 13px 14px; font-size: 15px; }
  .application-dialog .form-content { padding-left: 14px; padding-right: 14px; }
  .application-dialog .btn { font-size: 15px; padding-left: 12px; padding-right: 12px; }
  .sheet-header .stage-ring { flex-basis: 44px; width: 44px; height: 44px; }
  /* The four about buttons keep their labels to two lines; the long popup titles keep the close button inside. */
  .about-links .section-cta { gap: 12px; padding-left: 18px; font-size: 15px; }
}
/* 320px phones: the longest step words ("პროდუქციაზე", "დადასტურება") keep a margin inside their tabs. */
@media (max-width: 340px) {
  .application-dialog .steps button { padding-left: 2px; padding-right: 2px; font-size: 11px; }
}
@media (max-width: 1100px) and (max-height: 500px) {
  .sheet-header { padding: 7px 12px; }
  .sheet-header .stage-ring { flex-basis: 36px; width: 36px; height: 36px; }
  .sheet-header .stage-ring b { font-size: 16px; }
  .application-dialog .form-footer { padding-top: 8px; padding-bottom: 8px; }
  .application-dialog .btn { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .application-dialog .saved { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Replacements for former inline style attributes (CSP: no inline styles) ---------- */
.lg.lg-prices { margin-bottom: 10px; }
.lg.lg-consent { margin: 22px 0 10px; }
#b-ph { margin-bottom: 0; }

/* ---------- Submission plumbing (no visual change unless needed) ---------- */
/* Spam trap: off-screen field that people never see or fill. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* reCAPTCHA: the floating badge is replaced by this notice (allowed by Google when the notice is shown). */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.recaptcha-note a { color: inherit; }
.btn[aria-busy="true"] { cursor: progress; opacity: .8; }

/* ---------- 404 page: the hero card on its own ---------- */
.not-found { min-height: 100vh; justify-content: center; }
.not-found .hero { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; min-height: min(560px, calc(100vh - 80px)); align-content: center; }
