:root {
  --bg: #020406;
  --text: #f2f4f8;
  --muted: #9ea8ba;
  --accent: #f7a93f;
  --line: #2a2f3a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #000;
  color: var(--text);
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.section-dark {
  position: relative;
  background: #000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo img {
  width: 120px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.hero {
  overflow: hidden;
  min-height: 860px;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}
.orb-blue-top {
  width: 920px;
  height: 920px;
  right: -260px;
  top: -420px;
  background: radial-gradient(circle, rgba(92,139,233,0.85) 0%, rgba(36,70,133,0.35) 35%, rgba(0,0,0,0) 72%);
}
.orb-orange-left {
  width: 780px;
  height: 780px;
  left: -420px;
  top: 160px;
  background: radial-gradient(circle, rgba(240,163,54,0.95) 0%, rgba(144,94,25,0.45) 34%, rgba(0,0,0,0) 70%);
}
.orb-blue-right {
  width: 920px;
  height: 920px;
  right: -420px;
  top: 520px;
  background: radial-gradient(circle, rgba(75,126,216,0.88) 0%, rgba(32,57,104,0.28) 35%, rgba(0,0,0,0) 72%);
}
.hero-inner {
  text-align: center;
  padding-top: 110px;
  position: relative;
  z-index: 2;
}
.hero-pre {
  margin: 0;
  font-size: clamp(45px, 5.2vw, 72px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-title {
  margin: 2px 0 16px;
  font-size: clamp(50px, 5.7vw, 80px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.rotator-wrap {
  color: var(--accent);
}
.hero-sub {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 31px);
  font-weight: 400;
  color: #d8dbe2;
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.btn {
  appearance: none;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  background: transparent;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}
.btn-light {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.btn.block {
  display: inline-flex;
  margin-top: 14px;
}

.competency-section {
  padding-top: 46px;
}
.competency-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px 46px;
}
.competency h3 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.competency p {
  margin: 0;
  color: #d7dbe3;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 300;
}
.card-intro h3 { color: #f4f5f8; }
.muted {
  color: var(--muted);
  font-weight: 400;
}

.approach-gap {
  padding: 118px 0 440px;
}
.center-head {
  text-align: center;
}
.center-head h2 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.center-head p {
  margin-top: 14px;
  font-size: 20px;
}

.testimonial-space {
  padding-bottom: 120px;
}
.testimonial-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.testimonial {
  min-height: 350px;
  padding: 0 8px;
}
.t-left {
  border-right: 1px solid var(--line);
  padding-right: 36px;
}
.t-right { padding-left: 10px; }
.quote {
  margin: 0;
  font-size: 18px;
  line-height: 1.72;
  color: #f0f3f8;
  font-weight: 300;
}
.byline {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.65;
}
.byline em { color: #9ba4b3; }

.team-section {
  padding: 30px 0 170px;
}
.team-card {
  text-align: center;
  margin-top: 120px;
}
.team-card h3 {
  margin: 0;
  font-size: 34px;
}
.team-card p {
  margin: 8px 0 16px;
  color: #c4cad5;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.contact-section {
  position: relative;
  background: #0b0f16 url("https://www.xcantech.com/wp-content/uploads/2023/05/SCR-20230504-g0c.jpeg") center/cover no-repeat;
  padding: 86px 0 78px;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(0,0,0,0.88) 25%, rgba(22,37,63,0.67) 50%, rgba(0,0,0,0.78) 80%);
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid h2 {
  margin: 0;
  font-size: clamp(45px, 4.8vw, 62px);
  letter-spacing: -0.02em;
}
.muted-light {
  color: #d4d9e4;
  margin-top: 10px;
  font-size: 20px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 13px;
  font-size: 17px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-radius: 5px;
  padding: 13px 14px;
  font-size: 14px;
  background: #f2f4f8;
  color: #111;
}
.contact-form textarea {
  min-height: 138px;
  margin-top: 14px;
  resize: vertical;
}
.contact-form .btn {
  margin-top: 15px;
}

.site-footer {
  border-top: 1px solid #1f232d;
  padding-top: 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 30px;
}
.footer-grid h4 {
  margin: 0 0 8px;
  font-size: 22px;
}
.footer-grid a,
.footer-grid p {
  display: block;
  margin: 6px 0;
  color: #d5dae5;
  font-size: 16px;
  text-decoration: none;
}
.copyright {
  text-align: center;
  margin: 0;
  padding: 14px 10px 26px;
  color: #b6becc;
  border-top: 1px solid #1f232d;
  font-size: 13px;
}

.fade-out {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .34s ease, transform .34s ease;
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .34s ease, transform .34s ease;
}

@media (max-width: 1080px) {
  .competency-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .card-intro { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(1140px, calc(100% - 28px)); }
  .nav-links { gap: 16px; }
  .hero { min-height: 670px; }
  .competency-grid { grid-template-columns: 1fr; }
  .card-intro { grid-column: auto; }
  .approach-gap { padding: 90px 0 150px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 24px; }
  .t-left { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 22px; }
  .t-right { padding-left: 0; }
  .team-card { margin-top: 66px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}