@font-face {
  font-family: "Noto Sans Georgian";
  src: url("fonts/NotoSansGeorgian-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Georgian";
  src: url("fonts/NotoSansGeorgian-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Georgian";
  src: url("fonts/NotoSerifGeorgian-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Georgian";
  src: url("fonts/NotoSerifGeorgian-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #202822;
  --green: #214938;
  --muted: #56635a;
  --line: #dbded2;
  --sage: #e7eee2;
  --heading: Georgia, serif;
  font: 16px/1.6 system-ui, "Noto Sans Georgian", sans-serif;
}
:root:lang(ka) { --heading: "Noto Serif Georgian", Georgia, serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.top, .top-actions, .section-top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top { min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 4px; color: var(--green); text-decoration: none; font: 800 2.05rem/.95 system-ui, sans-serif; letter-spacing: -.105em; }
.brand-word { padding-inline-end: 3px; }
.brand-number { display: grid; place-items: center; width: 31px; height: 34px; border-radius: 8px 8px 8px 2px; background: var(--green); color: #fff8e9; font-size: 1.45rem; letter-spacing: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input { outline-offset: 4px; }
:focus-visible { outline: 2px solid #9d521e; }
.top-actions a, footer a, #status a { color: var(--green); text-underline-offset: 4px; }
.top-actions a { text-decoration: none; font-size: .9375rem; }
.top-actions a:hover { text-decoration: underline; }
#language, #reset { border: 1px solid #a9b8aa; border-radius: 999px; background: transparent; color: var(--green); padding: 7px 14px; min-height: 44px; font-size: .875rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: clamp(24px,4.8vw,70px); align-items: center; padding: clamp(27px,5vw,64px); border: 1px solid #d6dece; border-radius: 30px; background: radial-gradient(ellipse at top right, #f4edcf 0%, transparent 56%), var(--sage); }
h1,h2,h3,p { margin: 0; }
.eyebrow { color: var(--green); font-size: .875rem; font-weight: 700; margin-bottom: 15px; }
h1,h2 { font-family: var(--heading); }
h1 { max-width: 17ch; font-size: clamp(2.65rem, 5vw, 4.65rem); line-height: 1.04; letter-spacing: -.043em; }
:lang(ka) h1 { max-width: 13em; font-size: clamp(1.9rem,3.75vw,3.05rem); line-height: 1.17; }
h1 em { display: block; color: var(--green); font-weight: inherit; }
:lang(ka) h1 em { font-style: normal; }
.intro { margin-top: 18px; max-width: 46ch; color: var(--muted); }
form { position: relative; display: flex; gap: 7px; margin-top: 25px; padding: 6px; border: 1px solid #b8c7b9; border-radius: 13px; background: white; }
input { width: 0; flex: 1 1 auto; min-width: 0; padding: 9px 8px 9px 35px; border: 0; border-radius: 6px; color: var(--ink); }
.magnifier { pointer-events: none; position: absolute; left: 20px; top: 19px; width: 13px; height: 13px; border: 2px solid var(--green); border-radius: 50%; }
.magnifier::after { content: ""; position: absolute; width: 7px; height: 2px; top: 10px; left: 8px; transform: rotate(45deg); background: var(--green); }
form button { border: 0; border-radius: 8px; padding: 8px 15px; min-height: 44px; background: var(--green); color: white; font-weight: 700; }
.quick { padding: 22px; border-radius: 18px; background: var(--green); color: #fffdf4; }
.quick h2 { margin-bottom: 10px; font-size: 1.35rem; }
.quick button { display: block; width: 100%; text-align: start; min-height: 48px; padding: 11px 0; border: 0; border-top: 1px solid #7b9788; background: transparent; color: inherit; font-size: .9375rem; }
.quick button:hover { text-decoration: underline; text-underline-offset: 4px; }
.quick button:focus-visible { outline-color: #ffe1a0; }
.directory { padding-block: 42px 54px; scroll-margin-top: 16px; }
.section-top { flex-wrap: wrap; }
h2 { font-size: clamp(1.65rem,3.2vw,2.25rem); line-height: 1.2; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 17px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 18px; min-height: 172px; border: 1px solid var(--line); border-radius: 14px; background: #fffefa; color: inherit; text-decoration: none; }
.card:hover { border-color: var(--green); }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card h3 { font-size: 1rem; line-height: 1.4; }
.card p { color: var(--muted); font-size: .9375rem; }
.source { color: var(--green); font-size: .875rem; margin-top: auto; overflow-wrap: anywhere; }
.card-icon { width: 32px; height: 32px; position: relative; display: grid; place-items: center; background: #e9efe3; border-radius: 8px; }
.card-icon::before { content: ""; width: 11px; height: 14px; border: 1.5px solid var(--green); border-radius: 2px; background: linear-gradient(var(--green),var(--green)) center 6px / 5px 1px no-repeat, linear-gradient(var(--green),var(--green)) center 9px / 5px 1px no-repeat; }
.card-icon[data-icon="license"]::before,.card-icon[data-icon="id"]::before { width: 15px; height: 10px; background: radial-gradient(circle,var(--green) 1.5px,transparent 2px) 2px center / 5px 6px no-repeat, linear-gradient(var(--green),var(--green)) 8px center / 4px 1px no-repeat; }
.card-icon[data-icon="property"]::before { width: 10px; height: 10px; border-radius: 0; background: none; transform: rotate(45deg); }
#status:not(:empty) { margin-top: 12px; color: var(--muted); }
footer { padding-block: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width: 840px) {
  .hero { grid-template-columns: 1fr; }
  .quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 16px; }
  .quick h2 { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 530px) {
  .wrap { width: calc(100% - 30px); }
  .top { min-height: 68px; }
  .top-actions { gap: 12px; }
  .hero { padding: 21px 17px; border-radius: 20px; gap: 19px; }
  .quick { display: block; padding: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .footer { align-items: flex-start; flex-direction: column; gap: 5px; }
}
