:root {
  --plg-blue: #0877a5;
  --plg-blue-dark: #075c80;
  --plg-blue-soft: #e8f5fa;
  --plg-charcoal: #55575a;
  --plg-silver: #a7a9ac;
  --ink: #20272d;
  --muted: #64717a;
  --line: #dbe3e8;
  --surface: #ffffff;
  --surface-soft: #f3f7f9;
  --surface-dark: #17262f;
  --success: #16744a;
  --danger: #a83a3a;
  --shadow-sm: 0 10px 30px rgba(24, 49, 63, 0.08);
  --shadow-lg: 0 30px 80px rgba(24, 49, 63, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(8, 119, 165, 0.4);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--plg-blue-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.top-line {
  color: #fff;
  background: var(--surface-dark);
}

.top-line .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.85rem;
}

.top-line a {
  color: #dfeef4;
}

.top-line a:hover {
  color: #fff;
}

.top-line .desktop-only {
  margin-right: auto;
}

.top-line .language-link {
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}

.top-line .language-link:hover {
  text-decoration-color: currentColor;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 227, 232, 0.88);
  box-shadow: 0 4px 22px rgba(20, 45, 59, 0.05);
  backdrop-filter: blur(15px);
}

.header-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
  width: 118px;
}

.brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  color: #3d474e;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--plg-blue-dark);
  background: var(--plg-blue-soft);
}

.nav-list .client-link {
  margin-left: 10px;
  padding-inline: 18px;
  color: #fff;
  background: var(--plg-blue);
  box-shadow: 0 8px 24px rgba(8, 119, 165, 0.22);
}

