@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --primary: #0b2a63;
  --dark: #071a40;
  --gold: #f2b84b;
  --white: #ffffff;
  --light: #f8fafc;
  --text: #10213f;
  --shadow: 0 16px 40px rgba(7, 26, 64, 0.12);
  --radius: 16px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
.brand {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  line-height: 1.2;
}

h3 {
  font-size: 1.6rem;
  font-weight: 550;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-gold {
  color: var(--gold);
}

.title-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 8px;
}

.es-container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 20px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.section.light {
  background: var(--light);
}

#services.section.light {
  background: var(--white);
}

.section.dark {
  color: var(--white);
  background: radial-gradient(circle at 0% 0%, #214b93 0%, var(--dark) 55%);
}

.es-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 26, 64, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}

.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.96rem;
}

.menu a:hover {
  color: var(--gold);
}

.menu a.active,
.menu a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #1f2637;
  box-shadow: 0 10px 24px rgba(242, 184, 75, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}

.hero {
  position: relative;
  padding: 20px 0 92px;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(90deg, #cfe3ff 0%, #e7f1ff 45%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: 40px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 187, 255, 0.26) 0%, rgba(125, 187, 255, 0.12) 34%, rgba(125, 187, 255, 0.03) 56%, rgba(125, 187, 255, 0) 78%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-bg-shape {
  position: absolute;
  right: -140px;
  top: -90px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 187, 255, 0.24) 0%, rgba(125, 187, 255, 0) 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 42px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-label {
  letter-spacing: 1.8px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: none;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.3rem);
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--dark);
  text-shadow: none;
}

.hero-description {
  max-width: 640px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #2f4a7a;
  text-shadow: none;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-dashboard {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 500px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
  animation: floatUp 5.5s ease-in-out infinite;
}

.hero-dashboard::before {
  content: none;
}

.hero-dashboard::after {
  content: none;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider-track {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  transform: translate3d(28px, 0, 0) scale(0.985);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  position: absolute;
  height: 100%;
}

.hero-slide p {
  margin: 10px 0;
  font-size: 0.92rem;
  color: #2d436f;
}

.hero-slide-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  margin: 4px 0 12px;
}

.hero-slide-note {
  margin-top: 12px;
}

.hero-slide-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.hero-slide-list li {
  margin: 5px 0;
  font-size: 0.88rem;
}

.hero-slider-controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-slider-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(11, 42, 99, 0.28);
  background: rgba(11, 42, 99, 0.06);
  color: var(--primary);
  cursor: pointer;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 42, 99, 0.24);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--gold);
}

.panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.hero-dashboard .panel {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 246, 255, 0.86) 100%);
  border: 1px solid rgba(11, 42, 99, 0.14);
  box-shadow: 0 14px 28px rgba(13, 43, 99, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.hero-dashboard .panel h3,
.hero-dashboard .panel h4 {
  color: var(--dark);
}

.panel h3,
.panel h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.panel-main {
  grid-column: span 2;
}

.bar-row {
  margin-bottom: 10px;
}

.bar-row span {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.hero-dashboard .bar-row span {
  color: #2d4470;
}

.bar-row div {
  width: 100%;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.hero-dashboard .bar-row div {
  background: #d7e4f7;
}

.bar-row i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b84b 0%, #ffd992 100%);
}

.section-title-wrap {
  margin-bottom: 32px;
}

.section-title-wrap h2 {
  font-size: 1.2rem;
  text-align: center;
}

.grid {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.solution-card,
.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.2s ease;
}

#about .cards-3 {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
}

#about .info-card {
  flex: 0 0 calc((100% - 90px) / 6);
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  box-shadow: none;
  border: 1px solid #edf1f7;
}

#about .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--white);
  background: linear-gradient(140deg, #123a86 0%, #0b2a63 100%);
  box-shadow: 0 8px 18px rgba(11, 42, 99, 0.28);
}

#about .info-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#about .info-card h3 {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

#about .info-card p {
  font-size: 0.61rem;
  line-height: 1.45;
  color: #4d5f85;
}

.info-card:hover,
.solution-card:hover,
.industry-card:hover {
  transform: translateY(-4px);
}

#about .info-card:hover,
#services .solution-card:hover {
  cursor: pointer;
}

.solution-card a {
  margin-top: 14px;
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
}

#services .service-preview {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid #e2e8f3;
}

#services .cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#services .solution-card {
  text-align: left;
}

#services .solution-card p {
  font-size: 0.9rem;
}

#services .solution-card h3 {
  margin-bottom: 8px;
}

#services .solution-card a {
  margin-top: 8px;
}

#services .service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #0b2a63;
  border: none;
  box-shadow: 0 8px 18px rgba(11, 42, 99, 0.45);
}

#services .service-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#services .solution-card:nth-child(2) .service-icon {
  background: #f2b84b;
  box-shadow: 0 8px 18px rgba(242, 184, 75, 0.45);
}

#services .solution-card:nth-child(3) .service-icon {
  background: #34a853;
  box-shadow: 0 8px 18px rgba(52, 168, 83, 0.45);
}

