@font-face {
  font-family: Schibsted;
  src: url("./fonts/SchibstedGrotesk-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #102033;
  --muted: #516174;
  --blue: #245ce9;
  --line: #dce3eb;
  --paper: #fff;
  --soft: #f3f6fa;
  --radius: 5px;
  --space: clamp(64px, 8vw, 112px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Schibsted, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 5.2vw, 76px);
}
h2 {
  font-size: clamp(32px, 3.6vw, 50px);
}
h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
}
p + p {
  margin-top: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #245ce9;
  outline-offset: 5px;
}
.button:focus-visible {
  outline-offset: 6px;
}
section[id] {
  scroll-margin-top: 18px;
}
.wrap {
  width: min(1248px, calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding-block: var(--space);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 50;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
[hidden] {
  display: none !important;
}
.header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.035em;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.header nav {
  display: none;
}
.header-inner > .button {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 22px;
  background: var(--blue);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 550;
  line-height: 1.35;
  text-align: center;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 15px;
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: #abb9c9;
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
.icon-whatsapp {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: none;
  mask-image: none;
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.icon-plus {
  mask-image: url("./icons/plus.svg");
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #a0adc0;
  text-decoration-thickness: 1px;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  min-height: 44px;
  min-width: 64px;
  padding: 6px 12px;
  cursor: pointer;
}
.header .mobile-nav:not([hidden]) {
  display: flex;
  flex-direction: column;
  padding-block: 6px 16px;
  gap: 0;
}
.mobile-nav a {
  padding: 10px 0;
  min-height: 44px;
}
.hero {
  padding-top: clamp(46px, 6vw, 80px);
}
.hero-copy {
  text-align: center;
}
.hero-copy h1 {
  max-width: 1080px;
  margin: auto;
}
.hero-copy > p {
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 740px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.clients {
  padding-block: 64px 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.clients h2 {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
}
/* Optical frames preserve original pixels and proportions; compensate only for intrinsic margins. */
.client-logos {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 12px;
}
.client-logos li {
  width: calc(50% - 6px);
  min-width: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 140px;
  height: 78px;
  overflow: hidden;
  border-radius: 3px;
}
.client-logos img {
  object-fit: contain;
  max-width: none;
  max-height: none;
  flex: 0 0 auto;
}
.logo-camymar img {
  width: 166px;
}
.logo-atipak img {
  width: 66px;
}
.logo-nelly img {
  width: 100px;
}
.logo-greens {
  width: 118px;
  height: 70px;
  background: #030238;
}
.logo-greens img {
  width: 140px;
}
.logo-jhc img {
  width: 112px;
}
.logo-yasui img {
  width: 138px;
}
.logo-ed {
  width: 38px;
  height: 38px;
}
.logo-ed img {
  width: 50px;
}
.logo-wordmark {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.logo-bcc {
  width: 140px;
  height: 70px;
}
.logo-bcc img {
  width: 260px;
}
.logo-libros {
  width: 96px;
}
.logo-libros img {
  width: 132px;
}
.logo-cowler img {
  width: 120px;
}
.logo-edmalac img {
  width: 78px;
}
.logo-checa img {
  width: 70px;
}
.logo-promota {
  width: 118px;
  height: 70px;
}
.logo-promota img {
  width: 166px;
}
.own-products {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  flex-wrap: wrap;
}

.own-products ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.own-products li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.own-products img {
  width: 134px;
}
.own-products .dasflow-product img {
  width: 30px;
}
.dasflow-product span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-heading {
  display: grid;
  gap: 24px;
  margin-bottom: 36px;
}
.section-heading p {
  font-size: 18px;
  color: var(--muted);
  max-width: 47ch;
  line-height: 1.6;
}
.services .section-heading {
  display: block;
  margin-bottom: 32px;
}
.services .section-heading h2 {
  text-wrap: balance;
}
.services .section-heading > p {
  max-width: 66ch;
  margin-top: 18px;
}
.service-columns {
  display: grid;
  gap: 20px;
}
.service {
  padding: 24px;
  background: var(--soft);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.service-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-intro p {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}
.service-intro img {
  width: 112px;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
  border: 1px solid #c1cbd8;
}
.service-list {
  margin-top: 24px;
}
.service-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.service-list strong {
  display: block;
  font-weight: 550;
  font-size: 15px;
}
.service-list span {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 3px;
}
.service-end {
  margin-top: auto;
  padding-top: 22px;
}
.service-end > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.service-end .button {
  background: #fff;
}
.scope-note {
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 110ch;
  line-height: 1.7;
}
.process-section {
  background: var(--soft);
  padding-block: var(--space);
}
.process-list {
  display: grid;
  gap: 28px;
}
.process-list li {
  border-top: 1px solid #b9c5d5;
  padding-top: 20px;
}
.step-number {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #526580;
  margin-bottom: 22px;
}
.process-list h3 {
  font-size: 23px;
}
.process-list p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}
.process-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 36px;
  max-width: 96ch;
}
.continuity {
  border-bottom: 1px solid var(--line);
}
.continuity-columns {
  display: grid;
  gap: 32px;
}
.continuity-columns h3 {
  font-size: 23px;
  margin-bottom: 18px;
}
.continuity-columns p {
  color: var(--muted);
  max-width: 54ch;
}
.faq-section {
  display: grid;
  gap: 32px;
}
.faq-heading p {
  margin-top: 20px;
  color: var(--muted);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
  min-height: 64px;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list details[open] summary .icon-plus {
  transform: rotate(45deg);
}
.faq-list summary .icon {
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.faq-list details p {
  padding: 0 32px 22px 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 74ch;
}
.faq-list details p + p {
  margin-top: 0;
}
.final-section {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding-block: var(--space);
}
.final-section h2 {
  max-width: 880px;
  margin: auto;
}
.final-section p {
  margin-top: 24px;
  color: #c6d3e1;
  font-size: 18px;
}
.final-section .button {
  margin-top: 30px;
}
.footer {
  padding-block: 14px;
}
.footer > .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.footer .brand {
  font-size: 21px;
}
.footer p,
.footer > .wrap > span {
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 600px) {
  .wrap {
    width: min(1248px, calc(100% - 64px));
  }
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
  .continuity-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .section-heading {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 40px;
  }
  .section-heading p {
    font-size: 17px;
  }
  .continuity-columns {
    gap: 56px;
  }
}
@media (min-width: 1000px) {
  .header nav {
    display: flex;
    gap: 30px;
    font-size: 15px;
    color: var(--muted);
  }
  .header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .header nav a:hover {
    color: var(--ink);
  }
  .header-inner > .button {
    display: inline-flex;
  }
  .menu-toggle,
  .header .mobile-nav {
    display: none !important;
  }
  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
  .faq-section {
    grid-template-columns: 0.8fr 1.4fr;
    gap: 80px;
  }

  .service h3 {
    font-size: 27px;
  }
  .section-heading p {
    font-size: 18px;
  }
  .continuity-columns {
    gap: 64px;
  }
}
@media (max-width: 599px) {
  .hero-copy h1 {
    font-size: clamp(32px, 8.9vw, 48px);
    line-height: 1.12;
  }
  .hero-copy > p {
    margin-top: 22px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
  }
  .hero-actions .button {
    width: 100%;
    max-width: 360px;
  }

  .clients {
    padding-block: 44px 40px;
  }
  .section-heading h2 br {
    display: none;
  }
  .service h3 {
    font-size: 25px;
  }
  .process-list {
    gap: 28px;
  }
  .process-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 14px;
  }
  .step-number {
    grid-row: 1/3;
    margin: 4px 0 0;
  }
  .process-list p {
    grid-column: 2;
  }
  .continuity-columns {
    gap: 32px;
  }
  .faq-list summary {
    font-size: 16px;
    gap: 15px;
  }
  .footer > .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
  }
  .footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 12px;
  }
  .footer > .wrap > span {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Optical viewport of the unmodified original, whose mark occupies x173..627/y806..1193 of 2000px. */
.brand-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 40px;
  overflow: hidden;
  flex: 0 0 42px;
}
.brand .brand-mark img {
  position: absolute;
  max-width: none;
  width: 180px;
  height: 180px;
  left: -14px;
  top: -70px;
}

.fallback-nav {
  display: flex;
  gap: 20px;
  padding-bottom: 12px;
}
.fallback-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (max-width: 599px) {
  .brand .brand-mark img {
    width: 180px;
    height: 180px;
  }
}
@media (min-width: 1000px) {
  .fallback-nav {
    display: none;
  }
}

@media (min-width: 390px) {
  .service-intro {
    grid-template-columns: 1fr 96px;
    align-items: start;
    gap: 16px;
  }
  .service-intro img {
    width: 96px;
  }
}
@media (min-width: 600px) {
  .client-logos li {
    width: calc(25% - 12px);
  }
  .services .service-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .service-intro {
    grid-template-columns: 1fr;
  }
  .service-intro img {
    width: 112px;
  }
}
@media (min-width: 1000px) {
  .client-logos {
    gap: 24px;
  }
  .client-logos li {
    width: 148px;
  }
  .service {
    padding: 32px;
  }
  .service-intro {
    grid-template-columns: 1fr 112px;
    gap: 20px;
  }
  .service-list li {
    min-height: 86px;
  }
  .service-end > p {
    min-height: 42px;
  }
}
@media (max-width: 599px) {
  .services .section-heading > p {
    font-size: 17px;
  }
}
/* Hover is pointer-only; keyboard focus stays immediate. */
@media (hover: hover) and (pointer: fine) {
  .quiet-link,
  .header nav a {
    transition:
      color 180ms ease,
      text-decoration-color 180ms ease;
  }
  .service-end .button:hover {
    background: #e9eef9;
  }
}

/* Shared rows align the two service paths at every two-column width. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 600px) {
    .services .service-columns {
      grid-template-rows: auto auto auto;
    }
    .service {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .service-list {
      display: grid;
      grid-template-rows: repeat(3, 1fr);
    }
    .service-end {
      margin-top: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .service-end .button {
      margin-top: auto;
      max-width: 100%;
    }
  }
}

.portfolio-link {
  margin-top: 22px;
  font-size: 14px;
}
/* Short tactile feedback on touch as well as mouse; focus/keyboard remain immediate. */
@media (prefers-reduced-motion: no-preference) {
  .button,
  .menu-toggle {
    transition:
      transform 120ms cubic-bezier(0.16, 1, 0.3, 1),
      background-color 180ms ease,
      border-color 180ms ease;
  }
  .button:active:not(:focus-visible),
  .menu-toggle:active:not(:focus-visible) {
    transform: scale(0.98);
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #1747bd;
  }
  .button-outline:hover {
    background: var(--soft);
    border-color: var(--ink);
  }
  .button-light:hover {
    background: #e9efff;
  }
  .quiet-link:hover {
    text-decoration-color: var(--blue);
    color: var(--blue);
  }
}
