:root {
  --bg: #0d0f13;
  --bg-soft: #151922;
  --card: #121720;
  --text: #f4f5f7;
  --muted: #b9c0cb;
  --line: rgba(255,255,255,0.08);
  --accent: #f58220;
  --accent-dark: #cf6711;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0,0,0,0.28);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1280px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 820px;
}

.section-text {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,10,14,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  position: relative;
}

.logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.62) 35%, rgba(0,0,0,0.24) 65%, rgba(0,0,0,0.14) 100%),
    url('images/hero-demo.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(32,77,255,0.22), transparent 35%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 100px 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  max-width: 760px;
}

.hero p {
  color: rgba(255,255,255,0.84);
  font-size: 1.12rem;
  max-width: 640px;
  margin-bottom: 34px;
}

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

.features-bar {
  background: #f3f3f3;
  color: #1d2430;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  padding: 34px 28px;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245,130,32,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: #555f6f;
  font-size: 0.95rem;
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.01)),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.03), transparent 24%),
    var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-icon-box {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(245,130,32,0.25);
}

.service-content {
  padding: 28px 26px 30px;
}

.service-content h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.service-subtitle {
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.checklist li {
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
}

.checklist li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  margin-top: -1px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.projects-section {
  background: #f3f3f3;
  color: #111722;
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 34px;
}

.projects-head .section-text {
  color: #576273;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  min-height: 230px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.72));
  display: flex;
  align-items: end;
  padding: 22px;
}

.project-overlay h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.project-overlay p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.84);
}

.career-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10,12,16,0.9) 0%, rgba(10,12,16,0.72) 48%, rgba(10,12,16,0.25) 100%),
    url('images/career-demo.jpg') center center / cover no-repeat;
}

.career-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.career-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.career-box p {
  color: rgba(255,255,255,0.82);
  margin: 16px 0 24px;
}

.career-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.career-points li {
  display: flex;
  gap: 12px;
  color: var(--text);
}

.career-points li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.cta-section {
  background: linear-gradient(180deg, #11161f, #0c1118);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(245,130,32,0.16), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 720px;
}

.contact-section {
  background: #f7f7f8;
  color: #111722;
}

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

.contact-card,
.form-card,
.legal-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

.contact-card p,
.legal-card p,
.legal-card li,
.form-note {
  color: #445063;
  font-size: 0.98rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-list li strong {
  display: block;
  margin-bottom: 4px;
  color: #111722;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: #111722;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: #111722;
  background: #ffffff;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.notice.success {
  background: rgba(35, 171, 104, 0.14);
  color: #0c6d3f;
}

.notice.error {
  background: rgba(214, 64, 64, 0.12);
  color: #a12525;
}

.legal-page {
  background: #f7f7f8;
  color: #111722;
}

.legal-page .section-text {
  color: #445063;
}

.legal-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.legal-card h3 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
  color: #111722;
}

.legal-card p + p,
.legal-card ul,
.legal-card ol {
  margin-top: 12px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.note-box {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245,130,32,0.12);
  color: #7a470f;
  font-weight: 700;
}

.site-footer {
  background: #090b0f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-text {
  color: rgba(255,255,255,0.68);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
}

@media (max-width: 1180px) {
  .nav {
    gap: 22px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item:nth-child(2) {
    border-right: none;
  }

  .feature-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    background: rgba(10,12,16,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .header-actions .btn.header-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .career-grid,
  .cta-box,
  .projects-head {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .features-grid,
  .services-grid,
  .projects-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .feature-item:nth-child(2) {
    border-right: none;
  }

  .feature-item:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .service-image {
    height: 210px;
  }

  .project-card {
    min-height: 210px;
  }

  .cta-box,
  .contact-card,
  .form-card,
  .legal-card {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 76px;
  }

  .logo img {
    width: 128px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .service-content,
  .career-box {
    padding: 24px;
  }

  .contact-card,
  .form-card,
  .legal-card {
    padding: 24px;
  }
}