/* Site-specific styles;
vendor files remain unchanged. */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #18334a;
  --muted: #566877;
  --accent: #216879;
  --line: #dce5e9;
  --wash: #f2f6f7;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  color: var(--ink);
}

a {
  color: var(--accent);
}

a:hover {
  color: #144c5a;
}

:focus-visible {
  outline: 3px solid #247c90;
  outline-offset: 5px;
}

section {
  padding: 88px 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  margin: 0 0 20px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 12px 20px;
  background: white;
  z-index: 10000;
}

.skip-link:focus {
  top: 12px;
}

#topbar {
  background: #eef3f5;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

#topbar .contact-info {
  gap: 22px;
}

#topbar .contact-info a {
  margin: 0;
  color: var(--ink);
}

#topbar .contact-info i {
  margin: 0;
  color: var(--accent);
}

.working-hours {
  white-space: nowrap;
}

.header,
.header.header-scrolled {
  padding: 17px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}

.header .logo span,
.footer .footer-top .footer-info .logo span {
  color: var(--ink);
  letter-spacing: -0.8px;
  font-size: 29px;
}

/* The supplied logo is a square image. Show its original emblem and wordmark
   as one compact lockup without redrawing or altering the artwork. */
.header .logo,
.footer .footer-top .footer-info .logo {
  gap: 7px;
  flex: none;
}

.header .logo .brand-mark,
.header .logo .brand-wordmark,
.footer .footer-top .footer-info .logo .brand-mark,
.footer .footer-top .footer-info .logo .brand-wordmark {
  display: block;
  flex: none;
  margin: 0;
  background-image: url("../img/brand/zeontek-original.jpg");
  background-repeat: no-repeat;
  background-size: 141px 141px;
}

.header .logo .brand-mark,
.footer .footer-top .footer-info .logo .brand-mark {
  width: 47px;
  height: 54px;
  background-position: -47px -22px;
}

.header .logo .brand-wordmark,
.footer .footer-top .footer-info .logo .brand-wordmark {
  width: 132px;
  height: 24px;
  background-position: -5px -80px;
}

/* Blend the white JPEG background into the footer's light surface. */
.footer .footer-top .footer-info .logo .brand-mark,
.footer .footer-top .footer-info .logo .brand-wordmark {
  background-color: var(--wash);
  background-blend-mode: multiply;
}

.navbar a,
.navbar a:focus {
  color: var(--ink);
  font-size: 14px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus {
  color: var(--accent);
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--accent);
  color: #fff;
  border-radius: 7px;
  padding: 11px 22px;
}
.navbar .getstarted.active,
.navbar .getstarted.active:focus {
  color: #fff;
}

.navbar .getstarted:hover {
  background: #164e5c;
  color: white;
}

.mobile-nav-toggle {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 8px;
  color: var(--ink);
  border-radius: 6px;
  transition: none;
}

.navbar-mobile {
  background: rgba(14, 37, 53, 0.92);
}

.navbar-mobile .mobile-nav-toggle {
  color: white;
}

.navbar-mobile ul {
  bottom: auto;
  max-height: calc(100dvh - 90px);
  padding: 24px 8px;
}

body.menu-open {
  overflow: hidden;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 23px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  color: #fff;
  background: #184f5d;
  transform: translateY(-2px);
}

.button-outline {
  border-color: #aebfc8;
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  color: var(--ink);
  background: #e9f0f2;
}