.nav-list .client-link:hover,
.nav-list .client-link[aria-current="page"] {
  color: #fff;
  background: var(--plg-blue-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 99px;
}

.menu-toggle span {
  margin-block: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(8, 119, 165, 0.15), transparent 34rem),
    linear-gradient(145deg, #f7fafb 0%, #edf4f7 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 64px solid rgba(85, 87, 90, 0.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(50px, 8vw, 96px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--plg-blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.75rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--plg-blue);
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-row.centered {
  justify-content: center;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  color: #fff;
  background: var(--plg-blue);
  border: 1px solid var(--plg-blue);
  border-radius: 12px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(8, 119, 165, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--plg-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(8, 119, 165, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  color: var(--plg-blue-dark);
  background: var(--plg-blue-soft);
}

.button.dark {
  color: #fff;
  background: var(--surface-dark);
  border-color: var(--surface-dark);
}

.button.external::after {
  content: "↗";
  font-size: 1.05rem;
}

.service-stack {
  position: relative;
  min-height: 430px;
}

.service-stack::before {
  content: "";
  position: absolute;
  inset: 42px 20px 20px 42px;
  border: 1px dashed rgba(8, 119, 165, 0.33);
  border-radius: 50%;
}

.stack-card {
  position: absolute;
  width: 220px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(219, 227, 232, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.stack-card:nth-child(1) { top: 0; left: 0; }
.stack-card:nth-child(2) { top: 64px; right: 0; }
.stack-card:nth-child(3) { top: 180px; left: 60px; }
.stack-card:nth-child(4) { right: 12px; bottom: 4px; }

.stack-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--plg-blue-dark);
}

.stack-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section.soft {
  background: var(--surface-soft);
}

.section.dark {
  color: #fff;
  background: var(--surface-dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.content-block h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p,
.content-block > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.dark .section-heading p,
.dark .content-block > p {
  color: #bed0da;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(8, 119, 165, 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-code {
  width: fit-content;
  min-width: 54px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--plg-blue-dark);
  background: var(--plg-blue-soft);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 26px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--plg-blue-dark);
  font-weight: 780;
}

.service-card .card-link::after {
  content: " →";
}

.service-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--plg-blue-dark), #083e54);
  border-color: transparent;
}

.service-card.featured .service-code {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.service-card.featured p,
.service-card.featured .card-link {
  color: #d9edf5;
}

.brand-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  padding: 32px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.brand-band img {
  width: min(300px, 100%);
  height: 140px;
  margin-inline: auto;
  object-fit: contain;
}

.brand-band .divider {
  width: 1px;
  height: 80px;
  background: var(--line);
}

.lg-logo {
  width: min(270px, 100%);
  height: auto;
  object-fit: contain;
}

.brand-band .lg-logo {
  margin-bottom: 14px;
}

.page-logo {
  width: min(180px, 48vw);
  margin-bottom: 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(24, 49, 63, 0.08);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 9vw, 112px) 0;
  background: linear-gradient(145deg, #f4f8fa, #eaf2f6);
}

.page-hero::before {
  content: attr(data-code);
  position: absolute;
  right: 3vw;
  bottom: -0.2em;
  color: rgba(8, 119, 165, 0.06);
  font-size: clamp(8rem, 24vw, 20rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.7rem, 7vw, 5.1rem);
}

.page-hero .hero-copy {
  max-width: 760px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--plg-blue-dark);
  font-weight: 750;
}

.back-link::before {
  content: "←";
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 90px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  top: 15px;
  left: 17px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--plg-blue);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.info-panel {
  position: sticky;
  top: 130px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--surface-dark), #24404f);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.info-panel .service-code {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.info-panel h3 {
  margin: 22px 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.info-panel p {
  color: #bed0da;
}

.info-panel .button {
  width: 100%;
  margin-top: 14px;
}

.info-panel .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-card .number {
  color: var(--plg-blue);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.detail-card h3 {
  margin: 18px 0 8px;
  font-size: 1.24rem;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.notice {
  margin-top: 28px;
  padding: 20px 22px;
  color: #3e4b53;
  background: #fff8df;
  border: 1px solid #eadba1;
  border-radius: 14px;
}

.notice strong {
  color: #705e14;
}

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px);
  color: #fff;
  background: linear-gradient(135deg, var(--plg-blue-dark), #083e54);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta-strip p {
  max-width: 700px;
  margin: 12px 0 0;
  color: #d4eaf3;
}

.cta-strip .button {
  color: var(--plg-blue-dark);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.contact-aside {
  padding: 30px;
  color: #fff;
  background: var(--surface-dark);
  border-radius: var(--radius-md);
}

.contact-aside h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.contact-aside p {
  color: #bfd0d9;
}

.contact-aside a {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-weight: 750;
}

.service-subject {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: var(--plg-blue-dark);
  background: var(--plg-blue-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-form {
  padding: clamp(26px, 5vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

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

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

.field label,
.checkbox-field label {
  color: #38434a;
  font-size: 0.92rem;
  font-weight: 720;
}

.required-mark {
  color: var(--danger);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cbd6dc;
  border-radius: 11px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 170px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--plg-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(8, 119, 165, 0.12);
}

.field small,
.character-count {
  color: var(--muted);
  font-size: 0.8rem;
}

.character-count {
  justify-self: end;
}

.checkbox-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--plg-blue);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 650;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  color: #0f5737;
  background: #e6f6ee;
  border: 1px solid #a9dcc2;
}

.form-status.error {
  color: #812b2b;
  background: #fdecec;
  border: 1px solid #efb7b7;
}

.client-coming {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  padding: 70px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(8, 119, 165, 0.15), transparent 32rem),
    radial-gradient(circle at 88% 80%, rgba(85, 87, 90, 0.12), transparent 30rem),
    var(--surface-soft);
}

.client-card {
  width: min(840px, 100%);
  padding: clamp(34px, 7vw, 70px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.client-logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 46px;
}

.client-logos img {
  width: min(300px, 100%);
  height: 150px;
  margin-inline: auto;
  object-fit: contain;
}

.client-logos .plus {
  color: var(--plg-silver);
  font-size: 2rem;
  font-weight: 300;
}

.client-card h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.client-card p {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  color: #e8f1f5;
  background: #101d24;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 54px;
  padding: 66px 0 48px;
}

.footer-brand > img {
  width: 190px;
  height: auto;
  margin-bottom: 22px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

.footer-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-brand .footer-logos img {
  width: auto;
  max-width: 190px;
  height: 78px;
  margin: 0;
  padding: 6px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

.footer-brand .footer-logos .footer-lg-logo {
  max-width: 135px;
}

.footer-brand p,
.footer-column a,
.footer-column p {
  color: #adc1cb;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-block: 8px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8fa7b3;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }

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

  .nav-list {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-list a {
    width: 100%;
  }

  .nav-list .client-link {
    margin: 8px 0 0;
  }

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

  .service-stack {
    width: min(540px, 100%);
    margin-inline: auto;
  }

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

  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-panel {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .top-line .container {
    justify-content: center;
  }

  .top-line .desktop-only {
    display: none;
  }

  .header-shell {
    min-height: 68px;
  }

  .brand {
    width: 110px;
  }

  .brand img {
    height: 54px;
  }

  .hero {
    padding-block: 68px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .service-stack {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .service-stack::before {
    display: none;
  }

  .stack-card {
    position: static;
    width: 100%;
  }

  .services-grid,
  .detail-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 270px;
  }

  .brand-band,
  .client-logos {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-band .divider {
    width: 80px;
    height: 1px;
    margin-inline: auto;
  }

  .cta-strip {
    grid-template-columns: 1fr;
  }

  .cta-strip .button {
    width: 100%;
  }

  .field.full,
  .checkbox-field,
  .form-actions {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
