:root {
  --navy: #071b32;
  --navy2: #0d2948;
  --blue: #087fbd;
  --ice: #62c9ed;
  --ink: #12253a;
  --muted: #65758a;
  --line: #e5edf3;
  --paper: #f5f8fb;
  --white: #fff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.service {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fff;
}

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

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.topline {
  background: #06162a;
  color: #b8c9d9;
  font-size: 12px;
  letter-spacing: .02em;
}

.topline .wrap {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topline a {
  color: #e8f6ff;
}

.topright {
  display: flex;
  gap: 24px;
}

.nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 286px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.brand:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
  color: #3e5267;
}

.links a:hover {
  color: var(--blue);
}

.navcta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  background: var(--blue);
  color: white;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
}

.navcta:hover, .btn:hover {
  background: #05699f;
  transform: translateY(-1px);
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 25px;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 620px;
  background: var(--navy);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 19, 37, .96) 0%, rgba(5, 25, 47, .9) 38%, rgba(5, 25, 47, .32) 75%, rgba(5, 25, 47, .12) 100%), url('../images/pramoninis-saldymas-vizualas.png') center/cover no-repeat;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 22, 41, .45), transparent 38%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 90px 0 104px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 10px;
  font-weight: 700;
  color: var(--ice);
}

.eyebrow:before {
  content: "";
  height: 1px;
  width: 34px;
  background: var(--ice);
}

h1, h2, h3 {
  font-family: Manrope, sans-serif;
}

h1 {
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.06;
  letter-spacing: -.055em;
  max-width: 690px;
  margin: 25px 0 22px;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--ice);
}

.hero p {
  font-size: 17px;
  line-height: 1.75;
  color: #c6d4e2;
  max-width: 540px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.btn {
  padding: 17px 23px;
}

.textlink {
  font-size: 13px;
  font-weight: 700;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding: 8px 0;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 34px;
  color: #d5e2ed;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-note:before {
  content: "";
  height: 1px;
  width: 42px;
  background: var(--ice);
}

.trust {
  background: white;
  border-bottom: 1px solid var(--line);
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 27px 0;
}

.trustitem {
  padding: 2px 26px;
  border-right: 1px solid var(--line);
}

.trustitem:first-child {
  padding-left: 0;
}

.trustitem:last-child {
  border: 0;
}

.trustitem strong {
  font: 800 23px Manrope;
  color: var(--navy);
  display: block;
  letter-spacing: -.04em;
}

.trustitem span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

section {
  padding: 104px 0;
}

.sectionhead {
  max-width: 650px;
  margin-bottom: 46px;
}

.sectionhead .eyebrow {
  color: var(--blue);
}

.sectionhead .eyebrow:before {
  background: var(--blue);
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.05em;
  color: var(--navy);
  margin: 17px 0;
}

.sectionhead p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.services {
  background: var(--paper);
}

.servicegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service {
  background: white;
  border: 1px solid var(--line);
  padding: 30px 28px 28px;
  min-height: 235px;
  position: relative;
  transition: .25s;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 43, 70, .09);
  border-color: #c5e5f4;
}

.service .num {
  font: 700 11px Manrope;
  color: #78a4bd;
  letter-spacing: .12em;
}

.serviceicon {
  width: 48px;
  height: 48px;
  margin: 20px 0 18px;
  color: var(--blue);
}

.service h3 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -.025em;
  color: var(--navy);
}

.service p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 310px;
}

.service .arrow {
  position: absolute;
  right: 26px;
  top: 30px;
  color: #9bb4c5;
  font-size: 19px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.aboutvisual {
  position: relative;
  min-height: 440px;
  background: var(--navy);
  overflow: hidden;
}

.aboutvisual img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  opacity: .82;
}

.abouttag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--blue);
  color: white;
  padding: 22px 28px;
  font: 700 12px Manrope;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aboutcopy .eyebrow {
  color: var(--blue);
}

.aboutcopy .eyebrow:before {
  background: var(--blue);
}

.aboutcopy h2 {
  margin-bottom: 20px;
}

.aboutcopy>p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
  margin: 28px 0 32px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: #31485e;
}

.check i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #e4f5fb;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  flex-shrink: 0;
}

.process {
  background: var(--navy);
  color: white;
}

.process h2 {
  color: white;
}

.process .sectionhead p {
  color: #a9bdcf;
}

.process .eyebrow {
  color: var(--ice);
}

.process .eyebrow:before {
  background: var(--ice);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 27px 26px 12px 0;
  border-top: 1px solid #2a4560;
  position: relative;
}

.step:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--ice);
  border-radius: 50%;
}

.step b {
  font: 700 11px Manrope;
  color: var(--ice);
  letter-spacing: .15em;
}

.step h3 {
  font-size: 18px;
  margin: 18px 0 9px;
  color: white;
}

