:root {
  --bg: #e8f1f5;
  --surface: #ffffff;
  --ink: #0a202b;
  --muted: #35505d;
  --line: rgba(10, 32, 43, 0.14);
  --accent: #0b89b4;
  --accent-dark: #095c7c;
  --warm: #ffb168;
  --footer: #1e3643;
  --shadow-soft: 0 16px 42px rgba(8, 31, 43, 0.12);
  --shadow-bold: 0 22px 58px rgba(8, 31, 43, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Open Sans", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ecf4f8 0%, #e6f0f5 45%, #edf5f8 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 8% 10%, rgba(11, 137, 180, 0.17), transparent 30%),
    radial-gradient(circle at 92% 2%, rgba(255, 177, 104, 0.25), transparent 28%),
    radial-gradient(circle at 80% 85%, rgba(9, 92, 124, 0.14), transparent 24%);
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(237, 246, 250, 0.75);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: min(230px, 44vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(10, 32, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
}

main {
  padding-bottom: 24px;
}

.section {
  padding: clamp(64px, 8vw, 94px) 0;
}

.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(140deg, rgba(8, 19, 25, 0.76), rgba(9, 92, 124, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow.dark {
  color: var(--accent-dark);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Sora", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 9vw, 84px);
}

h2 {
  font-size: clamp(29px, 5vw, 54px);
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(24px, 4.2vw, 42px);
  margin-bottom: 10px;
}

h4 {
  font-size: clamp(28px, 4.4vw, 48px);
  margin-bottom: 22px;
}

.section-head.center {
  text-align: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(8, 31, 43, 0.25);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.btn-solid {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
}

.btn-dark {
  color: #fff;
  background: linear-gradient(140deg, #092f40, #124a61);
}

.reasons {
  position: relative;
  padding-bottom: clamp(28px, 4vw, 44px);
}

.reason-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.reason-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 32, 43, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.reason-card strong {
  color: var(--ink);
}

.services {
  position: relative;
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

.service-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(150deg, #fefefe, #ecf4f8);
  border-radius: 26px;
  border: 1px solid rgba(10, 32, 43, 0.08);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-bold);
}

.service-feature-image {
  border-radius: 18px;
  overflow: hidden;
}

.service-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  max-height: 420px;
  object-fit: cover;
}

.service-feature-copy p {
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 20px;
}

.service-page-hero {
  padding: clamp(68px, 9vw, 120px) 0;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.service-lead {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 48ch;
}

.service-hero-media {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-bold);
  border: 1px solid rgba(10, 32, 43, 0.08);
}

.service-hero-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.mb-intro-panel {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(10, 32, 43, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 30px);
}

.mb-intro-panel p {
  margin: 0;
  color: var(--muted);
}

.mb-intro-panel p + p {
  margin-top: 14px;
}

.mb-intro {
  padding-bottom: clamp(20px, 3vw, 32px);
}

.pricing-shell {
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(10, 32, 43, 0.1);
  box-shadow: var(--shadow-bold);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(236, 244, 248, 0.86));
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid rgba(10, 32, 43, 0.1);
}

.pricing-title {
  text-align: center;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.pricing-base-line {
  display: block;
}

.pricing-base-line + .pricing-base-line {
  margin-top: 6px;
}

.pricing-head td {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(8, 96, 130, 0.08);
}

.services-row td {
  width: 50%;
}

.col-right {
  border-left: 1px solid rgba(10, 32, 43, 0.1);
}

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

.pricing-table li {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(10, 32, 43, 0.16);
}

.pricing-table li:last-child {
  border-bottom: 0;
}

.service-name {
  color: var(--ink);
}

.payroll-pricing-row {
  align-items: center;
}

.payroll-pricing-row .service-name {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pricing-note {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #0a6f94, #0b89b4);
  box-shadow: 0 4px 12px rgba(8, 96, 130, 0.28);
}

.price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-dark);
}

.pricing-section-title {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  background: rgba(10, 32, 43, 0.05);
}

.pricing-table ul.single-list {
  width: 100%;
  margin: 0 auto;
  padding-left: 56px !important;
  padding-right: 56px !important;
}

.single-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.single-list li .service-name {
  text-align: left;
}

.single-list li .price {
  text-align: right;
  justify-self: end;
}

.urgent {
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(140deg, #cf6a13, #b84906);
}

.free {
  text-align: center;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(11, 137, 180, 0.12);
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing {
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

.qa-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.qa {
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(12px, 2vw, 20px);
}

.qa-item {
  border: 1px solid rgba(10, 32, 43, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.qa-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 18px;
  position: relative;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(16px, 2.3vw, 22px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

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

.qa-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(10, 32, 43, 0.16);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 500;
}

.qa-item[open] summary::after {
  content: "−";
}

.qa-content {
  padding: 2px 18px 18px;
  border-top: 1px solid rgba(10, 32, 43, 0.08);
}

.qa-content p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 8px 0 42px;
}

.contact-shell {
  background: linear-gradient(145deg, #1f3b49, #1c303b);
  color: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-bold);
}

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

.contact-item p {
  margin: 0 0 8px;
}

.footer-label {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 12px;
  font-weight: 700;
  color: #a8d2e6;
}

.copyright {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #d7e8f1;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .service-feature,
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0 auto;
    width: min(1160px, 92vw);
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    padding: 12px;
  }

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

  .main-nav a {
    width: 100%;
    border-radius: 10px;
    font-size: 15px;
  }

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

  .services-row td {
    display: block;
    width: 100%;
  }

  .pricing-head {
    display: none;
  }

  .services-row td::before {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--accent-dark);
    background: rgba(8, 96, 130, 0.08);
    padding: 10px 12px;
    border-radius: 10px;
  }

  .services-row td:first-child::before {
    content: "Mėnesiniai darbai";
  }

  .services-row td.col-right::before {
    content: "Metiniai darbai";
  }

  .col-right {
    border-left: 0;
    border-top: 1px solid rgba(10, 32, 43, 0.1);
  }

  .pricing-table li {
    gap: 10px;
    font-size: 14px;
  }

  .pricing-note {
    font-size: 11px;
    padding: 3px 8px;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    background: rgba(8, 96, 130, 0.65);
  }

  .payroll-pricing-row {
    display: block;
  }

  .payroll-pricing-row .service-name {
    gap: 6px;
  }

  .payroll-pricing-row .price {
    display: block;
    margin-top: 8px;
  }

  .pricing-title {
    font-size: clamp(18px, 5.5vw, 24px);
  }

  .pricing-table ul.single-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
