:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #ebf2fd;
  --text: #06173f;
  --muted: #566581;
  --primary: #167af3;
  --primary-deep: #071b56;
  --highlight: #dceafe;
  --border: #c9d8f0;
  --shadow: 0 20px 48px rgba(7, 26, 80, 0.12);
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 0.95rem;
  --radius-full: 9999px;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 88% 8%, rgba(22, 122, 243, 0.16), transparent 24%),
    radial-gradient(circle at 8% 0%, rgba(7, 27, 86, 0.06), transparent 28%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -48px;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 1rem; }

.header {
   position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 247, 252, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 27, 86, 0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset;
}

.nav {
min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.35rem 0;
}

.brand-logo {
   width: min(205px, 42vw);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 26, 80, 0.14);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0f64d5 42%, var(--primary-deep) 100%);
  color: white;
}

.btn-secondary {
  background: white;
  border-color: rgba(7, 27, 86, 0.12);
}

.theme-toggle,
.menu-toggle {
   width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(7, 27, 86, 0.12);
  background: white;
  cursor: pointer;
  display: none;
  place-items: center;
  line-height: 1;
  padding: 0;
  font-size: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--highlight);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: 4.25rem 0 5.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 2rem;
  align-items: center;
}

h2, h3 {
  font-family: var(--font-display);
  line-height: 1.04;
}

.hero-title {
  font-size: clamp(1.55rem, 1rem + 1.1vw, 2.35rem);
  max-width: 100%;
  margin-top: 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
}

.section-title {
  font-size: clamp(1.26rem, 0.96rem + 0.65vw, 1.72rem);
  max-width: 100%;
  margin-top: 0.85rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(7, 27, 86, 0.12);
  border-radius: 50%;
  background: white;
  color: var(--primary-deep);
  box-shadow: 0 10px 24px rgba(7, 26, 80, 0.14);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
  font-size: 1.1rem;
  font-weight: 800;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:focus {
  outline: 2px solid rgba(22, 122, 243, 0.5);
  outline-offset: 2px;
}
.lead {
  margin-top: 1.25rem;
  max-width: 100%;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: justify;
}

.hero-actions {
  text-align: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.point-card,
.service-card,
.project-card,
.panel,
.showcase-panel,
.faq-item,
.contact-card {
  border: 1px solid rgba(7, 27, 86, 0.1);
  box-shadow: 0 10px 24px rgba(7, 26, 80, 0.08);
  background: white;
  border-radius: 1.4rem;
}

.point-card {
 padding: 1rem;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.point-card span {
  display: block;
  margin-top: 0.55rem;
  line-height: 1.35;
}
.point-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 26, 80, 0.12);
}

.hero-panel {
  background: linear-gradient(180deg, #17255d 0%, #1d2f6f 45%, #4d81ef 100%);
  border-radius: 36px;
  padding: 1.05rem;
  box-shadow: 0 30px 70px rgba(10, 20, 60, 0.28);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-brand img {
  width: min(220px, 100%);
  margin-top: 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
}

.hero-feature-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-feature {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.1rem 1.15rem;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
}

.hero-feature small {
 text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.hero-feature strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.18;
  margin: 0.3rem 0 0.45rem;
}

.hero-feature p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.45;
  max-width: 46ch;
}

.section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 100%;
  color: var(--muted);
}

.carousel-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(7, 27, 86, 0.12);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(7, 26, 80, 0.08);
}

.services-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

  

.services-carousel::-webkit-scrollbar { display: none; }

.services-carousel .service-card {
  grid-column: auto;
  scroll-snap-align: start;
}

.services-grid { display: none; }

.service-card {
    padding: 1.2rem 1.1rem 1.05rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card h3 {
 margin: 0;
  max-width: 16ch;
  line-height: 1.08;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 26, 80, 0.12);
}

.service-card.featured {
    border-color: rgba(22, 122, 243, 0.22);
  box-shadow: 0 12px 28px rgba(7, 26, 80, 0.1);
}

.service-icon {
 width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 0.1rem;
  color: var(--primary);
  background: linear-gradient(145deg, #eef5ff, #dceafe);
  border: 1px solid rgba(22, 122, 243, 0.12);
  font-weight: 800;
  font-size: 0.8rem;
}

.service-card p {
   color: var(--muted);
  line-height: 1.4;
  margin: 0 auto;
  max-width: 34ch;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  width: 100%;
}

.pill {
  padding: 0.45rem 0.82rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: #edf5ff;
  color: var(--primary-deep);
  border: 1px solid rgba(22, 122, 243, 0.12);
}

.split-showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: stretch;
}

.showcase-panel {
  padding: 1.4rem;
  border-radius: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(7, 26, 80, 0.12);
}

.showcase-panel.dark {
  background: linear-gradient(150deg, rgba(7, 27, 86, 0.98), rgba(9, 38, 101, 0.96) 56%, rgba(22, 122, 243, 0.92) 100%);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 26, 80, 0.12);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.faq-content {
  padding: 0 1.35rem 1.15rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  padding: 1rem;
  color: white;
  background: linear-gradient(145deg, rgba(7, 27, 86, 0.98), rgba(10, 34, 92, 0.97) 50%, rgba(22, 122, 243, 0.93) 100%);
}

.contact-grid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.35rem;
}

.contact-box {
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-box.full {
  grid-column: 1 / -1;
}

.contact-box span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.contact-box strong,
.contact-box a {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  color: white;
  font-weight: 700;
}

.contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-note {
  background: rgba(255, 255, 255, 0.1);
}

.contact-note p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.form-field small {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82em;
}
.form-title {
  margin: 0.65rem 0 0.2rem;
  font-size: clamp(1.35rem, 1rem + 0.7vw, 1.8rem);
  line-height: 1.12;
}

.form-stack {
  display: grid;
  gap: 1rem;
  padding-right: 0.35rem;
}

.form-field {
  display: grid;
  gap: 0.42rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-field span {
  color: var(--text);
  margin-left: 0.15rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(7, 27, 86, 0.12);
  background: white;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.15rem;
}

.submit-fit {
  width: auto;
  min-width: 220px;
  min-height: 54px;
  padding-inline: 1.55rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.btn:focus,
.theme-toggle:focus,
.menu-toggle:focus,
.carousel-btn:focus {
  outline: 2px solid rgba(22, 122, 243, 0.5);
  outline-offset: 2px;
}

.footer {
  padding: 2rem 0 2.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.menu-open .nav-links {
  display: flex;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-showcase,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .carousel-wrap {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
	font-size: 1.25rem;
  }

  .hero-panel {
    min-height: auto;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-stack {
    padding-right: 0;
  }

  .submit-fit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 720px) {
 .nav {
   flex-wrap: wrap;
    padding: 0.5rem 0 12px;
    min-height: auto;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .nav-actions .btn {
    flex: 1;
    min-width: 0;
  }
  .hero-points,
  .projects-grid,
  .contact-grid-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .panel,
  .showcase-panel,
  .contact-card {
    padding: 1rem;
  }
  .menu-toggle {
    display: grid;
  }
  .brand-logo {
    width: min(170px, 56vw);
  }

  .services-carousel {
    grid-auto-columns: minmax(82%, 82%);
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
.form-message {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #166534;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}