#services .solution-card:nth-child(4) .service-icon {
  background: #7e57c2;
  box-shadow: 0 8px 18px rgba(126, 87, 194, 0.45);
}

.platform-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.platform-item {
  border-radius: 12px;
  padding: 14px;
  min-height: 120px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border: 1px solid #dce4f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.platform-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.platform-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
}

.disclaimer {
  margin-top: 16px;
  color: #38507f;
}

#platforms .section-title-wrap p {
  text-align: center;
  font-size: 1.0rem;
}

#industries .section-title-wrap p {
  text-align: center;
  font-size: 0.82rem;
}

#industries .industry-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#industries .industry-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

#industries .industry-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
}

#industries .industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

#industries .industry-card p {
  font-size: 0.84rem;
  margin: 0;
}

.process-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.process-row article {
  position: relative;
  border-radius: 14px;
  padding: 16px;
  background: transparent;
  text-align: center;
}

.process-row article::after {
  content: "->";
  position: absolute;
  right: -14px;
  top: 45%;
  transform: translateY(-50%);
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

.process-row article:last-child::after {
  content: none;
}

.process-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b2a63;
  box-shadow: 0 10px 22px rgba(11, 42, 99, 0.35);
}

.process-row article:nth-child(2) .process-icon {
  background: #f2b84b;
  box-shadow: 0 10px 22px rgba(242, 184, 75, 0.35);
}

.process-row article:nth-child(3) .process-icon {
  background: #34a853;
  box-shadow: 0 10px 22px rgba(52, 168, 83, 0.35);
}

.process-row article:nth-child(4) .process-icon {
  background: #7e57c2;
  box-shadow: 0 10px 22px rgba(126, 87, 194, 0.35);
}

.process-row article:nth-child(5) .process-icon {
  background: #1f9bbf;
  box-shadow: 0 10px 22px rgba(31, 155, 191, 0.35);
}

.process-row article:nth-child(6) .process-icon {
  background: #ef6c00;
  box-shadow: 0 10px 22px rgba(239, 108, 0, 0.35);
}

.process-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.process-row strong {
  display: block;
  margin-bottom: 8px;
}

.process-row p {
  font-size: 0.82rem;
}

.case-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

#case-study {
  background: linear-gradient(140deg, #0b2a63 0%, #071a40 100%);
  color: var(--white);
}

#case-study h2 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 8px;
}

#case-study h3 {
  margin-bottom: 10px;
}

.metrics {
  margin: 18px 0;
  padding-left: 18px;
}

.case-visual .panel-main {
  min-height: 210px;
  background: linear-gradient(160deg, #0c2b67 0%, #19488f 100%);
  color: var(--white);
}

#case-study .case-visual {
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#case-study .case-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta {
  background: linear-gradient(120deg, #0b2a63 0%, #071a40 100%);
  color: var(--white);
}

.cta-box {
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 10px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.consultation-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.consultation-modal.open {
  display: flex;
}

.consultation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 17, 39, 0.72);
}

.consultation-dialog {
  position: relative;
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  padding: 24px;
  z-index: 1;
}

.consultation-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: #4a5b7d;
}

.consultation-dialog h3 {
  margin-bottom: 6px;
  color: var(--primary);
}

.consultation-dialog p {
  margin-top: 0;
  margin-bottom: 12px;
  color: #4d5f85;
}

#consultation-form {
  display: grid;
  gap: 8px;
}

#consultation-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

#consultation-form input,
#consultation-form select,
#consultation-form textarea {
  width: 100%;
  border: 1px solid #d6dfed;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #112447;
}

#consultation-form input:focus,
#consultation-form select:focus,
#consultation-form textarea:focus {
  outline: none;
  border-color: #0b2a63;
  box-shadow: 0 0 0 3px rgba(11, 42, 99, 0.14);
}

#consultation-form textarea {
  resize: vertical;
}

#consultation-form .honeypot {
  display: none;
}

.form-feedback {
  margin: 4px 0;
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form-feedback.error {
  color: #b72a2a;
}

.form-feedback.success {
  color: #1f7a3b;
}

#consultation-form button[type="submit"] {
  margin-top: 4px;
}

.es-footer {
  background: #061531;
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  padding: 68px 0 42px;
  display: grid;
  gap: 18px;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
}

.es-footer h3,
.es-footer h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.es-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.es-footer li {
  margin: 6px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  font-size: 0.92rem;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1200px) {
  .cards-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-row article::after {
    content: none;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    left: 0;
    top: 78px;
    width: 100%;
    padding: 18px 24px;
    background: #071a40;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .menu.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider-track {
    height: 390px;
  }

  .cards-4,
  .cards-3,
  .platform-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .es-container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero-dashboard {
    min-height: 450px;
  }

  .hero-slider-track {
    height: 370px;
  }

  .hero-slide-image {
    height: 150px;
  }

  .section {
    padding: 72px 0;
  }

  .cards-4,
  .cards-3,
  .cards-5,
  .platform-row,
  .process-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
