/* MUC – static landing page in the Quote (quote.lt / drive.quote.lt) visual style. Light theme only. */

:root {
  --font: "Geist", -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #ffffff;
  --fg: #09090b;
  --fg-body: #262626;
  --muted: #71717a;
  --muted-2: #a1a1aa;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --panel: rgba(244, 244, 245, 0.6);
  --panel-solid: #f4f4f5;
  --ghost-number: #e4e4e7;

  --inverse-bg: #222222;
  --inverse-bg-2: #1b1b1f;
  --inverse-fg: #ffffff;
  --inverse-muted: rgba(255, 255, 255, 0.65);
  --inverse-border: rgba(255, 255, 255, 0.12);
  --inverse-card: rgba(255, 255, 255, 0.06);

  --btn-bg: #09090b;
  --btn-fg: #ffffff;
  --btn-bg-hover: #27272a;

  --accent: #1e3a8a;
  --accent-soft: rgba(30, 58, 138, 0.08);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1260px;
  --gutter: 24px;
  --header-h: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--fg);
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

.wrapper {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */

.display {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-align: center;
}

.section-intro {
  max-width: 640px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.btn-primary:hover {
  background: var(--btn-bg-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--panel-solid);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--panel-solid);
}

.btn-lg {
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

.btn-icon {
  width: 36px;
  padding: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header .wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
}

/* MUC wordmark: black on light backgrounds, white on dark ones (currentColor). */
.brand svg {
  width: 65px;
  height: 15px;
  fill: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- Sections ---------- */

main > section {
  padding: 72px 0;
  scroll-margin-top: var(--header-h);
}

main > section + section {
  padding-top: 24px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 88px;
  padding-bottom: 56px;
}

.hero .wrapper {
  max-width: 820px;
  text-align: center;
}

.hero .display {
  max-width: 720px;
  margin: 0 auto;
}

.hero .lead {
  max-width: 620px;
  margin: 20px auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.card .ghost-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--ghost-number);
  margin-bottom: 18px;
}

.card .corner-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 22px;
  height: 22px;
  color: var(--fg);
}

.corner-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Paslaugos ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.services-grid .card {
  grid-column: span 2;
}

/* five cards: 3 on the first row, 2 centred on the second */
.services-grid .card:nth-child(4) {
  grid-column: 2 / span 2;
}

.services-grid .card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-art {
  width: 150px;
  height: 50px;
  margin-bottom: 10px;
  color: var(--fg);
}

.service-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.service-art svg line,
.service-art svg path:not(.fill),
.service-art svg polyline {
  stroke: var(--border-strong);
}

.service-art svg circle,
.service-art svg path.fill {
  fill: var(--accent);
}

/* ---------- Inverted block (dark panel) ---------- */

.inverse-panel {
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--inverse-bg) 0%, var(--inverse-bg-2) 100%);
  color: var(--inverse-fg);
}

.inverse-panel h2,
.inverse-panel h3 {
  color: var(--inverse-fg);
}

.inverse-panel .section-intro,
.inverse-panel p {
  color: var(--inverse-muted);
}

.inverse-panel .section-title {
  font-size: 32px;
  letter-spacing: -0.9px;
}

.inverse-panel .btn-primary {
  background: var(--inverse-fg);
  color: var(--inverse-bg);
}

.inverse-panel .btn-primary:hover {
  opacity: 0.85;
}

/* ---------- Sprendimai ---------- */

/* "Aurora" panel: light base with flowing cyan/green ribbons behind see-through cards.
   The ribbons are plain blurred bars bent by the #aurora-liquid SVG filter in index.html.
   All values are custom properties below, so the look can be tuned in one place. */
#sprendimai .inverse-panel {
  --base: #ffffff;
  --text: #000000;
  --text-rgb: 0, 0, 0;
  --panel-radius: 11px;
  --card-rgb: 0, 144, 163;
  --card-alpha: 0;
  --card-border-alpha: 0;
  --card-radius: 16px;
  --card-blur: 15px;
  --fx-opacity: 1;
  --fx-blur: 95px;
  --c1: #34baf4;
  --c2: #00fadd;
  --c3: #00ff04;
  --c4: #2bff00;
  --ribbon-h: 60px;
  --ribbon-angle: -18deg;

  --inverse-bg: var(--base);
  --inverse-fg: var(--text);
  --inverse-muted: color-mix(in srgb, var(--text) 68%, transparent);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--panel-radius);
  border: none;
  background: var(--base);
  color: var(--text);
}

/* Content sits above the background layer (.aurora-fx must stay absolute, so it is excluded). */
#sprendimai .inverse-panel > :not(.aurora-fx) {
  position: relative;
  z-index: 1;
}

.aurora-fx {
  position: absolute;
  inset: -140px;
  z-index: 0;
  pointer-events: none;
  opacity: var(--fx-opacity);
  filter: url(#aurora-liquid);
}

.aurora-fx i {
  position: absolute;
  display: block;
  left: -5%;
  width: 125%;
  height: var(--ribbon-h);
  border-radius: 999px;
  filter: blur(var(--fx-blur));
  opacity: 0.85;
}

.aurora-fx i:nth-child(1) {
  top: 16%;
  transform: rotate(var(--ribbon-angle));
  background: linear-gradient(90deg, transparent 0%, var(--c1) 25%, var(--c2) 50%, var(--c3) 75%, transparent 100%);
}

.aurora-fx i:nth-child(2) {
  top: 46%;
  height: calc(var(--ribbon-h) * 1.35);
  opacity: 0.7;
  transform: rotate(calc(var(--ribbon-angle) - 6deg));
  background: linear-gradient(90deg, transparent 0%, var(--c4) 20%, var(--c1) 45%, var(--c3) 70%, transparent 100%);
}

.aurora-fx i:nth-child(3) {
  top: 74%;
  height: calc(var(--ribbon-h) * 0.8);
  opacity: 0.45;
  transform: rotate(calc(var(--ribbon-angle) + 6deg));
  background: linear-gradient(90deg, transparent 0%, var(--c2) 30%, var(--c4) 65%, transparent 100%);
}

#sprendimai .solution {
  background: rgba(var(--card-rgb), var(--card-alpha));
  border: 1px solid rgba(var(--text-rgb), var(--card-border-alpha));
  border-radius: var(--card-radius);
  -webkit-backdrop-filter: blur(var(--card-blur));
  backdrop-filter: blur(var(--card-blur));
}

