
:root {
  --ink: #05090d;
  --navy: #08111a;
  --panel: #0e1821;
  --panel-soft: #121e28;
  --line: #26343f;
  --line-bright: #40515f;
  --orange: #ff5b0a;
  --orange-bright: #ff6b1b;
  --cream: #f4efe4;
  --muted: #a9b2b9;
  --heading: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--orange); color: #fff; }

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgb(5 9 13 / 90%);
  border-bottom: 1px solid rgb(72 89 101 / 55%);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  height: 84px;
  padding: 0 clamp(24px, 4vw, 72px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: baseline;
  display: inline-flex;
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  width: max-content;
}
.brand span { color: var(--orange); font-size: 34px; margin-right: 7px; }
.desktop-nav { align-items: center; display: flex; gap: clamp(32px, 4vw, 68px); height: 100%; }
.desktop-nav a { align-items: center; color: #d9d7d0; display: flex; font-size: 15px; height: 100%; position: relative; }
.desktop-nav a::after {
  background: var(--orange); bottom: -1px; content: ""; height: 3px; left: 0;
  position: absolute; transform: scaleX(0); transform-origin: left;
  transition: transform 180ms ease; width: 100%;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.header-contact { color: var(--orange-bright); font-size: 12px; font-weight: 700; justify-self: end; letter-spacing: .14em; }
.header-contact span { font-size: 18px; margin-left: 18px; }
.mobile-nav { display: none; justify-self: end; position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { background: var(--cream); display: block; height: 2px; margin: 5px 0; width: 26px; }
.mobile-nav nav {
  background: #0b141c; border: 1px solid var(--line); display: grid; min-width: 230px;
  padding: 8px; position: absolute; right: 0; top: 44px;
}
.mobile-nav nav a { border-bottom: 1px solid var(--line); padding: 16px; }
.mobile-nav nav a:last-child { border-bottom: 0; }

.hero {
  align-items: center;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, #07101a 0%, rgb(7 16 26 / 97%) 28%, rgb(7 16 26 / 68%) 48%, rgb(7 16 26 / 8%) 73%),
    linear-gradient(180deg, transparent 70%, #05090d 100%),
    url("/er-hero-workbench.png");
  background-position: center; background-repeat: no-repeat; background-size: cover;
  isolation: isolate; min-height: calc(100vh - 84px); overflow: hidden;
  padding: clamp(72px, 9vh, 118px) clamp(24px, 6vw, 92px); position: relative;
}
.hero-grid {
  background-image: linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 32px 32px; inset: 0 52% 0 0; mask-image: linear-gradient(90deg, #000, transparent);
  pointer-events: none; position: absolute; z-index: -1;
}
.hero::before, .hero::after {
  border-color: var(--orange); border-style: solid; content: ""; height: 76px;
  left: clamp(24px, 3.4vw, 52px); position: absolute; width: 76px;
}
.hero::before { border-width: 1px 0 0 1px; top: 58px; }
.hero::after { border-width: 0 0 1px 1px; bottom: 58px; }
.hero-content { max-width: 760px; position: relative; z-index: 1; }
.eyebrow {
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  margin: 0 0 22px; text-transform: uppercase;
}
.eyebrow span, .section-heading > .eyebrow, .experience-copy > .eyebrow { color: var(--orange-bright); }
.hero h1 {
  font-family: var(--heading); font-size: clamp(58px, 7vw, 110px); font-weight: 900;
  letter-spacing: -.055em; line-height: .88; margin: 0; max-width: 850px; text-transform: uppercase;
}
.hero h1 em { color: var(--orange-bright); font-style: normal; }
.hero-copy { color: #c4c7c8; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.65; margin: 32px 0 28px; max-width: 680px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.trust-list span {
  align-items: center; background: rgb(8 17 26 / 72%); border: 1px solid var(--line-bright);
  color: #d7d5cf; display: inline-flex; font-size: 12px; min-height: 42px; padding: 0 17px;
}
.trust-list span::before {
  border: 1px solid var(--orange); border-radius: 50%; content: ""; height: 7px;
  margin-right: 10px; width: 7px;
}
.button {
  align-items: center; display: inline-flex; font-size: 16px; font-weight: 700; gap: 13px;
  min-height: 62px; padding: 0 21px 0 24px; transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.button svg, .floating-whatsapp svg {
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6;
}
.button svg { height: 26px; width: 26px; }
.button-primary { background: var(--orange); box-shadow: 8px 8px 0 rgb(255 91 10 / 18%); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--orange-bright); transform: translateY(-3px); }
.button-arrow { border-left: 1px solid rgb(255 255 255 / 35%); font-size: 21px; margin-left: 10px; padding-left: 18px; }

.section-shell { margin: 0 auto; max-width: 1440px; padding-left: clamp(24px, 5vw, 76px); padding-right: clamp(24px, 5vw, 76px); }
.services { padding-bottom: clamp(90px, 10vw, 150px); padding-top: clamp(90px, 10vw, 150px); }
.section-heading { align-items: end; display: grid; gap: 0 48px; grid-template-columns: 1.2fr .8fr; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .experience-copy h2, .contact-panel h2 {
  font-family: var(--heading); font-size: clamp(44px, 5vw, 72px); font-weight: 900;
  letter-spacing: -.04em; line-height: .95; margin: 0; text-transform: uppercase;
}
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; margin: 0; max-width: 520px; }
.service-grid { display: grid; gap: 1px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-card {
  background: linear-gradient(140deg, rgb(255 255 255 / 4%), transparent 46%), var(--panel);
  border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 360px;
  padding: 24px; position: relative; transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.service-card::after { background: var(--orange); content: ""; height: 2px; left: 24px; position: absolute; top: 97px; transition: width 200ms ease; width: 24px; }
.service-card:hover {
  background: linear-gradient(140deg, rgb(255 91 10 / 9%), transparent 48%), var(--panel-soft);
  border-color: var(--orange); transform: translateY(-6px); z-index: 2;
}
.service-card:hover::after { width: 48px; }
.service-topline { align-items: center; display: flex; justify-content: space-between; margin-bottom: 58px; }
.service-topline > span { color: var(--orange-bright); font-family: var(--heading); font-size: 36px; font-weight: 900; }
.service-topline b {
  align-items: center; border: 1px solid #83929d; color: #afbac2; display: flex; font-family: var(--heading);
  font-size: 18px; font-weight: 700; height: 54px; justify-content: center; letter-spacing: -.03em; width: 58px;
}
.service-card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 14px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 24px; }
.service-card > a { color: var(--orange-bright); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-top: auto; text-transform: uppercase; }
.service-card > a span { display: inline-block; margin-left: 6px; transition: transform 180ms ease; }
.service-card > a:hover span { transform: translateX(5px); }

.process {
  border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
  padding-bottom: clamp(84px, 8vw, 124px); padding-top: clamp(84px, 8vw, 124px);
}
.process-heading { display: block; }
.process-heading h2 { max-width: 700px; }
.process-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 54px; }
.process-step { border-left: 1px solid var(--line-bright); display: grid; gap: 24px; grid-template-columns: auto 1fr; padding: 12px 28px; }
.step-number { color: var(--orange-bright); font-family: var(--heading); font-size: 28px; font-weight: 900; }
.process-step h3 { font-size: 20px; margin: 3px 0 11px; }
.process-step p { color: var(--muted); line-height: 1.65; margin: 0; }

.experience { padding-bottom: clamp(90px, 10vw, 150px); padding-top: clamp(90px, 10vw, 150px); }
.experience-panel {
  background: linear-gradient(120deg, rgb(255 91 10 / 9%), transparent 38%), var(--panel);
  border: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr;
}
.experience-stat {
  align-items: center; border-right: 1px solid var(--line); display: flex; flex-direction: column;
  justify-content: center; min-height: 480px; padding: 48px; text-align: center;
}
.experience-stat strong {
  color: var(--orange-bright); font-family: var(--heading); font-size: clamp(120px, 15vw, 210px);
  font-weight: 900; letter-spacing: -.08em; line-height: .8;
}
.experience-stat span { color: #d2d4d3; font-size: 14px; letter-spacing: .08em; line-height: 1.5; margin-top: 28px; max-width: 230px; text-transform: uppercase; }
.experience-copy { align-self: center; padding: clamp(48px, 7vw, 94px); }
.experience-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 28px 0; max-width: 630px; }
.experience-copy ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.experience-copy li { align-items: center; display: flex; }
.experience-copy li::before { color: var(--orange); content: "///"; font-size: 10px; letter-spacing: -.12em; margin-right: 13px; }

.digital {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(90px, 10vw, 150px);
  padding-top: clamp(90px, 10vw, 150px);
}
.digital-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.digital-card {
  background: linear-gradient(145deg, rgb(255 255 255 / 5%), transparent 45%), var(--panel);
  border: 1px solid var(--line); min-height: 520px; overflow: hidden;
  padding: clamp(32px, 4vw, 58px); position: relative;
}
.digital-card::before {
  border: 1px solid rgb(255 91 10 / 28%); border-radius: 50%; content: "";
  height: 330px; position: absolute; right: -150px; top: -160px; width: 330px;
}
.digital-management { background: linear-gradient(145deg, rgb(255 91 10 / 12%), transparent 44%), var(--panel); }
.digital-code {
  color: var(--orange-bright); font-family: var(--heading); font-size: 18px;
  font-weight: 900; letter-spacing: .08em; margin-bottom: 58px;
}
.digital-type {
  color: var(--orange-bright) !important; font-size: 11px !important;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.digital-card h3 {
  font-family: var(--heading); font-size: clamp(42px, 4vw, 64px); font-weight: 900;
  letter-spacing: -.04em; line-height: .95; margin: 12px 0 22px; text-transform: uppercase;
}
.digital-card > p:not(.digital-type) { color: var(--muted); line-height: 1.7; margin: 0; max-width: 560px; }
.digital-card ul { display: grid; gap: 11px; list-style: none; margin: 28px 0 36px; padding: 0; }
.digital-card li { color: #d4d6d5; font-size: 14px; }
.digital-card li::before { color: var(--orange); content: "—"; margin-right: 11px; }
.digital-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; }
.digital-actions > span { color: var(--muted); font-size: 12px; }
.button-outline { border: 1px solid var(--orange); color: var(--cream); }
.button-outline:hover, .button-outline:focus-visible {
  background: var(--orange); color: #fff; transform: translateY(-3px);
}

.contact { padding-bottom: clamp(90px, 9vw, 130px); }
.contact-panel {
  background: linear-gradient(90deg, var(--orange), #ff6a15 56%, #f84f00);
  min-height: 440px; overflow: hidden; padding: clamp(54px, 7vw, 90px); position: relative;
}
.contact-panel::before, .contact-panel::after {
  border: 1px solid rgb(255 255 255 / 23%); border-radius: 50%; content: ""; position: absolute;
}
.contact-panel::before { height: 520px; right: -90px; top: -200px; width: 520px; }
.contact-panel::after { height: 360px; right: 40px; top: -120px; width: 360px; }
.contact-panel .eyebrow { color: #301005; }
.contact-panel h2 { color: #fff; max-width: 800px; position: relative; z-index: 1; }
.contact-panel > p:not(.eyebrow) { color: rgb(255 255 255 / 86%); line-height: 1.65; margin: 24px 0 32px; max-width: 560px; position: relative; z-index: 1; }
.button-light { background: #fff; color: #13191e; position: relative; z-index: 1; }
.button-light:hover, .button-light:focus-visible { background: var(--ink); color: #fff; transform: translateY(-3px); }

footer {
  align-items: center; border-top: 1px solid var(--line); color: var(--muted); display: grid;
  font-size: 12px; gap: 24px; grid-template-columns: 1fr auto 1fr; margin: 0 auto;
  max-width: 1440px; padding: 40px clamp(24px, 5vw, 76px);
}
footer .brand { color: var(--cream); }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }
.floating-whatsapp {
  align-items: center; background: var(--orange); border: 1px solid rgb(255 255 255 / 25%);
  bottom: 22px; box-shadow: 0 12px 40px rgb(0 0 0 / 35%); display: flex; height: 56px;
  justify-content: center; position: fixed; right: 22px; transition: background 180ms ease, transform 180ms ease;
  width: 56px; z-index: 45;
}
.floating-whatsapp:hover { background: var(--orange-bright); transform: translateY(-4px); }
.floating-whatsapp svg { color: #fff; height: 30px; width: 30px; }

@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 330px; }
  .section-heading { align-items: start; display: block; }
  .section-heading > p:last-child { margin-top: 24px; }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; }
  .desktop-nav, .header-contact { display: none; }
  .mobile-nav { display: block; }
  .hero {
    background-image: linear-gradient(90deg, rgb(7 16 26 / 96%), rgb(7 16 26 / 58%)), linear-gradient(180deg, transparent 66%, #05090d 100%), url("/er-hero-workbench.png");
    background-position: center, center, 62% center; min-height: auto; padding-bottom: 90px; padding-top: 90px;
  }
  .hero::before, .hero::after { display: none; }
  .hero h1 { font-size: clamp(53px, 13vw, 82px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .experience-panel { grid-template-columns: 1fr; }
  .experience-stat { border-bottom: 1px solid var(--line); border-right: 0; min-height: 340px; }
  .digital-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer p:last-child { justify-self: center; }
}
@media (max-width: 540px) {
  .site-header { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 22px; }
  .brand span { font-size: 28px; }
  .hero { background-position: center, center, 68% center; padding-left: 22px; padding-right: 22px; }
  .hero-copy { font-size: 16px; }
  .trust-list { display: grid; }
  .button { justify-content: center; width: 100%; }
  .button-arrow { margin-left: auto; }
  .section-shell { padding-left: 20px; padding-right: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .process-step { padding-left: 18px; padding-right: 12px; }
  .experience-copy { padding: 42px 26px; }
  .experience-stat { min-height: 300px; }
  .digital-card { min-height: auto; padding: 38px 24px; }
  .digital-code { margin-bottom: 42px; }
  .digital-actions { align-items: stretch; flex-direction: column; }
  .digital-actions > span { text-align: center; }
  .contact-panel { padding: 48px 26px; }
  .floating-whatsapp { bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
