:root {
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  color: #111;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --yellow: #ffd000;
  --ink: #111;
  --muted: #696969;
  --line: #e7e7e7;
  --paper: #f5f5f3;
  --page-width: 1280px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #a98200; outline-offset: 4px; }
::selection { color: #111; background: var(--yellow); }
.page-shell { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
.section-space { padding-block: clamp(82px, 9vw, 126px); }

.skip-link {
  position: fixed; z-index: 300; top: 12px; left: 12px; padding: 12px 16px;
  transform: translateY(-160%); border-radius: 3px; background: var(--yellow);
  color: var(--ink); font-weight: 750;
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin: 0 0 19px;
  color: #726000; font-size: .7rem; font-weight: 800; letter-spacing: .17em;
  line-height: 1.4; text-transform: uppercase;
}
.eyebrow > span { width: 26px; height: 2px; background: var(--yellow); }
.button {
  display: inline-flex; min-height: 55px; align-items: center; justify-content: center;
  gap: 18px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  font-size: .86rem; font-weight: 750; text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--yellow { background: var(--yellow); color: #111; }
.button--yellow:hover { background: #f0c300; }
.button--dark { background: #111; color: #fff; }
.button--dark:hover { background: #333; }
.button--small { min-height: 43px; padding-inline: 17px; font-size: .78rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 12px; color: #111;
  font-size: .83rem; font-weight: 750; text-decoration: none;
}
.text-link span { color: #8e7200; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }

/* Navigation */
.site-header {
  position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgb(0 0 0 / 8%);
  background: rgb(255 255 255 / 96%); backdrop-filter: blur(14px);
}
.site-header__inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #111; text-decoration: none; }
.brand__symbol { width: 35px; height: 35px; flex: 0 0 auto; }
.brand__name { font-size: 1.27rem; font-weight: 900; letter-spacing: .035em; }
.brand__divider { width: 1px; height: 27px; margin-inline: 6px; background: #d5d5d5; }
.brand__unit { font-size: .77rem; font-weight: 650; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.site-nav > a:not(.button) {
  position: relative; padding-block: 10px; color: #363636; font-size: .82rem;
  font-weight: 650; text-decoration: none;
}
.site-nav > a:not(.button)::after {
  position: absolute; right: 0; bottom: 3px; left: 0; height: 2px;
  transform: scaleX(0); transform-origin: left; background: var(--yellow);
  content: ""; transition: transform 160ms ease;
}
.site-nav > a:not(.button):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center; gap: clamp(46px, 6vw, 78px); padding-block: clamp(58px, 6.5vw, 88px);
}
.hero__copy { max-width: 620px; }
.hero__copy h1 {
  max-width: 570px; margin: 0; font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 760; letter-spacing: -.075em; line-height: .99;
}
.hero__copy h1 em, .section-heading h2 em, .apcos-support h2 em, .contact h2 em {
  color: #9b7900; font-style: normal;
}
.hero__description {
  max-width: 540px; margin: 25px 0 0; color: #5f5f5f;
  font-size: 1rem; line-height: 1.8;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 32px; }
.hero__services {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 54px; color: #4b4b4b; font-size: .68rem; font-weight: 720;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero__services i { width: 4px; height: 4px; border-radius: 50%; background: #c3a000; }
.hero__visual { 
  position: relative; min-width: 0; margin: 0; aspect-ratio: 1.12; max-height: 590px;
  background: #d3d5cd;
}
.hero__visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero__visual > img[hidden] { display: none; }
.hero__fallback { position: absolute; inset: 0; display: none; overflow: hidden; background: #d3d5cd; }
.hero__fallback svg { width: 100%; height: 100%; }
.hero__visual--fallback .hero__fallback { display: block; }
.hero__image-shade {
  position: absolute; inset: 54% 0 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 72%), transparent);
}
.hero__caption {
  position: absolute; right: 25px; bottom: 24px; left: 25px;
  display: flex; align-items: center; gap: 13px; color: #fff;
}
.hero__caption-mark { width: 3px; height: 37px; background: var(--yellow); }
.hero__caption strong, .hero__caption small { display: block; }
.hero__caption strong { font-size: .84rem; letter-spacing: .02em; }
.hero__caption small { margin-top: 4px; color: rgb(255 255 255 / 73%); font-size: .7rem; }
.hero__caption .hero__illustration-note { margin: 0 0 0 auto; font-size: .67rem; }
.hero__corner { position: absolute; top: -12px; right: -12px; width: 64px; height: 64px; border-top: 3px solid var(--yellow); border-right: 3px solid var(--yellow); }
.hero__rule { height: 5px; background: linear-gradient(90deg, var(--yellow) 0 18%, #111 18% 100%); }

/* Services */
.services { background: var(--paper); }
.section-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 36px;
  margin-bottom: 43px;
}
.section-heading > div { max-width: 720px; }
.section-heading h2, .apcos-support h2, .contact h2 {
  margin: 0; font-size: clamp(2.25rem, 4.5vw, 3.8rem); font-weight: 730;
  letter-spacing: -.065em; line-height: 1.04;
}
.section-heading__description {
  max-width: 400px; margin: 0 0 4px; color: #686868; font-size: .9rem; line-height: 1.75;
}
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card {
  display: flex; min-height: 304px; flex-direction: column; padding: 26px 24px 24px;
  border: 1px solid #e4e4e1; background: #fff; transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgb(0 0 0 / 7%); }
.service-card__top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 28px; }
.service-card__number { color: #818181; font-size: .67rem; font-weight: 750; letter-spacing: .1em; }
.service-card__top svg {
  width: 39px; height: 39px; padding: 7px; overflow: visible;
  border: 1px solid #e9e3c8; color: #735c00;
}
.service-card__top svg path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.service-card h3 { margin: 0; font-size: 1.15rem; font-weight: 740; letter-spacing: -.035em; }
.service-card p { margin: 11px 0 25px; color: #696969; font-size: .8rem; line-height: 1.65; }
.service-card .text-link { margin-top: auto; }

/* Owner callout */
.owner-strip { padding-block: 36px; background: var(--yellow); }
.owner-strip__inner {
  display: grid; grid-template-columns: 1fr minmax(220px, .8fr) auto;
  align-items: center; gap: 42px;
}
.owner-strip .eyebrow { margin-bottom: 8px; color: #4b3b00; }
.owner-strip h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.15rem); letter-spacing: -.05em; }
.owner-strip__inner > p { margin: 0; color: #3f350e; font-size: .82rem; line-height: 1.65; }
.owner-strip .button { white-space: nowrap; }

/* Process */
.process { background: #fff; }
.section-heading--process { margin-bottom: 54px; }
.process__steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin: 0; padding: 0; list-style: none;
}
.process-step {
  display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start;
  padding-top: 22px; border-top: 1px solid #dcdcdc;
}
.process-step__number {
  display: grid; width: 39px; height: 39px; place-items: center;
  background: #111; color: var(--yellow); font-size: .69rem; font-weight: 800;
}
.process-step h3 { margin: 4px 0 9px; font-size: 1rem; font-weight: 750; }
.process-step p { max-width: 285px; margin: 0; color: #6a6a6a; font-size: .82rem; line-height: 1.7; }

/* APCOS technical support */
.apcos-support { padding-block: clamp(66px, 8vw, 105px); background: #171819; color: #fff; }
.apcos-support__grid { display: grid; grid-template-columns: .52fr 1.4fr .55fr; align-items: center; gap: 55px; }
.apcos-support__brand { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 900; letter-spacing: .04em; }
.support__symbol { width: 45px; height: 45px; flex: 0 0 auto; }
.apcos-support__copy .eyebrow { color: var(--yellow); }
.apcos-support h2 { max-width: 720px; font-size: clamp(2.15rem, 4vw, 3.55rem); }
.apcos-support h2 em { color: var(--yellow); }
.apcos-support__copy > p:not(.eyebrow) { max-width: 640px; margin: 20px 0 22px; color: rgb(255 255 255 / 69%); font-size: .9rem; line-height: 1.75; }
.text-link--light { color: #fff; }
.text-link--light span { color: var(--yellow); }
.apcos-support__side-note { display: flex; flex-direction: column; gap: 13px; color: rgb(255 255 255 / 66%); font-size: .69rem; line-height: 1.5; }
.apcos-support__line { width: 45px; height: 2px; background: var(--yellow); }

/* Contact and footer */
.contact { background: #f4f4f2; text-align: center; }
.contact__inner { display: flex; align-items: center; flex-direction: column; }
.contact .eyebrow { justify-content: center; }
.contact h2 { max-width: 820px; }
.contact__inner > p:not(.eyebrow) { margin: 18px 0 27px; color: #696969; font-size: .94rem; line-height: 1.7; }
.contact__inner > small { margin-top: 17px; color: #777; font-size: .7rem; }
.site-footer { background: #111; color: #fff; }
.site-footer__main {
  display: flex; min-height: 120px; align-items: center; justify-content: space-between; gap: 30px;
}
.brand--footer { color: #fff; }
.brand--footer .brand__divider { background: rgb(255 255 255 / 30%); }
.site-footer__main > p { margin: 0; color: rgb(255 255 255 / 58%); font-size: .78rem; }
.site-footer__main-link, .site-footer__bottom a { color: rgb(255 255 255 / 81%); font-size: .75rem; text-decoration: none; }
.site-footer__main-link span { color: var(--yellow); }
.site-footer__bottom {
  display: flex; min-height: 58px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 15%); color: rgb(255 255 255 / 51%); font-size: .69rem;
}
.whatsapp-float {
  position: fixed; z-index: 90; right: 22px; bottom: 22px;
  display: inline-flex; min-height: 50px; align-items: center; gap: 9px; padding: 0 17px;
  border: 1px solid rgb(255 255 255 / 20%); border-radius: 30px;
  background: #111; box-shadow: 0 6px 24px rgb(0 0 0 / 23%); color: #fff;
  font-size: .76rem; font-weight: 720; text-decoration: none;
}
.whatsapp-float svg { width: 21px; height: 21px; fill: var(--yellow); }

@media (max-width: 1080px) {
  .page-shell { width: min(calc(100% - 48px), var(--page-width)); }
  .hero__grid { gap: 48px; }
  .hero__copy h1 { font-size: clamp(2.8rem, 5.3vw, 3.9rem); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 280px; }
  .owner-strip__inner { grid-template-columns: 1fr 1fr; gap: 22px 34px; }
  .owner-strip__inner > p { grid-column: 1; }
  .owner-strip .button { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  .apcos-support__grid { grid-template-columns: .4fr 1.6fr; }
  .apcos-support__side-note { display: none; }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 72px; }
  .page-shell { width: min(calc(100% - 40px), var(--page-width)); }
  .section-space { padding-block: 74px; }
  .site-header__inner { min-height: 70px; }
  .brand__symbol { width: 31px; height: 31px; }
  .brand__name { font-size: 1.12rem; }
  .brand__unit { font-size: .7rem; }
  .brand__divider { height: 23px; margin-inline: 3px; }
  .menu-toggle {
    display: flex; width: 43px; height: 43px; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px; border: 1px solid #e4e4e4;
    border-radius: 2px; background: #fff; cursor: pointer;
  }
  .menu-toggle span { width: 18px; height: 2px; background: #111; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 69px; right: 0; left: 0; display: none; align-items: stretch;
    flex-direction: column; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
    background: #fff; box-shadow: 0 15px 25px rgb(0 0 0 / 7%);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid #ededed; }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 13px; }
  .hero__grid { grid-template-columns: 1fr; gap: 38px; padding-block: 67px 52px; }
  .hero__copy { max-width: 650px; }
  .hero__copy h1 { max-width: 620px; font-size: clamp(3rem, 9vw, 4.65rem); }
  .hero__description { font-size: .94rem; }
  .hero__services { gap: 9px; margin-top: 35px; font-size: .61rem; }
  .hero__visual { width: 100%; aspect-ratio: 1.25; max-height: 480px; }
  .hero__corner { right: -7px; width: 45px; height: 45px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 32px; }
  .section-heading__description { max-width: 560px; }
  .services__grid { gap: 10px; }
  .service-card { min-height: 280px; padding: 21px 19px; }
  .service-card__top { margin-bottom: 22px; }
  .owner-strip__inner { grid-template-columns: 1fr; gap: 14px; }
  .owner-strip__inner > p { grid-column: auto; }
  .owner-strip .button { grid-column: auto; grid-row: auto; justify-self: start; margin-top: 8px; }
  .process__steps { grid-template-columns: 1fr; gap: 25px; }
  .process-step { grid-template-columns: 45px 1fr; }
  .apcos-support__grid { grid-template-columns: 1fr; gap: 28px; }
  .apcos-support__brand { font-size: 1.3rem; }
  .support__symbol { width: 39px; height: 39px; }
  .site-footer__main { align-items: start; flex-direction: column; justify-content: center; gap: 16px; padding-block: 27px; }
}

@media (max-width: 460px) {
  .page-shell { width: min(calc(100% - 32px), var(--page-width)); }
  .brand { gap: 6px; }
  .brand__symbol { width: 28px; height: 28px; }
  .brand__name { font-size: 1rem; }
  .brand__unit { font-size: .65rem; }
  .brand__divider { margin-inline: 2px; }
  .hero__copy h1 { font-size: clamp(2.75rem, 12vw, 3.6rem); }
  .hero__actions { align-items: start; flex-direction: column; gap: 17px; }
  .hero__services { gap: 7px; font-size: .55rem; letter-spacing: .04em; }
  .hero__services i { width: 3px; height: 3px; }
  .hero__visual { aspect-ratio: 1.03; }
  .hero__caption { right: 14px; bottom: 15px; left: 14px; gap: 9px; }
  .hero__caption strong { font-size: .75rem; }
  .hero__caption small { font-size: .63rem; }
  .hero__caption .hero__illustration-note { font-size: .58rem; }
  .section-heading h2, .contact h2 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .services__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 248px; }
  .owner-strip h2 { font-size: 1.65rem; }
  .apcos-support h2 { font-size: 2.45rem; }
  .contact__inner > p:not(.eyebrow) { font-size: .86rem; }
  .site-footer__bottom { align-items: start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 13px; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 45px; padding-inline: 14px; }
}

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