﻿:root {
  --ink: #1F1F1F;
  --muted: #6b6254;
  --paper: #F0EBE0;
  --panel: #F0EBE0;
  --line: #CDC8B2;
  --forest: #07101F;
  --moss: #07101F;
  --gold: #96896F;
  --gold-dark: #5C4C35;
  --gold-soft: #CDC8B2;
  --copper: #5C4C35;
  --sky: #07101F;
  --shadow: 0 24px 70px rgba(4, 15, 30, 0.18);
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--forest);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 18, 34, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 178px;
  height: auto;
  background: transparent;
  border: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
}

.main-nav a,
.header-action {
  opacity: 0.86;
}

.main-nav a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  padding: 11px 16px;
  border: 1px solid rgba(216, 175, 99, 0.65);
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 34, 0.98), rgba(5, 18, 34, 0.72) 44%, rgba(5, 18, 34, 0.18)),
    linear-gradient(0deg, rgba(5, 18, 34, 0.86), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 12vh;
}

.hero-content::before {
  content: "";
  display: block;
  width: 116px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--gold);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(31px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  width: min(720px, 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #07101F;
}

.button.secondary {
  border-color: rgba(216, 175, 99, 0.7);
  background: transparent;
  color: var(--gold-soft);
}

.section,
.intro-band,
.data-band,
.contact-band {
  padding: clamp(58px, 9vw, 112px) 0;
}

.section {
  position: relative;
  background: var(--paper);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.split,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-band {
  position: relative;
  background: var(--paper);
}

.intro-band::after,
.muted::after {
  content: "";
  position: absolute;
  right: min(6vw, 70px);
  top: 32px;
  width: 180px;
  height: 2px;
  background: var(--gold);
  opacity: 0.8;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 104px;
  height: 2px;
  margin-top: 24px;
  background: var(--gold);
}

.section-heading.compact {
  margin-bottom: 24px;
}

.feature-grid,
.cms-preview,
.admin-grid,
.role-grid,
.login-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.login-zones {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature,
.cms-preview > div,
.admin-grid > article,
.role-grid > article,
.login-zones > a {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.96);
  padding: 28px;
  box-shadow: 0 18px 46px rgba(4, 15, 30, 0.08);
}

.feature h3,
.login-zones h3 {
  color: #07101F;
}

.feature span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.feature p,
.cms-preview p,
.admin-grid p,
.role-grid p,
.login-zones p {
  color: var(--muted);
  line-height: 1.62;
}

.login-zones > a {
  position: relative;
  min-height: 178px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.login-zones > a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.login-zones > a::after {
  content: "Prisijungti";
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: var(--gold);
  font-weight: 800;
}

.data-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 20, 39, 0.96), rgba(6, 20, 39, 0.84)),
    url("images/pdf-extracted/page2-image2.jpg") right center / auto 115% no-repeat;
  color: #fff;
}

.data-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 39, 0.98), rgba(6, 20, 39, 0.75), rgba(6, 20, 39, 0.45));
}

.data-band .section-inner {
  position: relative;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.metrics div {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding-left: 22px;
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 290px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.muted {
  position: relative;
  background: #07101F;
  color: #fff;
}

.muted .eyebrow,
.muted h2 {
  color: #fff;
}

.two-column p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.66;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 175, 99, 0.34);
  padding: 16px;
}

.process-list span {
  display: grid;
  height: 42px;
  place-items: center;
  background: var(--gold);
  color: var(--forest);
  font-weight: 800;
}

.process-list p {
  margin: 0;
  font-size: 16px;
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(6, 20, 39, 0.96), rgba(6, 20, 39, 0.9)),
    url("images/monifi-hero-pdf.jpg") center / cover;
  color: #fff;
}

.contact-form,
.login-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: inherit;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 0 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 21px, calc(100% - 9px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

.contact-lead {
  width: min(780px, 100%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.request-tabs {
  margin-top: 34px;
}

.tab-controls {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.26);
  margin-bottom: 18px;
}

.tab-control {
  min-height: 44px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
  padding: 10px 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab-control:last-child {
  border-right: 0;
}

.tab-control.active {
  background: var(--gold);
  color: #07101F;
}

.contact-form {
  display: none;
  max-width: 960px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 24px;
}

.contact-form.active {
  display: grid;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px);
  background: #04101f;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-logo {
  width: 164px;
  height: auto;
  background: transparent;
  border: 0;
}

.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(6, 20, 39, 0.96), rgba(4, 16, 31, 0.9)),
    url("images/monifi-hero-pdf.jpg") center / cover;
}

.auth-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  color: #fff;
}

.auth-brand {
  margin-bottom: clamp(40px, 9vw, 90px);
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 48px;
  align-items: end;
}

.auth-panel h1 {
  font-size: clamp(38px, 7vw, 80px);
}

.auth-panel p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.62;
}

.login-form {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 28px;
  box-shadow: var(--shadow);
}

.text-link {
  color: var(--copper);
  font-weight: 800;
}

.role-grid {
  margin-top: 28px;
}

.auth-page .role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #f4f1ea;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: #07101F;
  color: #fff;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 44px;
}

.dashboard-sidebar nav a {
  padding: 12px;
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dashboard-main {
  padding: 32px clamp(18px, 4vw, 52px) 60px;
}

.dashboard-top,
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-top {
  margin-bottom: 28px;
}

.dashboard-top h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
}

.dashboard-section {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.status.live {
  background: #dfeee4;
  color: #235038;
}

.status.draft {
  background: #eee8dc;
  color: #745735;
}

.status.review {
  background: #e2ebef;
  color: #284d5d;
}

.content-fields,
.settings-list {
  display: grid;
  gap: 14px;
}

.content-fields input,
.content-fields textarea,
.logo-fields input {
  background: #faf8f3;
  padding-left: 12px;
  padding-right: 12px;
}

.logo-admin {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.logo-preview {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
}

.logo-preview img {
  width: 200px;
}

.logo-fields {
  display: grid;
  gap: 14px;
}

.settings-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.settings-list input {
  width: auto;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 14px 18px;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 33, 29, 0.96);
    padding: 10px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .header-action {
    display: none;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .split,
  .two-column,
  .contact-layout,
  .auth-panel,
  .dashboard-page {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cms-preview,
  .admin-grid,
  .role-grid,
  .login-zones,
  .metrics,
  .form-grid,
  .logo-admin {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
  }

  .dashboard-sidebar nav {
    margin-top: 24px;
  }

  .site-footer,
  .dashboard-top,
  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-content {
    padding-top: 120px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .lead,
  .intro-copy,
  .two-column p,
  .contact-lead {
    font-size: 17px;
  }

  .tab-controls {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .tab-control {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  }

  .tab-control:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .brand-logo {
    width: 138px;
  }

  .feature,
  .cms-preview > div,
  .admin-grid > article,
  .role-grid > article,
  .dashboard-section,
  .login-form {
    padding: 20px;
  }
}
