:root {
  --navy-950: #060b16;
  --navy-900: #0a1424;
  --navy-800: #101d33;
  --ink: #0f1524;
  --muted: #6b7280;
  --muted-light: #9298a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ef8a1c;
  --accent-light: #ffb648;
  --navy-text: #16234a;
  --blue: #2563eb;
  --grad: linear-gradient(135deg, var(--accent-light), var(--accent));
  --bg-light: #f5f6fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(16, 20, 42, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name, .btn, .eyebrow, .nav a {
  font-family: "Poppins", "Inter", "Segoe UI", system-ui, sans-serif;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.eyebrow-light { color: var(--accent-light); }

.section-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn .icon { width: 16px; height: 16px; }

.btn-primary {
  background: var(--grad);
  color: #1a1000;
  box-shadow: 0 12px 24px -10px rgba(239, 138, 28, 0.55);
}

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

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline:hover { border-color: #fff; }

.btn-ghost {
  background: rgba(19, 33, 68, 0.06);
  color: var(--navy-text);
  border-color: rgba(19, 33, 68, 0.18);
  font-size: 14px;
  padding: 10px 18px;
}

.btn-ghost:hover { background: rgba(19, 33, 68, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(19, 33, 68, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-text);
}

.brand-mark {
  height: 60px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-text);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
}

.nav a:hover { color: var(--accent); }

.nav a.active { color: var(--accent); }

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
}

.nav .icon { width: 14px; height: 14px; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 82% 10%, rgba(239, 138, 28, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 90%, rgba(37, 99, 235, 0.22), transparent 60%),
    var(--navy-950);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--navy-950) 0%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 64px);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 70% 30%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 90% 90% at 70% 30%, #000 0%, transparent 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 6%;
  width: 420px;
  height: 420px;
  max-width: 60vw;
  max-height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 138, 28, 0.35), transparent 68%);
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
  padding: 104px 0 120px;
}

.hero-copy { max-width: 660px; }

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.005em;
  margin-bottom: 22px;
}

.hero-copy h1 .grad {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(239, 138, 28, 0.26), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(37, 99, 235, 0.20), transparent 60%),
    var(--navy-950);
  color: #fff;
  padding: 84px 0 96px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 16px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 620px;
  margin: 0 auto 28px;
}

.page-hero .hero-actions { justify-content: center; }

/* ---------- Section shared ---------- */
section { padding: 88px 0; }
.hero + section { padding-top: 88px; }
.page-hero + .pricing { padding-top: 64px; }

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--ink);
}

.section-head.left { text-align: left; margin: 0 0 22px; }

/* ---------- Solutions cards ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 20, 42, 0.05);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.card-icon.grad { background: var(--grad); }
.card-icon.blue { background: linear-gradient(135deg, #38bdf8, var(--blue)); }

.solution-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.learn-more .icon { width: 14px; height: 14px; transition: transform 0.15s ease; }
.learn-more:hover .icon { transform: translateX(3px); }

/* ---------- Why choose us ---------- */
.why {
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why-media { padding-top: 6px; }

.why-media .feature-list {
  background: #fff;
  border: 1px solid rgba(16, 20, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.why-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.why-copy h2 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-copy > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 16px;
}

.why-copy > p:last-of-type { margin-bottom: 34px; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
}

.feature-item { display: flex; gap: 14px; }

.feature-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.feature-icon.grad { background: var(--grad); }
.feature-icon.blue { background: linear-gradient(135deg, #38bdf8, var(--blue)); }

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13.5px;
  color: var(--muted);
}

.why-media { position: relative; }

/* ---------- Technologies badges ---------- */
.tech-section { background: var(--white); }

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.tech-badge {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-light);
  border: 1px solid rgba(16, 20, 42, 0.08);
  border-radius: 999px;
  padding: 10px 18px;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--navy-950);
  color: #fff;
  text-align: center;
}

.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.68); max-width: 480px; margin: 0 auto 30px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 280px; }

