:root {
  --navy: #0e1b2e;
  --navy-light: #16273f;
  --orange: #f2661f;
  --orange-dark: #d9540f;
  --orange-light: #fff1e8;
  --text-dark: #1a1d24;
  --text-gray: #667085;
  --bg-light: #f7f7f9;
  --white: #ffffff;
  --border: #e7e7ea;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 27, 46, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover { background: #1eb457; }

.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 20, 32, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--orange);
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.13rem;
  line-height: 1;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.6px;
}
.brand-name span { color: var(--orange); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.main-nav a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-contact-link {
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  font-weight: 600;
}
.header-contact-link:hover { color: var(--white); }
.header-cta { padding: 10px 17px; border-radius: 9px; font-size: .85rem; }
.header-cta svg, .btn-hero svg { width: 17px; height: 17px; }

/* Hero */
.hero {
  background:
    linear-gradient(145deg, #0a1420 0%, #0e1b2e 56%, #111f31 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 440px; height: 440px; right: -180px; top: -180px; background: radial-gradient(circle, rgba(242,102,31,.18), transparent 68%); }
.hero-orb-two { width: 360px; height: 360px; left: -220px; bottom: 40px; background: radial-gradient(circle, rgba(71,112,160,.14), transparent 70%); }

.hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 72px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 68px;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f7a775;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 19px;
}
.hero-kicker span { width: 24px; height: 2px; background: var(--orange); border-radius: 99px; }

.hero h1 {
  font-size: clamp(3rem, 4.7vw, 4.35rem);
  letter-spacing: -2.4px;
  margin-bottom: 22px;
  max-width: 690px;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
  max-width: 610px;
  color: rgba(255,255,255,.69);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 31px;
}
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-hero { padding: 14px 22px; }
.btn-ghost {
  border-color: rgba(255,255,255,.2);
  color: var(--white);
  background: rgba(255,255,255,.04);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.34); }

.hero-trust { display: flex; align-items: stretch; gap: 0; }
.hero-trust > div { display: flex; align-items: center; gap: 10px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-trust > div:first-child { padding-left: 0; border-left: 0; }
.hero-trust strong { font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--white); }
.hero-trust span { font-size: .72rem; line-height: 1.35; color: rgba(255,255,255,.48); }

.hero-visual { position: relative; min-width: 0; }
.engineering-card {
  position: relative;
  background: rgba(18,34,54,.82);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}
.card-topline {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .67rem;
}
.window-dots { display: flex; gap: 6px; }
.window-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.window-dots button.is-active { background: var(--orange); }
.window-dots button:hover, .window-dots button:focus-visible { transform: scale(1.25); outline: 2px solid rgba(255,255,255,.8); outline-offset: 3px; }
.card-content { padding: 25px 24px 22px; }
.capability-slide.is-active { animation: capability-fade .35s ease; }
@keyframes capability-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.code-line { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .78rem; color: #d9e5f4; }
.code-line.muted { color: rgba(255,255,255,.34); margin-bottom: 16px; }
.code-key, .code-brace { color: #f7a775; }
.code-comment { color: #71839a; }
.code-stack { margin: 17px 0 17px 14px; border-left: 1px solid rgba(242,102,31,.28); }
.code-stack > div { position: relative; padding: 11px 14px 11px 20px; display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; }
.code-stack > div::before { content:''; position:absolute; left:-3px; top:20px; width:5px; height:5px; background:var(--orange); border-radius:50%; box-shadow:0 0 0 4px rgba(242,102,31,.09); }
.code-stack span { grid-row: span 2; color: rgba(255,255,255,.25); font-family: ui-monospace, monospace; font-size:.65rem; padding-top:2px; }
.code-stack b { color: var(--white); font-size: .87rem; font-weight: 600; }
.code-stack em { color: rgba(255,255,255,.42); font-style: normal; font-size: .7rem; margin-top: 2px; }
.card-status { display:flex; justify-content:space-between; gap:18px; padding:13px 18px; border-top:1px solid rgba(255,255,255,.07); background:rgba(6,15,24,.35); color:rgba(255,255,255,.36); font-size:.65rem; }
.card-status span:first-child { color:rgba(255,255,255,.62); }
.card-status i { display:inline-block; width:7px; height:7px; margin-right:6px; border-radius:50%; background:#43c77b; box-shadow:0 0 0 4px rgba(67,199,123,.1); }
.floating-pill { position:absolute; z-index:2; display:flex; flex-direction:column; gap:1px; max-width:220px; padding:9px 12px; border-radius:10px; background:#fff; color:var(--navy); box-shadow:0 13px 30px rgba(0,0,0,.24); }
.floating-pill strong { font-size:.7rem; line-height:1.3; }
.floating-pill span { color:#536176; font-size:.62rem; font-weight:600; line-height:1.35; }
.pill-commerce { top:-43px; right:-20px; }
.pill-engineering { top:-43px; left:-25px; }
.pill-cloud { bottom:-42px; left:-25px; }
.pill-security { bottom:-42px; right:-20px; }

/* Stats bar */
.stats-bar { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.08); background: rgba(7,15,25,.5); }
.stats-bar .container { display: grid; grid-template-columns: repeat(4,1fr); padding: 18px 24px; }
.stat { display: flex; align-items: baseline; justify-content: center; gap: 9px; min-width: 0; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat strong { font-family:'Poppins',sans-serif; color:var(--white); font-size:1rem; }
.stat span { color:rgba(255,255,255,.42); font-size:.72rem; }

/* Section headers */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section-head p { color: var(--text-gray); }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--navy); color: var(--white); }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-card[id] { scroll-margin-top: 100px; }

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 26px; height: 26px; color: var(--orange); }

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 16px; }
.service-proof { display: inline-block; margin-top: -4px; margin-bottom: 16px; color: var(--orange); font-size: .74rem; font-weight: 700; }

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--orange);
  transition: background 0.2s ease, color 0.2s ease;
}
.service-link:hover { background: var(--orange); color: var(--white); }
.service-link svg { width: 16px; height: 16px; }

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.why-intro .eyebrow { color: var(--orange); }
.why-intro h2 { font-size: 2rem; margin-bottom: 16px; }
.why-intro h2 .accent { color: var(--orange); }
.why-intro p { color: rgba(255,255,255,0.7); }

.why-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-item svg { width: 28px; height: 28px; color: var(--orange); margin-bottom: 14px; }
.why-item h4 { font-size: 1rem; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* Connect / contact */
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.connect-info h2 { font-size: 2rem; margin-bottom: 14px; }
.connect-info > p { color: var(--text-gray); margin-bottom: 30px; max-width: 420px; }

.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .icon svg { width: 20px; height: 20px; color: var(--orange); }
.contact-item strong { display: block; font-size: 0.95rem; }
.contact-item span, .contact-item a.value { color: var(--text-gray); font-size: 0.9rem; }
.contact-item a.value { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; word-break: break-all; }
.contact-item a.value:hover { color: var(--orange); text-decoration-color: var(--orange); }
.contact-item .value-note { display: block; font-size: 0.78rem; color: var(--text-gray); margin-top: 2px; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 12px;
  text-align: center;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #e9f9ee; color: #1a7f3c; }
.form-status.error { background: #fdecec; color: #b42318; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer strong { color: var(--white); }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 58px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 670px; width: 100%; }
  .engineering-card { transform: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-items { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .whatsapp-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .header-inner { height: 70px; }
  .header-contact-link { display: none; }
  .header-cta { padding: 9px 13px; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-grid { min-height: 0; padding-top: 48px; padding-bottom: 50px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.5rem); letter-spacing: -1.7px; }
  .hero p.lead { font-size: .97rem; }
  .hero-trust { flex-wrap: wrap; row-gap: 18px; }
  .hero-trust > div { padding: 0 15px; }
  .hero-trust > div:nth-child(3) { padding-right: 0; }
  .floating-pill { display:none; }
  .stats-bar .container { grid-template-columns: repeat(2,1fr); row-gap: 13px; }
  .stat { border-left:0; justify-content:flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .why-items { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .header-cta { font-size: 0; gap: 0; width: 40px; height: 40px; padding: 0; justify-content:center; }
  .header-cta svg { width:19px; height:19px; }
  .hero-kicker { font-size:.68rem; letter-spacing:1px; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .hero-trust > div { width:50%; padding:0 12px; }
  .hero-trust > div:nth-child(3) { width:100%; border-left:0; padding-left:0; }
  .card-content { padding:22px 17px 19px; }
  .code-stack { margin-left:8px; }
  .card-status { flex-direction:column; gap:4px; }
  .stats-bar .container { grid-template-columns:1fr 1fr; }
  .stat { flex-direction:column; gap:0; align-items:flex-start; }
}

/* Solutions dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 6px; }
.nav-dropdown-trigger span { font-size: 1rem; transition: transform .2s ease; }
.nav-dropdown:hover .nav-dropdown-trigger span,
.nav-dropdown:focus-within .nav-dropdown-trigger span { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 255px;
  padding: 9px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(2,8,23,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -17px; height: 17px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.main-nav .nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: .86rem;
  font-weight: 600;
}
.main-nav .nav-dropdown-menu a:hover { color: #0f172a; background: #f8fafc; }
