:root {
  --navy: #031f32;
  --navy-2: #0a2d45;
  --gold: #f7c60c;
  --gold-2: #fdd931;
  --paper: #f5f1f1;
  --white: #ffffff;
  --ink: #12222e;
  --muted: #5b6a75;
  --line: #e2dcdc;
  --radius: 10px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 16px/1.6 Inter, "Noto Sans Georgian", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Archivo, Inter, "Noto Sans Georgian", sans-serif; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font: 600 .78rem/1 Inter, sans-serif;
  text-transform: uppercase; letter-spacing: .14em;
  color: #9a7b00; margin-bottom: 1rem;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 6px; border: 2px solid var(--gold);
  background: var(--gold); color: var(--navy);
  font: 700 1rem/1 Archivo, sans-serif; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(3,31,50,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font: 800 1.3rem/1 Archivo, sans-serif; letter-spacing: .04em; }
.brand small { font-size: .7em; color: var(--gold); letter-spacing: .1em; }
.brand-mark { width: 32px; height: 32px; }
.menu { display: flex; align-items: center; gap: 1.5rem; white-space: nowrap; }
.menu > a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; }
.menu > a:not(.btn):hover { color: var(--gold); }
.menu-toggle { display: none; }
.lang-switch { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 2px; }
.lang-switch a { color: rgba(255,255,255,.75); text-decoration: none; font: 600 .78rem/1 Inter, "Noto Sans Georgian", sans-serif; padding: .45rem .55rem; border-radius: 4px; }
.lang-switch a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang-switch a[aria-current="page"] { background: var(--gold); color: var(--navy); }

/* Georgian: no faux caps (browsers would switch to Mtavruli), and slightly smaller headings for longer words */
:lang(ka) .eyebrow { text-transform: none; letter-spacing: .04em; font-size: .85rem; }
:lang(ka) h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
:lang(ka) h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(247,198,12,.12), transparent 45%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: clamp(4rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hl { color: var(--gold); }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255,255,255,.7); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--gold); margin-right: .45rem; font-weight: 700; }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 460px; justify-self: end; width: 100%; }
.panels {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px;
  transform: perspective(900px) rotateY(-14deg) rotateX(4deg);
}
.panel {
  background: linear-gradient(180deg, #f4f1ec, #e3ded6);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 18px 40px rgba(0,0,0,.25);
  position: relative;
  animation: rise .7s ease-out both;
}
.panel::after { /* screw pattern */
  content: ""; position: absolute; inset: 10px;
  background-image: radial-gradient(circle, rgba(3,31,50,.25) 1.5px, transparent 2px);
  background-size: 100% 25%;
}
.p2 { animation-delay: .08s } .p3 { animation-delay: .16s }
.p4 { animation-delay: .24s } .p5 { animation-delay: .32s }
.p6 { animation-delay: .4s; background: linear-gradient(180deg, #f7c60c, #e7b400); }
.p6::after { background-image: none; }
.level {
  position: absolute; left: 6%; right: 6%; bottom: -4%; height: 26px;
  background: var(--gold); border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.level span { width: 54px; height: 12px; border-radius: 8px; background: #b5e6a3; border: 2px solid var(--navy); position: relative; }
.level span::after { content: ""; position: absolute; left: 50%; top: 1px; width: 8px; height: 6px; margin-left: -4px; border-radius: 50%; background: rgba(255,255,255,.9); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-dark { background: var(--navy); color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--gold); box-shadow: 0 14px 34px rgba(3,31,50,.08); transform: translateY(-3px); }
.card svg { width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 1rem; background: rgba(247,198,12,.25); border-radius: 8px; padding: 6px; }
.card p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { border-top: 3px solid var(--gold); padding-top: 1.25rem; }
.steps .num { font: 800 2.2rem/1 Archivo, sans-serif; color: rgba(255,255,255,.18); display: block; margin-bottom: .75rem; }
.steps p { color: rgba(255,255,255,.72); margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.about-grid p { color: var(--muted); font-size: 1.05rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.values li { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; border-left: 4px solid var(--gold); }
.values strong { display: block; font: 700 1.1rem/1.2 Archivo, sans-serif; margin-bottom: .35rem; color: var(--navy); }
.values span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-grid > div > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.contact-list a { font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); }
.quote-form {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: 0 20px 50px rgba(3,31,50,.08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem;
}
.quote-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.quote-form .opt { font-weight: 400; color: var(--muted); }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .75rem .85rem; border: 1px solid #cfc8c8; border-radius: 6px; background: var(--white); width: 100%;
}
.quote-form textarea { resize: vertical; }
.quote-form [aria-invalid="true"] { border-color: #c0392b; }
.btn-outline { background: var(--white); color: var(--navy); border-color: #cfc8c8; font-size: .92rem; padding: .7rem 1rem; }
.btn-outline:hover { background: var(--paper); border-color: var(--navy); }
.btn-outline.detected { border-color: var(--gold); background: rgba(247,198,12,.18); }
.send-options { border-top: 1px solid var(--line); padding-top: 1rem; }
.send-title { font-weight: 600; color: var(--navy); margin-bottom: .75rem; }
.send-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); min-height: 1.4em; }
.form-note.ok { color: #1e7a3c; }
.form-note.err { color: #b42318; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 1.75rem 0; font-size: .9rem; }
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--gold); text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 360px; margin-top: 1rem; }
}
@media (max-width: 720px) {
  .menu-toggle {
    display: block; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white);
    border-radius: 6px; padding: .5rem .9rem; font: 600 .9rem Inter, sans-serif; cursor: pointer;
  }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.25rem;
    display: none; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .menu.open { display: flex; }
  .menu > a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu .btn { margin-top: 1rem; }
  .lang-switch { margin-top: 1rem; align-self: flex-start; }
  .lang-switch a { padding: .6rem .8rem; font-size: .9rem; }
  .cards, .values, .quote-form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote-form { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { animation: none; }
  .btn, .card { transition: none; }
}