.footer-col h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a,
.footer-col .footer-location {
  color: rgba(255,255,255,0.62);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 15px; height: 15px; flex: none; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Pricing / support packages ---------- */
.pricing { background: var(--white); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plan-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin: 0 auto; }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(16, 20, 42, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.plan-card.popular {
  border-color: transparent;
  box-shadow: 0 26px 50px -20px rgba(239, 138, 28, 0.4);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--grad);
  color: #1a1000;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan-name {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.plan-price {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.plan-price .cur { font-size: 20px; align-self: flex-start; margin-top: 4px; }
.plan-price .amt { font-size: 40px; }
.plan-price .per { font-size: 13px; font-weight: 600; color: var(--muted); }

.plan-price-range { font-size: 26px; }

.plan-sub { font-size: 12px; color: var(--muted-light); margin-top: 6px; }

.plan-feats {
  margin: 20px 0 22px;
  display: grid;
  gap: 10px;
}

.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
}

.plan-feats li .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent);
  stroke-width: 2.4;
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 14px;
}

.plan-card .btn-outline {
  border-color: rgba(16, 20, 42, 0.18);
  color: var(--ink);
}
.plan-card .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.pricing-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-light);
  text-align: center;
}

/* ---------- Services detail (services.php) ---------- */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.svc-card {
  scroll-margin-top: 100px;
  background: #fff;
  border: 1px solid rgba(16, 20, 42, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.svc-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-950);
}

.svc-media img { width: 100%; height: 100%; object-fit: cover; }

.svc-body { padding: 28px 26px 30px; }
.svc-body .card-icon { margin-bottom: 16px; }
.svc-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.svc-strap { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.svc-body > p:not(.svc-strap) { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.svc-body .plan-feats { margin: 0; }

/* ---------- Our Approach page ---------- */
.sla-section { background: var(--bg-light); }

.sla-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sla-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 560px;
}

.sla-table th,
.sla-table td {
  text-align: left;
  padding: 18px 22px;
  font-size: 14px;
  border-bottom: 1px solid rgba(16, 20, 42, 0.06);
}

.sla-table th {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-light);
}

.sla-table tr:last-child td { border-bottom: 0; }

.sla-target {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}
.sla-target .icon { width: 16px; height: 16px; color: var(--accent); }

.sla-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
}
.sla-badge.sla-critical { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }
.sla-badge.sla-high     { background: rgba(239, 138, 28, 0.14); color: #b45f0f; }
.sla-badge.sla-medium   { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
.sla-badge.sla-low      { background: rgba(16, 185, 129, 0.14); color: #047857; }

.proactive-section { background: var(--white); }

.proactive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.proactive-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
}
.proactive-item .icon { color: var(--accent); width: 18px; height: 18px; flex: none; }

.pillars-section { background: var(--bg-light); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar {
  background: #fff;
  border: 1px solid rgba(16, 20, 42, 0.06);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.pillar h4 { font-size: 15px; font-weight: 700; margin: 4px 0 6px; }
.pillar p { font-size: 13.5px; color: var(--muted); }

/* ---------- Contact modal ---------- */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 20px 20px;
  background: rgba(5, 7, 15, 0.62);
  backdrop-filter: blur(3px);
  overflow-y: auto;
}

.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 18px;
  padding: 34px 30px 28px;
  box-shadow: 0 40px 80px -24px rgba(5, 7, 15, 0.55);
  animation: modal-in 0.18s ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { color: var(--ink); }

.modal h3 {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.modal-sub { font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }

.contact-form .field { margin-bottom: 14px; }

.contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form label span { color: var(--muted-light); font-weight: 500; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 20, 42, 0.16);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 96px; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 138, 28, 0.16);
}

.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.contact-form .btn.is-loading { opacity: 0.65; pointer-events: none; }

.form-status {
  font-size: 13px;
  margin: 6px 0 12px;
  min-height: 1px;
}
.form-status.ok  { color: #15803d; }
.form-status.err { color: #b91c1c; }

.form-fallback {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.form-fallback a { color: var(--accent); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid rgba(19, 33, 68, 0.08);
    box-shadow: var(--shadow);
    padding: 12px 32px 20px;
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
  .header-actions .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 80px; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid,
  .plan-grid-3 { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .proactive-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .plan-grid,
  .plan-grid-3 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .proactive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sla-table th, .sla-table td { padding: 13px 16px; }
  .container { padding: 0 20px; }
  .brand-mark { height: 46px; }
  .hero-copy h1 { font-size: 2rem; }
  .solution-card,
  .plan-card,
  .pillar,
  .why-media .feature-list { padding: 22px 20px; }
  .svc-body { padding: 22px 20px 24px; }
}
