@import "tailwindcss";

:root {
  --orange: #ef7411;
  --orange-dark: #c85505;
  --ink: #202225;
  --muted: #626a70;
  --line: #dfe4e7;
  --soft: #f3f6f8;
  --dark: #2d3033;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  padding: 0 max(28px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(49, 51, 53, .96);
  color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.brand { width: 108px; height: 60px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 102px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.navlinks { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.navlinks a { transition: color .2s ease; }
.navlinks a:hover, .navlinks .active { color: #ff9a48; }
.nav-cta { border: 1px solid rgba(255,255,255,.45); padding: 11px 17px; border-radius: 4px; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: 60px;
  padding: 80px max(28px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(110deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 58%, rgba(245,248,249,.88) 100%),
    radial-gradient(circle at 82% 42%, rgba(239,116,17,.2), transparent 32%);
  overflow: hidden;
}
.home-hero { min-height: 720px; }
.dual-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transform: rotate(-2deg); }
.visual-tile { min-height: 360px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--soft); border: 1px solid var(--line); box-shadow: 0 24px 65px rgba(48,55,60,.12); }
.visual-tile span { margin-bottom: auto; color: var(--orange); font-size: 13px; font-weight: 900; }
.visual-tile strong { font-size: 25px; line-height: 1.1; }
.visual-tile small { margin-top: 12px; color: var(--muted); line-height: 1.5; }
.visual-tile.digital { transform: translateY(45px); background: var(--dark); color: white; border-color: var(--dark); }
.visual-tile.digital small { color: #c8ccce; }
.split-services { padding: 20px 0 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.division-card { min-height: 520px; padding: 44px; display: flex; flex-direction: column; border-top: 5px solid var(--orange); background: var(--soft); transition: transform .2s ease, box-shadow .2s ease; }
.division-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(38,45,49,.12); }
.division-card h2 { margin-top: 28px; }
.division-card > p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.division-card ul { margin: 22px 0 35px; padding-left: 20px; line-height: 2; }
.division-card > strong { margin-top: auto; color: var(--orange-dark); }
.dark-card { background: var(--dark); color: white; }
.dark-card > p, .dark-card li { color: #c8ccce; }
.dark-card > strong { color: #ff9847; }
.heritage { padding: 100px 0; background: var(--dark); color: white; }
.heritage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.heritage-grid p:not(.section-kicker) { margin: 0 0 18px; color: #c8ccce; font-size: 17px; line-height: 1.75; }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--orange); }
.hero-text {
  max-width: 710px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--orange); color: white; box-shadow: 0 10px 22px rgba(239,116,17,.2); }
.primary:hover { background: var(--orange-dark); }
.secondary { border: 1px solid #afb6ba; background: white; }
.trustline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.trustline span {
  padding: 7px 10px;
  border-left: 2px solid var(--orange);
  background: var(--soft);
  color: #4b5257;
  font-size: 12px;
  font-weight: 700;
}

.hero-visual { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.network-grid {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  border: 1px solid #dce1e3;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, #e6eaec 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, #e6eaec 50%, transparent 50.2%);
  box-shadow: 0 24px 80px rgba(48,55,60,.12);
}
.network-grid::before, .network-grid::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid #e3e7e9;
  border-radius: 50%;
}
.network-grid::after { inset: 29%; border-color: #f3b681; }
.shield {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 122px;
  clip-path: polygon(50% 0, 94% 18%, 86% 73%, 50% 100%, 14% 73%, 6% 18%);
  display: grid;
  place-items: center;
  background: var(--orange);
  color: white;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.06em;
  filter: drop-shadow(0 12px 16px rgba(239,116,17,.25));
}
.node { position: absolute; width: 17px; height: 17px; border: 4px solid white; border-radius: 50%; background: #7e8589; box-shadow: 0 0 0 1px #aab1b5; z-index: 3; }
.n1 { top: 12%; left: 49%; }.n2 { top: 32%; right: 5%; }.n3 { right: 15%; bottom: 17%; }.n4 { bottom: 8%; left: 29%; }.n5 { top: 35%; left: 5%; }
.route { position: absolute; height: 2px; background: #aeb5b9; transform-origin: left; z-index: 1; }
.r1 { width: 120px; left: 52%; top: 49%; transform: rotate(-64deg); }
.r2 { width: 124px; left: 52%; top: 50%; transform: rotate(-14deg); }
.r3 { width: 140px; left: 49%; top: 51%; transform: rotate(42deg); }
.r4 { width: 130px; left: 19%; top: 41%; transform: rotate(23deg); }
.hero-visual p { margin: 22px 0 0; color: #757c80; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.intro {
  padding: 96px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}
h2 { margin: 0; font-size: clamp(34px, 3.7vw, 50px); line-height: 1.1; letter-spacing: -.035em; }
.intro > p, .section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.services { padding: 85px 0 105px; }
.services::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 620px;
  margin-top: -85px;
  background: var(--soft);
  z-index: -1;
}
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; margin-bottom: 48px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  min-height: 390px;
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 5px;
  background: white;
  box-shadow: 0 8px 30px rgba(38,45,49,.07);
}
.service-number { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin: 18px 0 13px; font-size: 25px; letter-spacing: -.02em; }
.service-card > p { min-height: 76px; margin: 0; color: var(--muted); line-height: 1.55; }
.service-card ul { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.service-card li { position: relative; padding: 6px 0 6px 20px; color: #3f464a; font-size: 14px; line-height: 1.45; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--orange); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card { min-height: 260px; padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--orange); background: white; box-shadow: 0 8px 30px rgba(38,45,49,.06); }
.offer-card > span { color: var(--orange); font-size: 13px; font-weight: 900; }
.offer-card h3 { margin: 28px 0 12px; font-size: 22px; }
.offer-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.bolt-visual { display: grid; place-items: center; align-content: center; }
.bolt { width: 300px; height: 300px; display: grid; place-items: center; border: 1px solid #dce1e3; border-radius: 50%; color: var(--orange); font-size: 150px; font-weight: 200; box-shadow: 0 24px 80px rgba(48,55,60,.12); }
.bolt-visual p { color: #757c80; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps > div { padding: 32px; border-top: 1px solid #666; background: #363a3d; }
.steps strong { color: var(--orange); font-size: 38px; }
.steps h3 { margin: 24px 0 10px; font-size: 22px; }
.steps p { color: #c8ccce; line-height: 1.6; }
.legal-hero { padding: 100px 0 80px; background: var(--soft); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; }
.legal { max-width: 850px; padding-top: 80px; padding-bottom: 100px; }
.legal h2 { margin: 58px 0 18px; font-size: 30px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 34px 0 10px; font-size: 19px; }
.legal p { color: var(--muted); line-height: 1.8; }

.projects { padding: 96px 0; background: var(--dark); color: white; }
.inverse .section-kicker { color: #ff9847; }
.inverse > p { color: #c5c9cb; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { padding: 30px; border: 1px solid #54585a; border-radius: 5px; background: #363a3d; }
.metric { display: flex; align-items: baseline; gap: 10px; margin-bottom: 35px; }
.metric strong { color: var(--orange); font-size: 58px; line-height: 1; }
.metric span { color: #bfc4c6; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-card h3 { margin: 0 0 12px; font-size: 21px; }
.project-card p { margin: 0; color: #c8ccce; line-height: 1.6; font-size: 15px; }

.profile { padding: 105px 0; display: grid; grid-template-columns: 390px 1fr; gap: 90px; align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; height: 490px; object-fit: cover; object-position: center 20%; border-radius: 5px; filter: saturate(.88); }
.portrait-tag { position: absolute; right: -28px; bottom: 28px; padding: 18px 22px; background: var(--orange); color: white; font-size: 13px; font-weight: 800; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 12px 25px rgba(239,116,17,.22); }
.profile-copy .role { margin: 14px 0 25px; color: var(--orange-dark); font-weight: 800; }
.profile-copy > p:not(.section-kicker):not(.role) { max-width: 700px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.qualifications { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.qualifications span { padding: 9px 12px; border: 1px solid #ccd2d5; border-radius: 3px; color: #434a4f; font-size: 13px; font-weight: 700; }

.cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 92px;
  padding: 55px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--soft);
  border-left: 5px solid var(--orange);
}
.cta h2 { font-size: clamp(30px, 3vw, 42px); }
.cta p:not(.section-kicker) { margin: 15px 0 0; color: var(--muted); font-size: 16px; }
.cta .button { flex: 0 0 auto; }

footer {
  padding: 45px max(28px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  align-items: end;
  background: #282a2c;
  color: #d7dadc;
  font-size: 13px;
}
footer p { margin: 7px 0; }
.footer-brand img { width: 125px; filter: brightness(0) invert(1); opacity: .9; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: #ff9847; }

@media (max-width: 900px) {
  .navlinks a:not(.active):not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-visual, .dual-visual, .bolt-visual { display: none; }
  .intro, .section-head, .heritage-grid { grid-template-columns: 1fr; gap: 28px; }
  .split-services { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card > p { min-height: auto; }
  .profile { grid-template-columns: 300px 1fr; gap: 55px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 650px) {
  .section, .cta { width: min(100% - 30px, 1180px); }
  .topbar { height: 68px; padding: 0 15px; }
  .brand { width: 74px; }
  .brand img { width: 75px; }
  .navlinks { gap: 12px; }
  .navlinks .active { display: none; }
  .nav-cta { padding: 9px 12px; }
  .hero { padding: 60px 20px 65px; }
  .hero h1 { font-size: 44px; }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .intro { padding: 68px 0; }
  .services { padding: 66px 0 75px; }
  .service-card { padding: 28px 24px; }
  .offer-grid, .steps { grid-template-columns: 1fr; }
  .division-card { min-height: auto; padding: 34px 26px; }
  .projects { padding: 70px 0; }
  .profile { padding: 74px 0; grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .portrait-tag { right: -8px; }
  .cta { margin-bottom: 60px; padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-links { grid-column: auto; }
}

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