.hero {
  position: relative;
  height: auto;
  min-height: 680px;
  padding: 190px 0 82px;
  background: linear-gradient(115deg, #f6f8f9 0%, #edf3f4 100%);
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6px;
  background: url("../img/main-bg.jpg") center / cover no-repeat;
  filter: blur(1.5px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(246, 248, 249, 0.93) 0%,
    rgba(246, 248, 249, 0.65) 42%,
    rgba(237, 243, 244, 0.2) 100%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -1px;
  max-width: 740px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-intro {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin: 24px 0 28px;
}

.hero-intro strong,
.section-intro strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}

.hero-topics span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-topics span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid #cad9e0;
  border-radius: 20px;
  background: #ffffff80;
}

.hero-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-visual figcaption {
  padding: 22px 10px 8px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.visual-mark {
  flex: 0 0 auto;
  font-size: 23px;
  font-weight: 600;
  color: var(--accent);
  border-right: 1px solid var(--line);
  padding-right: 18px;
  line-height: 1.25;
  white-space: nowrap;
}

.visual-mark small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
}

.about .content {
  background: transparent;
  padding: 0 48px 0 0;
}

.about h2 {
  color: var(--ink);
  font-size: 32px;
  margin-bottom: 24px;
}

.about p {
  color: var(--muted);
}

.about .eyebrow {
  color: var(--accent);
}

.text-link {
  font-weight: 700;
  display: inline-block;
  margin-top: 12px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.about-directions {
  width: 100%;
  padding: 30px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.about-directions a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.about-directions a:last-child {
  border: 0;
  padding-bottom: 5px;
}

.about-directions a span {
  font-size: 12px;
  color: var(--accent);
}

.about-directions a i {
  margin-left: auto;
}

.about-directions a:hover {
  color: var(--accent);
}

.values {
  background: #f5f7f8;
  border-top: 1px solid var(--line);
}

.section-header {
  text-align: left;
  padding-bottom: 34px;
}

.section-header .eyebrow {
  font-size: 12px;
  margin: 0 0 14px;
  color: var(--accent);
  line-height: 1.6;
}

.section-header h2 {
  font-size: 34px;
  text-transform: none;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.section-header .section-intro {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--muted);
  margin-top: 16px;
}

.values .service-card {
  position: relative;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: none;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.values .service-card:hover,
.values .service-card:focus-within {
  border-color: #9bb8c4;
  box-shadow: 0 8px 26px #18334a0a;
}

.values .service-card-featured {
  border-color: #b7cdd3;
  background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
}

.values .service-card.service-card-featured > img {
  height: 220px;
}

.values .service-card.service-card-featured h3 {
  font-size: 23px;
}

.values .service-card > img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  margin: 0;
  transition: none;
}

.values .service-card:hover img {
  transform: none;
}

.service-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-number {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.values .service-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

.service-card h3 a {
  color: var(--ink);
}

.service-card h3 a:hover {
  color: var(--accent);
}

.service-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.service-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.projects {
  background: #fff;
}

.projects-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 40px;
  background: var(--wash);
}

.projects-heading h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

.projects-heading > p:last-child {
  color: var(--muted);
  margin: 0 0 26px;
}

.case-list {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(24, 51, 74, 0.035);
}

.case-cover {
  display: block;
  min-height: 310px;
  overflow: hidden;
  background: #dce5e9;
}

.case-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  max-height: 395px;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 240ms ease;
}

.case-cover:hover img {
  transform: scale(1.025);
}

.case-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(25px, 3vw, 42px);
}

.case-client {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.case-client img {
  display: block;
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: contain;
}

.case-client-text {
  min-height: 52px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.case-category {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.case-body h3 {
  margin: 0 0 15px;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.25;
}

.case-body > p:not(.case-category):not(.case-period) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.case-period {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  width: 100%;
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.case-period span {
  color: var(--muted);
}

.case-period strong {
  color: var(--ink);
  font-weight: 700;
}

.case-gallery {
  grid-column: 1 / -1;
  padding: 0 25px;
  border-top: 1px solid var(--line);
}

.case-gallery summary {
  position: relative;
  cursor: pointer;
  padding: 17px 25px 17px 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.case-gallery summary::-webkit-details-marker {
  display: none;
}

.case-gallery summary::after {
  content: "+";
  position: absolute;
  right: 1px;
  font-size: 19px;
  line-height: 1;
}

.case-gallery[open] summary::after {
  content: "−";
}

.case-gallery summary span {
  margin-left: 7px;
  color: var(--muted);
  font-weight: 400;
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 22px;
}

.case-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}

.case-gallery-grid img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.case-gallery-grid a:hover img {
  transform: scale(1.04);
}

.projects-heading-more h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.projects-heading-more > p:last-child {
  margin-bottom: 18px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-list li {
  display: flex;
  align-items: center;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.project-list .project-card-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 170px;
}

.project-card-logo img {
  display: block;
  width: min(100%, 240px);
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

.project-card-logo span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.messenger-links > span {
  color: var(--muted);
  font-size: 13px;
  margin-right: 2px;
}

.messenger-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--accent);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}

.messenger-links a:hover,
.messenger-links a:focus-visible {
  background: var(--wash);
  border-color: var(--accent);
}

.messenger-links .bi-telegram,
.messenger-links .max-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.messenger-links .bi-telegram {
  font-size: 18px;
  line-height: 1;
}

.messenger-links .max-mark {
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("../img/max-mark.svg") center / contain no-repeat;
  mask: url("../img/max-mark.svg") center / contain no-repeat;
}

.home-page {
  padding-bottom: 72px;
}

.license-ribbon {
  position: fixed;
  z-index: 995;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #eaf2f2;
  border-top: 1px solid #b7cdd3;
  box-shadow: 0 -6px 22px #18334a0b;
}

.license-ribbon-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.license-ribbon-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  font-size: 22px;
}

.license-ribbon-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  line-height: 1.4;
  font-size: 13px;
}

.license-ribbon-copy strong {
  color: var(--ink);
}

.license-ribbon-copy span {
  color: var(--muted);
}

.license-ribbon a {
  margin-left: auto;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-page .back-to-top {
  bottom: 90px;
}

.footer {
  background: #fff;
  padding: 0;
  font-size: 14px;
}

.contact-heading {
  padding-top: 70px;
  padding-bottom: 50px;
}

.contact-heading h2 {
  font-size: 34px;
}

.contact-heading > p:not(.eyebrow) {
  color: var(--muted);
  margin: 14px 0 26px;
}

.footer .footer-top {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}

.footer .footer-top .footer-contact p {
  line-height: 1.9;
}

.footer .copyright {
  text-align: left;
  color: var(--muted);
  padding: 20px 0;
  font-size: 12px;
}

.footer .credits {
  display: none;
}

/* Request form and privacy pages. */
.request-section {
  background: linear-gradient(135deg, #eaf3f5 0%, #f8fbfc 65%, #fff 100%);
  border-top: 1px solid var(--line);
}
.request-intro h2 {
  font-size: clamp(30px, 3vw, 43px);
  margin-bottom: 22px;
}
.request-intro > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 470px;
  font-size: 17px;
}
.request-contact {
  margin-top: 28px;
  font-weight: 700;
}
.request-card {
  background: #fff;
  border: 1px solid #cbdfe5;
  border-radius: 17px;
  box-shadow: 0 18px 42px rgba(24, 51, 74, 0.07);
  padding: clamp(22px, 3vw, 40px);
}
.request-card h3 {
  font-size: 25px;
  margin: 0 0 8px;
}
.request-card > p {
  color: var(--muted);
  margin-bottom: 22px;
}
.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.request-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.request-field label {
  font-weight: 700;
  font-size: 14px;
}
.request-field input,
.request-field select,
.request-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #b6cbd2;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
}
.request-field textarea {
  min-height: 120px;
  resize: vertical;
}
.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  outline: 2px solid #247c90;
  outline-offset: 1px;
}
.request-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin: 5px 0 7px;
}
.request-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}
.request-policy-link {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
}
.request-submit {
  width: 100%;
  cursor: pointer;
  border: 0;
}
.request-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.request-status {
  padding: 12px 15px;
  border-radius: 8px;
  margin: 16px 0 0;
  font-size: 14px;
}
.request-status.is-error {
  background: #fff1ef;
  color: #912b1d;
}
.request-status.is-success {
  background: #edf8f1;
  color: #165a34;
}
.request-status.is-pending {
  background: #edf5f8;
  color: var(--accent);
}
.request-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 17px 0 0;
  font-size: 13px;
}
.legal-page {
  padding-top: 165px;
  padding-bottom: 85px;
}
.legal-page article {
  max-width: 850px;
}
.legal-page h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 20px;
}
.legal-page h2 {
  font-size: 23px;
  margin: 32px 0 12px;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
}
.legal-page li {
  margin-bottom: 8px;
}
.analytics-choice {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 78px;
  width: min(520px, calc(100vw - 40px));
  padding: 20px;
  background: #fff;
  border: 1px solid #abc9d1;
  border-radius: 13px;
  box-shadow: 0 16px 40px rgba(24, 51, 74, 0.19);
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.analytics-choice[hidden] {
  display: none;
}
.analytics-choice strong {
  font-size: 16px;
}
.analytics-choice p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.analytics-choice-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 0 0 auto;
}
.analytics-choice-actions button {
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: #fff;
  color: var(--accent);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.analytics-choice-actions button[data-analytics="yes"] {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 767px) {
  .messenger-links > span {
    flex-basis: 100%;
  }
  .request-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .analytics-choice {
    left: 10px;
    right: 10px;
    bottom: 110px;
    width: auto;
    display: block;
    padding: 16px;
  }
  .analytics-choice-actions {
    flex-direction: row;
    margin-top: 12px;
  }
  .analytics-choice-actions button {
    flex: 1;
  }
}

.back-to-top {
  background: var(--accent);
  border-radius: 8px;
  width: 44px;
  height: 44px;
}

.back-to-top:hover {
  background: #184f5d;
}

.service-page {
  padding-top: 115px;
}

.service-heading {
  background: var(--wash);
  padding: 36px 0 64px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 40px;
}

.service-heading h1 {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.9px;
  max-width: 810px;
}

.service-lead {
  max-width: 710px;
  font-size: 18px;
  color: var(--muted);
  margin: 22px 0 28px;
}

.service-area {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin: -10px 0 24px;
}

.service-license {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.service-license i {
  color: var(--accent);
  margin-right: 5px;
}

.service-license a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-cover {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: contain;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.service-content {
  padding: 65px 0;
}

.service-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.detail-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.brief-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  margin: 32px 0 16px;
}

.brief-box h2 {
  font-size: 24px;
}

.brief-box p,
.brief-box li {
  color: var(--muted);
}

.brief-box ul {
  padding-left: 21px;
}

.brief-box li {
  margin: 14px 0;
  padding-left: 7px;
}

.brief-box li::marker {
  color: var(--accent);
}

.brief-box .brief-note {
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 24px 0 0;
}

.service-nav {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.service-nav h2 {
  font-size: 18px;
}

.service-nav a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 3px;
}

.service-nav a:hover,
.service-nav a[aria-current] {
  color: var(--accent);
  background: var(--wash);
}

.service-nav a[aria-current] {
  font-weight: 700;
}

@media (max-width: 991px) {
  .hero {
    padding: 157px 0 60px;
    min-height: 0;
  }
  .hero-visual {
    max-width: 580px;
  }
  .hero-visual img {
    height: 300px;
  }
  .about .content {
    padding: 0 0 32px;
  }
  section {
    padding: 60px 0;
  }
  .service-nav {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
}

@media (max-width: 575px) {
  .home-page {
    padding-bottom: 102px;
  }
  .license-ribbon-inner {
    min-height: 102px;
    gap: 10px;
  }
  .license-ribbon-copy {
    display: block;
    font-size: 12px;
  }
  .license-ribbon-copy strong,
  .license-ribbon-copy span {
    display: block;
  }
  .license-ribbon a {
    max-width: 102px;
    font-size: 11px;
    line-height: 1.35;
  }
  .home-page .back-to-top {
    bottom: 118px;
  }
  .projects-panel {
    padding: 26px 20px;
  }
  .projects-heading h2 {
    font-size: 25px;
  }
  .project-list {
    grid-template-columns: 1fr;
  }
  #topbar {
    font-size: 11px;
  }
  #topbar .contact-info {
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }
  #topbar .working-hours {
    display: none;
  }
  .hero {
    padding-top: 151px;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.1px;
  }
  .hero-visual img {
    height: 250px;
  }
  .hero-visual {
    border-radius: 14px;
  }
  .hero-visual figcaption {
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .visual-mark {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
    width: 100%;
  }
  .visual-mark small {
    display: inline;
    margin-right: 5px;
  }
  .hero-actions .button {
    flex: 1 1 100%;
    padding: 14px 12px;
  }
  .about h2,
  .section-header h2,
  .contact-heading h2 {
    font-size: 28px;
  }
  .about-directions {
    padding: 23px;
  }
  .values .service-card > img {
    height: 190px;
  }
  .values .service-card.service-card-featured > img {
    height: 205px;
  }
  .service-card-body {
    padding: 23px;
  }
  .service-heading {
    padding: 26px 0 40px;
  }
  .service-heading h1 {
    font-size: 31px;
  }
  .service-lead {
    font-size: 16px;
  }
  .brief-box {
    padding: 22px;
  }
  .service-cover {
    height: 210px;
  }
  .contact-heading {
    padding-top: 48px;
  }
}

@media (max-width: 991px) {
  .case-study {
    grid-template-columns: 1fr;
  }
  .case-cover,
  .case-cover img {
    min-height: 290px;
    max-height: 360px;
  }
  .case-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .header .logo .brand-mark,
  .footer .footer-top .footer-info .logo .brand-mark {
    width: 40px;
    height: 46px;
    background-size: 122px 122px;
    background-position: -41px -19px;
  }
  .header .logo .brand-wordmark,
  .footer .footer-top .footer-info .logo .brand-wordmark {
    width: 114px;
    height: 22px;
    background-size: 122px 122px;
    background-position: -4px -69px;
  }
  .case-cover,
  .case-cover img {
    min-height: 245px;
    max-height: 285px;
  }
  .case-body {
    padding: 25px 22px;
  }
  .case-body h3 {
    font-size: 24px;
  }
  .case-gallery {
    padding: 0 20px;
  }
  .case-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-gallery-grid img {
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