#sprendimai .solution-links a {
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 30%, transparent);
}

#sprendimai .solution-links a:hover {
  border-color: var(--text);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.solution {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--inverse-border);
  border-radius: var(--radius);
  background: var(--inverse-card);
}

.solution-mark {
  height: 44px;
  display: flex;
  align-items: center;
  color: var(--inverse-fg);
}

.solution-mark svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.solution h3 {
  font-size: 18px;
}

.solution p {
  font-size: 14px;
  line-height: 1.6;
}

.solution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 8px;
}

.solution-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--inverse-fg);
  border-bottom: 1px solid var(--inverse-border);
  transition: border-color 0.2s ease;
}

.solution-links a:hover {
  border-color: var(--inverse-fg);
}

/* ---------- Procesas ---------- */

.process {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.process-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.process-side .section-title {
  text-align: left;
}

.process-side p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  max-width: 360px;
}

.steps {
  border-top: 1px solid var(--border);
}

.step {
  border-bottom: 1px solid var(--border);
}

.step summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}

.step summary::-webkit-details-marker {
  display: none;
}

.step-num {
  flex: none;
  width: 40px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--ghost-number);
  transition: color 0.2s ease;
}

.step[open] .step-num {
  color: var(--accent);
}

.step-chevron {
  margin-left: auto;
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.step[open] .step-chevron {
  transform: rotate(180deg);
}

.step-body {
  padding: 0 0 22px 60px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.step-body p + ul,
.step-body ul + p {
  margin-top: 10px;
}

.step-body ul {
  list-style: disc;
  padding-left: 20px;
}

.step-body ul ul {
  list-style: circle;
  margin-top: 4px;
}

.step-body li {
  margin: 4px 0;
}

/* ---------- Blogas ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  margin-top: 40px;
}

/* Posts are plain text blocks: no card border or padding. */
.post {
  gap: 12px;
  padding: 0;
  border: none;
  background: none;
}

.post:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.post h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.post p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.blog-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.blog-more a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.2s ease;
}

.blog-more a:hover {
  border-color: var(--fg);
}

/* ---------- Kontaktai ---------- */

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
}

.contact-panel .section-title {
  text-align: left;
  font-size: 28px;
  letter-spacing: -0.8px;
}

.contact-panel .lead {
  margin-top: 14px;
  font-size: 16px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fg);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.form-messages {
  font-size: 14px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-messages.show {
  opacity: 1;
}

.form-messages.error {
  color: #b91c1c;
}

.honeypot {
  position: absolute;
  left: -5000px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 48px;
  padding: 56px 0 32px;
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand {
  color: var(--inverse-fg);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 300px;
  font-size: 14px;
  color: var(--inverse-muted);
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--inverse-fg);
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--inverse-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--inverse-fg);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--inverse-border);
  font-size: 13px;
  color: var(--inverse-muted);
}

.footer-bottom .brand {
  color: var(--inverse-fg);
  font-size: 13px;
}

.footer-bottom .brand svg {
  width: 52px;
  height: 12px;
}

/* ---------- Articles (articles/) ---------- */

.articles-hero {
  padding-bottom: 8px;
}

.article {
  padding: 56px 0 24px;
}

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.article-back,
.article-meta {
  font-size: 14px;
  color: var(--muted);
}

.article-back {
  display: inline-block;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.article-back:hover {
  color: var(--fg);
}

.article .display {
  font-size: 40px;
  letter-spacing: -1px;
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-content {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-body);
}

.article-content h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.article-content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.article-content h2 strong,
.article-content h3 strong {
  font-weight: inherit;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin: 6px 0;
}

.article-content a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content strong {
  color: var(--fg);
}

.article-content blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--border-strong);
  color: var(--muted);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-footer {
  padding: 24px 0 72px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.article-nav-card {
  gap: 8px;
}

.article-nav-card.next {
  text-align: right;
}

.article-nav-card:hover {
  border-color: var(--border-strong);
}

.article-nav-card h3 {
  font-size: 15px;
  line-height: 1.4;
}

.article-cta {
  text-align: center;
}

.article-cta .section-title {
  font-size: 28px;
  letter-spacing: -0.8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .display {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .card,
  .services-grid .card:nth-child(4),
  .services-grid .card:nth-child(5) {
    grid-column: auto;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-side {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  main > section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 64px;
  }

  .display {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter);
    background: var(--bg);
    border-top: 1px solid var(--border);
  }

  .main-nav a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .site-header.open .main-nav {
    display: flex;
  }

  .header-actions {
    margin-left: auto; /* the nav is hidden here, so push the hamburger to the right edge */
  }

  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .services-grid,
  .solutions-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .inverse-panel {
    padding: 40px 24px;
  }

  .inverse-panel .section-title {
    font-size: 26px;
  }

  .aurora-fx i {
    filter: blur(calc(var(--fx-blur) * 0.8));
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .step-body {
    padding-left: 0;
  }

  .article .display {
    font-size: 30px;
    letter-spacing: -0.7px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-card.next {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
