/* ============================================================
   MB „Fondeksa" — nemokumo administravimas
   Bendras stilius (tamsus elegantiškas)
   ============================================================ */

:root {
  --bg:        #0b0e14;
  --bg-2:      #0f131c;
  --surface:   #151b26;
  --surface-2: #1b2230;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text:      #e9ecf2;
  --muted:     #98a2b3;
  --muted-2:   #6f7888;
  --accent:    #c6a35c;   /* šampano auksas */
  --accent-2:  #ddc187;
  --accent-dim: rgba(198, 163, 92, 0.14);
  --danger:    #d98a6a;
  --maxw:      1140px;
  --radius:    14px;
  --shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* faktinis fonas su subtiliu auksiniu švytėjimu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(198,163,92,0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(70,90,130,0.10), transparent 55%),
    var(--bg);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: 0.2px; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--accent-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead { font-size: 1.18rem; color: #c4ccd9; max-width: 60ch; }

/* ---------- Navigacija ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.3rem; color: var(--text); letter-spacing: .3px; }
.brand:hover { color: var(--text); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), #9c7e3f);
  color: #1a1303; font-weight: 800; font-family: var(--sans); font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(198,163,92,0.35);
}
.brand b { font-weight: 600; }
.brand .sub { display:block; font-family: var(--sans); font-size: .62rem; letter-spacing:.22em; text-transform:uppercase; color: var(--muted-2); margin-top:2px; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; letter-spacing: .2px;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--accent-2); }
.nav-cta {
  margin-left: 6px;
  border: 1px solid var(--accent) !important;
  color: var(--accent-2) !important;
}
.nav-cta:hover { background: var(--accent-dim) !important; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #a9863f); color: #1a1303; box-shadow: 0 10px 28px rgba(198,163,92,0.30); }
.btn-primary:hover { color:#1a1303; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(198,163,92,0.42); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }

/* ---------- Sekcijos ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 96px; position: relative; }
.hero .eyebrow { animation: none; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 46px; display: flex; gap: 38px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 26px; }
.hero-meta .item .n { font-family: var(--serif); font-size: 1.7rem; color: var(--accent-2); }
.hero-meta .item .l { font-size: .85rem; color: var(--muted); }

.page-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin-bottom: 14px; }

/* ---------- Tinklelis / kortelės ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--accent-dim); border: 1px solid rgba(198,163,92,0.30);
  color: var(--accent-2); font-size: 1.4rem;
}
.card h3 { color: var(--text); margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.98rem; }
.card .more { display:inline-block; margin-top:16px; font-weight:600; font-size:.92rem; }

/* paslaugos detaliai */
.svc {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 30px 32px;
}
.svc .ico { width: 54px; height: 54px; border-radius: 12px; display:grid; place-items:center; background: var(--accent-dim); color: var(--accent-2); font-size:1.5rem; }
.svc h3 { color: var(--text); }
.svc p { margin-bottom: 0; }
.svc ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.svc li { margin-bottom: 6px; }

/* procesas */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.5rem; color: var(--accent); display:block; margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; color: var(--text); }
.step p { font-size: .95rem; margin: 0; }

/* sąrašas su varnele */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 14px; color: #c4ccd9; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-dim); color: var(--accent-2); font-size: .8rem; border: 1px solid rgba(198,163,92,0.3);
}

/* ---------- CTA juosta ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 52px 48px; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 56ch; margin: 0 auto 26px; }

/* ---------- Kontaktai ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { color: var(--accent-2); font-size: 1.2rem; flex: 0 0 auto; margin-top: 2px; }
.info-row .k { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.info-row .v { color: var(--text); font-weight: 500; }

form .field { margin-bottom: 18px; }
label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 7px; }
input, textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-strong);
  color: var(--text); border-radius: 10px; padding: 13px 15px; font-family: var(--sans); font-size: 1rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
textarea { resize: vertical; min-height: 130px; }

/* placeholder žyma redaktoriui */
.ph { color: var(--accent-2); border-bottom: 1px dashed rgba(221,193,135,.5); }

/* ---------- Poraštė ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer p, .footer a { font-size: .95rem; color: var(--muted); }
.footer a { display: block; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted-2); }
.disclaimer { font-size: .82rem; color: var(--muted-2); max-width: 80ch; margin-top: 14px; }

/* ---------- Responsyvumas ---------- */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc .ico { margin-bottom: 4px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .nav-inner { height: 64px; }
  .brand .sub { display: none; }
  .nav-links a { padding: 7px 9px; font-size: .9rem; }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 24px; }
  .hero-meta { gap: 24px; }
}
