:root {
  --ink: #0c171a;
  --ink-soft: #243338;
  --paper: #f3f1ea;
  --paper-bright: #fbfaf6;
  --line: #cfd2ca;
  --muted: #637076;
  --acid: #d8ff4f;
  --acid-dark: #b8df2f;
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(12, 23, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--acid-dark);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(12, 23, 26, 0.12);
  background: rgba(243, 241, 234, 0.9);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 10px 30px rgba(12, 23, 26, 0.08);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
  clip-path: polygon(16% 0, 100% 0, 100% 84%, 84% 100%, 0 100%, 0 16%);
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-size: 14px;
  letter-spacing: 0.095em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover {
  background: var(--acid);
  color: var(--ink);
}

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  align-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  height: 2px;
  background: var(--ink);
}

.mobile-menu nav {
  position: absolute;
  top: 54px;
  right: 0;
  display: grid;
  width: 260px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.hero {
  min-height: 780px;
  padding: 126px 0 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(12, 23, 26, 0.055) 50%, transparent 50.1%),
    var(--paper);
}

.hero-grid {
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: stretch;
  gap: 74px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 24px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: var(--ink);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6.7vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.066em;
  line-height: 0.93;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover {
  background: var(--acid);
  color: var(--ink);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: var(--white);
}

.hero-proof {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: grid;
  gap: 5px;
  padding: 20px 20px 0 0;
}

.hero-proof div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  font-size: 23px;
  letter-spacing: -0.04em;
}

.hero-proof span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  padding: 28px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 6% 100%, 0 94%);
}

.technical-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.visual-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.sweep-system {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 360px);
  height: min(70vw, 360px);
  transform: translate(-50%, -55%);
}

.sweep-ring {
  position: absolute;
  border: 1px solid rgba(216, 255, 79, 0.52);
  border-radius: 50%;
}

.ring-one {
  inset: 0;
  border-top-color: var(--acid);
  animation: rotate-slow 20s linear infinite;
}

.ring-two {
  inset: 18%;
  border-right-color: var(--acid);
  animation: rotate-back 15s linear infinite;
}

.sweep-core {
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  border: 1px solid var(--acid);
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.sweep-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), transparent);
  transform-origin: left;
  animation: scan 9s linear infinite;
}

.sweep-arm::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
  box-shadow: 0 0 18px var(--acid);
}

.visual-card {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 67px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 23, 26, 0.78);
  backdrop-filter: blur(9px);
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(216, 255, 79, 0.14);
}

.visual-card div {
  display: grid;
  gap: 4px;
}

.visual-card small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.visual-card strong {
  font-size: 14px;
}

.visual-caption {
  position: absolute;
  right: 28px;
  bottom: 22px;
  left: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 10px;
}

@keyframes rotate-slow {
  to { transform: rotate(360deg); }
}

@keyframes rotate-back {
  to { transform: rotate(-360deg); }
}

@keyframes scan {
  to { transform: rotate(360deg); }
}

.service-strip {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--acid);
}

.service-strip-track {
  display: flex;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.section {
  padding: 112px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.12fr 0.7fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-intro .section-kicker {
  grid-column: 1 / -1;
}

.section h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro > p:last-child {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
  transition: background 220ms ease, color 220ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  background: var(--acid);
  content: "";
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0;
  transform: translate(30px, -30px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-card:hover {
  background: var(--ink);
  color: var(--white);
}

.service-card:hover::before {
  opacity: 1;
  transform: translate(0, 0);
}

.service-card:last-child {
  grid-column: 1 / -1;
  min-height: 290px;
}

.service-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.service-number {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.service-arrow {
  font-size: 18px;
  transition: transform 200ms ease;
}

.service-card:hover .service-arrow {
  color: var(--ink);
  transform: translate(4px, -4px);
}

.service-card h3 {
  position: relative;
  z-index: 2;
  max-width: 510px;
  margin-bottom: 13px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.045em;
}

.service-card p {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-card:hover p,
.service-card:hover .service-number {
  color: rgba(255, 255, 255, 0.67);
}

.service-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-card:hover .service-tag {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--acid);
}

.method-section {
  background: var(--ink);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 100px;
}

.section-kicker.light {
  color: var(--acid);
}

.method-copy {
  position: sticky;
  top: 124px;
  align-self: start;
}

.method-copy h2 {
  max-width: 520px;
  margin-bottom: 28px;
}

.method-copy > p:not(.section-kicker) {
  max-width: 510px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-size: 13px;
  font-weight: 800;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.process-list > li > span {
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.process-list div {
  display: grid;
  gap: 8px;
}

.process-list strong {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.process-list p {
  max-width: 530px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.6;
}

.sectors-section {
  background: var(--paper-bright);
}

.sectors-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.sectors-grid h2 {
  max-width: 650px;
}

.sector-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.sector-list span {
  position: relative;
  padding: 19px 40px 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 700;
}

.sector-list span::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.contact-section {
  padding: 96px 0;
  background: var(--paper);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 76px;
  padding: 64px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.contact-panel::after {
  position: absolute;
  top: -100px;
  left: 28%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(216, 255, 79, 0.3);
  border-radius: 50%;
  content: "";
}

.contact-copy,
.contact-options {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  margin-bottom: 26px;
}

.contact-copy > p:last-child {
  max-width: 510px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.7;
}

.contact-options {
  display: grid;
  align-content: start;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-options a {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 22px 48px 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: padding-left 180ms ease, color 180ms ease;
}

.contact-options a:hover {
  padding-left: 12px;
  color: var(--acid);
}

.contact-options small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-options strong {
  overflow-wrap: anywhere;
  font-size: 16px;
}

.contact-options a > span {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--acid);
  font-size: 18px;
  transform: translateY(-50%);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.footer-inner {
  display: grid;
  min-height: 138px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(12, 23, 26, 0.22);
  font-size: 11px;
  font-weight: 900;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding-top: 110px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .section-intro,
  .method-grid,
  .sectors-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .method-grid,
  .sectors-grid {
    gap: 44px;
  }

  .method-copy {
    position: static;
  }

  .contact-panel {
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-block: 34px;
  }
}

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

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name strong {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 38px;
    background: var(--paper);
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: space-between;
  }

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

  .hero-proof div,
  .hero-proof div + div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .hero-visual {
    min-height: 430px;
    padding: 20px;
  }

  .sweep-system {
    width: 280px;
    height: 280px;
  }

  .visual-card {
    right: 20px;
    bottom: 55px;
    left: 20px;
  }

  .visual-caption {
    right: 20px;
    left: 20px;
  }

  .service-strip-track {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    padding-inline: 16px;
    animation: ticker 24s linear infinite;
  }

  @keyframes ticker {
    to { transform: translateX(-38%); }
  }

  .section {
    padding: 82px 0;
  }

  .section-intro {
    margin-bottom: 34px;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(2.5rem, 12vw, 3.55rem);
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 300px;
    padding: 24px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .contact-section {
    padding: 54px 0;
  }

  .contact-panel {
    padding: 38px 24px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  }

  .contact-options strong {
    font-size: 14px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