.step p {
  font-size: 13px;
  line-height: 1.7;
  color: #a9bdcf;
  max-width: 230px;
  margin: 0;
}

.contact {
  background: #f5f8fb;
}

.contactgrid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}

.contactinfo h2 {
  margin-top: 17px;
}

.contactinfo>p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 410px;
}

.contactrows {
  margin-top: 35px;
  display: grid;
  gap: 22px;
}

.contactrow {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contacticon {
  width: 40px;
  height: 40px;
  border: 1px solid #dbe7ef;
  color: var(--blue);
  display: grid;
  place-items: center;
  background: white;
}

.contactrow small {
  display: block;
  color: #7b8b9a;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 5px;
}

.contactrow strong {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.6;
}

.contactrow a:hover {
  color: var(--blue);
}

.contactpanel {
  background: white;
  padding: 42px 44px;
  border: 1px solid var(--line);
}

.contactpanel h3 {
  font-size: 23px;
  letter-spacing: -.04em;
  color: var(--navy);
  margin: 0 0 8px;
}

.contactpanel p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  font-size: 11px;
  font-weight: 700;
  color: #4c6073;
}

.field input, .field textarea {
  width: 100%;
  border: 1px solid #dfe8ef;
  background: #fbfdff;
  padding: 13px 14px;
  font: 13px 'DM Sans';
  color: var(--ink);
  outline: none;
  border-radius: 2px;
}

.field input:focus, .field textarea:focus {
  border-color: #64b7db;
}

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

.formnote {
  font-size: 10px!important;
  margin: 14px 0 0!important;
}

.contactpanel .btn {
  border: 0;
  cursor: pointer;
  margin-top: 18px;
}

.formstatus {
  font-size: 12px;
  color: #087fbd;
  margin-top: 12px;
  min-height: 18px;
}

.footer {
  background: #06162a;
  color: #91a5b8;
  padding: 28px 0;
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footerbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font: 700 12px Manrope;
  letter-spacing: .08em;
}

.footerbrand svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.footer small {
  font-size: 10px;
}

.footerlinks {
  display: flex;
  gap: 22px;
  font-size: 11px;
}

.footerlinks a:hover {
  color: white;
}

@media (max-width: 900px) {
  .brand img {
    width: 245px;
  }
  .links {
    gap: 18px;
  }
  .about {
    gap: 40px;
  }
  .contactgrid {
    gap: 35px;
  }
  .servicegrid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 36px, var(--max));
  }
  .brand img {
    width: 220px;
    max-height: 58px;
  }
  .topline .wrap {
    justify-content: center;
  }
  .topright {
    display: none;
  }
  .nav {
    height: 76px;
  }
  .links {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px 24px 28px;
    z-index: 5;
    box-shadow: 0 15px 25px #001a3020;
    flex-direction: column;
    align-items: flex-start;
  }
  .links.open {
    display: flex;
  }
  .navcta {
    display: none;
  }
  .menu {
    display: block;
  }
  .hero {
    min-height: 630px;
  }
  .hero:before {
    background: linear-gradient(90deg, rgba(4, 19, 37, .96), rgba(5, 25, 47, .73)), url('../images/pramoninis-saldymas-vizualas.png') 58% center/cover no-repeat;
  }
  .hero .wrap {
    padding: 72px 0 94px;
  }
  h1 {
    font-size: 44px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .hero-note {
    display: none;
  }
  .trust .wrap {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }
  .trustitem {
    padding: 0 12px;
    border: 0;
  }
  .trustitem:nth-child(odd) {
    padding-left: 0;
  }
  .trustitem strong {
    font-size: 21px;
  }
  section {
    padding: 74px 0;
  }
  .sectionhead {
    margin-bottom: 32px;
  }
  .servicegrid {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: 205px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .aboutvisual, .aboutvisual img {
    min-height: 300px;
    height: 300px;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .step {
    padding-right: 12px;
  }
  .contactgrid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contactpanel {
    padding: 28px 22px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footerlinks {
    flex-wrap: wrap;
  }

}

#langtoggle {
  margin-left: 12px;
  border: 1px solid #d7e3ec;
  background: #fff;
  color: #17324d;
  border-radius: 4px;
  padding: 10px 12px;
  font: 700 12px "DM Sans", sans-serif;
  cursor: pointer;
  letter-spacing: .08em;
}

#langtoggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 900px) {
  #langtoggle {
    margin-left: auto;
    margin-right: 12px;
  }
  .navcta {
    display: none;
  }

}

.brand img {
  object-fit: contain;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #0A84E8;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .brand img {
    width: 190px;
  }
  #langtoggle {
    padding: 8px 9px;
    margin-right: 8px;
  }
  .menu {
    font-size: 22px;
  }

}
