*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f4f6f9;
  --bg-dark: #0c1220;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #5b6478;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --header-h: 76px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--block {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(12, 18, 32, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.header--light {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}

.brand__text small {
  font-size: 0.68rem;
  color: var(--text-light);
}

.header--light .brand__text strong {
  color: var(--text);
}

.header--light .brand__text small {
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.header--light .nav a {
  color: var(--text-muted);
}

.header--light .nav a:hover {
  color: var(--text);
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.header--light .nav-toggle span {
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(12, 18, 32, 0.94) 0%, rgba(12, 18, 32, 0.78) 45%, rgba(37, 99, 235, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 640px;
}

.hero-stat {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.hero-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.section--muted {
  background: #eef1f6;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head--light h2,
.section-head--light p {
  color: #fff;
}

.section-head--light p {
  opacity: 0.75;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-head--light .eyebrow {
  color: var(--accent);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about__card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.about__card span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.about__card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

.about__data h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.data-list {
  display: grid;
  gap: 0.85rem;
}

.data-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.data-list dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-list dd {
  font-size: 0.92rem;
  color: var(--text);
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.showcase-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-item--large {
  grid-row: span 2;
  min-height: 100%;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s;
}

.showcase-item:hover img {
  transform: scale(1.05);
}

.showcase-item__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.showcase-item__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.showcase-item__body p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Services */
.service-main {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.service-main__icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.service-main__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.service-main h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-main p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-group {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-group h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.service-group ul {
  list-style: none;
}

.service-group li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.service-group li:last-child {
  border-bottom: none;
}

.service-group strong {
  color: var(--primary);
  font-weight: 600;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 1rem 1rem 0.35rem;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0 1rem 1.25rem;
  line-height: 1.55;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.feature:hover {
  border-color: var(--primary);
}

.feature__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: block;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.contact-card--static:hover {
  border-color: var(--border);
  box-shadow: none;
}

.contact-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-card__action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact__map img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact__note {
  padding: 1.5rem;
}

.contact__note p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 3.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  gap: 1rem;
}

.brand__mark--footer {
  flex-shrink: 0;
}

.footer__brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.footer__brand p {
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.footer__legal {
  font-size: 0.78rem !important;
  opacity: 0.7;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer a,
.footer p {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
}

.footer__disclaimer {
  max-width: 800px;
  margin: 0.75rem auto 0 !important;
  font-size: 0.72rem !important;
  opacity: 0.65;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 992px) {
  .about,
  .contact,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-item--large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .service-cards,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .data-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 768px) {
  .nav,
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header--light .nav.is-open {
    background: #fff;
  }

  .showcase-grid,
  .service-cards,
  .features,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .showcase-item--large {
    grid-column: span 1;
  }

  .hero__scroll {
    display: none;
  }
}
