/* companyregistration.lt — single stylesheet, no framework */

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin.woff2) format("woff2");
  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: "Libre Franklin";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/libre-franklin-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #f9f9f9;
  --surface: #eff1f5;
  --surface-2: #f0f0f0;
  --ink: #313131;
  --ink-soft: #55595f;
  --slate: #37465c;
  --slate-deep: #2a3647;
  --accent: #2c5d8a;
  --line: #dde1e8;
  --white: #fff;
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; color: var(--slate-deep); }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--slate); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
.kicker { display: block; margin-bottom: .6em; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
section { scroll-margin-top: 96px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: 700 .85rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--slate); border-color: var(--slate); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--slate-deep); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.arrow { font-size: 1.1em; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; gap: 24px; background: var(--surface-2); border-radius: var(--radius); padding: 14px 24px; }
.logo { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; text-decoration: none; color: var(--slate-deep); white-space: nowrap; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: clamp(12px, 2vw, 28px); margin: 0 auto; }
.nav a { font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--slate-deep); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.bar-end { display: flex; align-items: center; gap: 16px; }
.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; color: var(--slate-deep); }
.phone-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--slate); color: var(--white); }
.phone-ico svg { width: 14px; height: 14px; }
.lang { display: flex; gap: 2px; background: var(--white); border-radius: 999px; padding: 3px; }
.lang a { padding: 4px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.lang a[aria-current="true"] { background: var(--slate); color: var(--white); }
.lang a:not([aria-current="true"]):hover { color: var(--accent); }

@media (max-width: 1020px) {
  .bar { flex-wrap: wrap; row-gap: 10px; padding: 12px 18px; }
  .bar-end { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) {
  .phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo { font-size: .95rem; }
}

/* Hero */
.hero { padding-top: 8px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(420px, 60vh, 580px); display: flex; align-items: center;
  background: var(--surface);
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(249,249,249,.97) 0%, rgba(249,249,249,.88) 40%, rgba(249,249,249,.25) 75%, rgba(249,249,249,0) 100%); }
.hero-body { position: relative; z-index: 1; padding: clamp(28px, 6vw, 72px); max-width: 720px; }
.hero-body h1 { color: var(--ink); }
.hero-body .lead { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 720px) {
  .hero-card::after { background: linear-gradient(180deg, rgba(249,249,249,.93) 0%, rgba(249,249,249,.85) 100%); }
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.card p:last-child { margin-bottom: 0; }
.card--wide { grid-column: span 2; }
.card--dark { background: var(--slate); color: #e7ebf1; }
.card--dark h3 { color: var(--white); }
.card--dark .kicker { color: #9fc1e4; }
.card--img { padding: 0; overflow: hidden; min-height: 240px; }
.card--img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card--wide { grid-column: auto; } }

/* Other services */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-media { border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.list-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.list-steps li { counter-increment: s; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); position: relative; }
.list-steps li:last-child { border-bottom: 1px solid var(--line); }
.list-steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 20px; font-weight: 800; font-size: 1.4rem; color: var(--accent); }
.list-steps h3 { margin-bottom: .35em; }
.list-steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* CTA band */
.band { background: var(--slate); color: #e7ebf1; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.band h2 { color: var(--white); }
.band p { margin: 0; max-width: 56ch; }
.band-phone { justify-self: end; text-align: right; }
.band-phone a.tel { display: block; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--white); text-decoration: none; margin-bottom: 14px; white-space: nowrap; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band-phone { justify-self: start; text-align: left; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-info li { display: flex; gap: 12px; align-items: baseline; }
.contact-info b { min-width: 7.5em; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.contact-info a { font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.req { color: var(--err); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--slate); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cf-turnstile { min-height: 65px; }
.form-status { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { background: #e3f3ea; color: var(--ok); }
.form-status[data-state="error"] { background: #fbe9e7; color: var(--err); }

/* FAQ */
.faq { max-width: 900px; margin-top: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.1rem; color: var(--slate-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 75ch; }

/* Prices page */
.page-head { padding: clamp(32px, 6vw, 72px) 0 8px; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.price-card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.price-card:nth-child(3n+2) { background: var(--slate); color: #e7ebf1; }
.price-card:nth-child(3n+2) h2 { color: var(--white); }
.price-card:nth-child(3n+2) .kicker { color: #9fc1e4; }
.price-card:nth-child(3n+2) .price { border-color: rgba(255,255,255,.2); color: var(--white); }
.price-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.price-card ul { margin: 0 0 1em; padding-left: 1.2em; }
.price-card li { margin-bottom: .25em; }
.price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--slate-deep); }
.price small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.price--text { font-size: 1.1rem; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

.price-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 1.02rem; }
.price-table th, .price-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-weight: 600; }
.price-table td { text-align: right; font-weight: 800; white-space: nowrap; color: var(--slate-deep); padding-left: 16px; }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 1px solid var(--line); }

/* Simple centered pages (thank you / 404) */
.notice { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notice .lead { margin: 0 auto 28px; }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); background: var(--slate-deep); color: #c9d1dc; padding: 48px 0 32px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo span { color: #9fc1e4; }
.site-footer h2 { font-size: .8rem; letter-spacing: .08em; color: #9fc1e4; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; color: #e7ebf1; }
.site-footer a:hover { text-decoration: underline; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Utilities */
.section--flush { padding-top: 0; }
.foot-about { margin-top: 12px; max-width: 36ch; }
.hero-actions--center { justify-content: center; }
