:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e9f0fb;
  background-color: #050816;
  --bg: #050816;
  --surface: rgba(20, 32, 58, 0.9);
  --surface-strong: rgba(12, 18, 36, 0.94);
  --primary: #3d8ff7;
  --primary-soft: rgba(61, 143, 247, 0.18);
  --accent: #24d9c7;
  --text: #edf2ff;
  --muted: #a1b2cc;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(61, 143, 247, 0.12), transparent 33%),
    radial-gradient(circle at right, rgba(36, 217, 199, 0.08), transparent 18%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 22, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 18, 36, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-ticker__label {
  flex: none;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(61, 143, 247, 0.12);
}

.news-ticker__track {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.news-ticker__slide {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerMove 28s linear infinite;
}

.news-ticker__slide span {
  color: var(--text);
  font-size: 0.9rem;
}

.news-ticker__slide span::after {
  content: '•';
  margin-left: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #d7e0fb;
}

.hero-section {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, rgba(8, 15, 38, 0.88) 0%, rgba(8, 15, 38, 0.94) 100%),
    url("hero-bg.svg") center / cover no-repeat;
  background-blend-mode: overlay;
}

.hero-content {
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(61, 143, 247, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-section h1 {
  margin: 1.5rem 0 1rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-section p {
  margin: 0 auto;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #050816;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  margin: 1rem auto 0;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
}

.news-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.news-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.news-list::-webkit-scrollbar {
  height: 10px;
}

.news-list::-webkit-scrollbar-thumb {
  background: rgba(61, 143, 247, 0.55);
  border-radius: 999px;
}

.news-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.news-card {
  scroll-snap-align: start;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.75rem;
}

.news-card strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.cards-grid,
.expertise-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 1.75rem;
}

.cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.testimonial-card,
.about-card,
.expertise-grid article,
.contact-form {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.service-card h3,
.expertise-grid h3,
.about-card h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.service-card p,
.expertise-grid p,
.about-card p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.about-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--primary);
}

.about-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.about-stats div {
  display: grid;
  gap: 0.35rem;
}

.about-stats strong {
  font-size: 1.4rem;
  color: var(--text);
}

.about-stats span {
  color: var(--muted);
}

.expertise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expertise-grid article {
  border-radius: 24px;
  padding: 1.8rem;
}

.expertise-grid p {
  color: var(--muted);
}

.testimonial-section {
  padding: 3.5rem 0;
}

.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
}

.testimonial-card strong {
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-form label {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(61, 143, 247, 0.45);
  box-shadow: 0 0 0 4px rgba(61, 143, 247, 0.1);
}

.form-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-note a {
  color: var(--primary);
}

.form-message {
  margin-top: 1rem;
  min-height: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .cards-grid,
  .expertise-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 4rem;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    position: absolute;
    inset: auto 0 0 0;
    margin: 0 1rem 1rem;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .hero-section h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
