:root {
  --bg: #f3f8ff;
  --surface: #ffffff;
  --surface-2: #eef5ff;
  --text: #0d1b3a;
  --muted: #51607d;
  --line: rgba(18, 50, 114, 0.12);
  --primary: #0057ff;
  --primary-deep: #0037a8;
  --accent: #00a6ff;
  --lime: #a9ff00;
  --shadow: 0 22px 55px rgba(5, 31, 79, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 166, 255, 0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(169, 255, 0, 0.08), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(255,255,255,0.5); }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0 10px; }
.logo-link img { width: clamp(180px, 20vw, 250px); }
.header-contact { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 600; }
.nav-bar { border-top: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.primary-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.primary-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #123272;
  letter-spacing: 0.02em;
}
.primary-nav a.active, .primary-nav a:hover { background: rgba(0,87,255,0.1); color: var(--primary); }
.nav-toggle { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--nav, .btn--primary { background: linear-gradient(135deg, var(--accent), var(--primary)); color: white; box-shadow: 0 16px 40px rgba(0,87,255,0.25); }
.btn--ghost-light { background: rgba(255,255,255,0.14); color: white; border: 1px solid rgba(255,255,255,0.28); }
.eyebrow { display: inline-block; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 800; color: white; }
.eyebrow--blue { color: var(--primary); }
.eyebrow--lime { color: #78c600; }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.08; font-family: 'Space Grotesk', 'Inter', sans-serif; }
h1 { font-size: clamp(2.8rem, 7vw, 5.3rem); text-shadow: 0 2px 10px rgba(0,0,0,0.16); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-shadow: 0 2px 8px rgba(0,0,0,0.06); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 16px; color: var(--muted); }
.hero {
  position: relative;
  overflow: clip;
  min-height: 760px;
  display: grid;
  align-items: stretch;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media {
  background-image: linear-gradient(100deg, rgba(0,15,56,0.92) 20%, rgba(0,47,147,0.52) 55%, rgba(0,113,255,0.08) 100%), url('../img/technology-g347665f3a_1920.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  background:
    radial-gradient(circle at 80% 20%, rgba(0,166,255,0.22), transparent 22%),
    radial-gradient(circle at 90% 60%, rgba(169,255,0,0.18), transparent 18%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .8fr);
  gap: 40px;
  align-items: center;
  padding: 78px 0 82px;
}
.hero-copy { color: white; }
.hero-copy p { color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 700px; }
.hero-copy h1 span, .feature-copy h3 span, .cta-ribbon h2 span { color: var(--lime); }
.hero-actions, .hero-points { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions { margin: 30px 0 28px; }
.hero-points > div {
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-points strong { display: block; font-size: 1rem; }
.hero-points span { display: block; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 24px 80px rgba(0,20,72,0.28);
  backdrop-filter: blur(16px);
  color: white;
  border-radius: 30px;
  padding: 28px;
}
.glass-card p { color: rgba(255,255,255,0.8); }
.service-mini-list article { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.service-mini-list article:first-child { border-top: 0; padding-top: 0; }
.section { padding: 92px 0; }
.section-heading { max-width: 900px; margin-bottom: 36px; }
.section-heading.centered { text-align: center; margin-inline: auto auto; }
.section-heading p { font-size: 1.05rem; }
.section--services { margin-top: -46px; position: relative; z-index: 2; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card, .detail-card, .contact-panel, .contact-info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,255,0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card img, .detail-card img, .contact-info-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card__body { padding: 24px; }
.service-card__body h3 { color: #123272; }
.section--split { background: linear-gradient(180deg, rgba(0,87,255,0.03), rgba(169,255,0,0.03)); }
.split-layout, .about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.image-stack { position: relative; }
.image-main { border-radius: 30px; box-shadow: var(--shadow); min-height: 540px; object-fit: cover; }
.image-badge {
  position: absolute; right: -22px; bottom: -22px; width: min(46%, 220px);
  background: white; border-radius: 26px; padding: 10px; box-shadow: var(--shadow);
}
.content-panel h2 { max-width: 680px; }
.feature-copy article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.feature-copy article:last-child { border-bottom: 0; }
.lead-text { font-size: 1.12rem; color: #23427d; }
.about-visual img { border-radius: 30px; min-height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.cta-ribbon { padding-top: 16px; }
.cta-ribbon__inner {
  background: linear-gradient(135deg, #041e60 0%, #0057ff 55%, #11b4ff 100%);
  color: white; border-radius: 34px; padding: 38px 42px;
  box-shadow: 0 30px 70px rgba(0,66,198,0.26);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-ribbon--soft .cta-ribbon__inner { background: linear-gradient(135deg, #eaf3ff, #ffffff); color: var(--text); }
.cta-ribbon--soft .eyebrow { color: var(--primary); }
.cta-ribbon__inner p { color: inherit; opacity: 0.9; }
.page-hero {
  padding: 86px 0 74px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(0,87,255,0.1), rgba(17,180,255,0.08), rgba(169,255,0,0.08));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero--services { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(233,243,255,0.96)); }
.page-hero--contact { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,255,228,0.5)); }
.page-hero .eyebrow { color: var(--primary); }
.service-detail-grid { display: grid; gap: 28px; }
.detail-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
}
.detail-card > div { padding: 28px; }
.detail-card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.detail-card li { margin-bottom: 8px; }
.contact-panel, .contact-info-card { padding: 28px; }
.contact-info-card { padding: 0; overflow: hidden; }
.contact-info-card__body { padding: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.contact-list li:last-child { border-bottom: 0; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 8px; color: #123272; }
.form-row { margin-bottom: 18px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea {
  width: 100%; border-radius: 18px; border: 1px solid rgba(18,50,114,0.16); background: white;
  padding: 15px 16px; font: inherit; color: var(--text); box-shadow: inset 0 1px 1px rgba(8,33,91,0.05);
}
input:focus, textarea:focus { outline: 3px solid rgba(0,166,255,0.18); border-color: rgba(0,87,255,0.26); }
.alert { padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; font-weight: 700; }
.alert--success { background: rgba(124, 214, 26, 0.16); color: #355c00; }
.alert--error { background: rgba(255, 82, 95, 0.12); color: #8a1831; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.site-footer { padding: 48px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 30px; padding-top: 14px; }
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 22px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero-content, .split-layout, .about-grid, .contact-grid, .detail-card, .service-grid, .footer-grid { grid-template-columns: 1fr; }
  .section--services { margin-top: 0; }
  .hero { min-height: auto; }
  .image-badge { right: 18px; bottom: 18px; width: 180px; }
}

@media (max-width: 760px) {
  .header-top, .nav-wrap, .cta-ribbon__inner { flex-direction: column; align-items: flex-start; }
  .primary-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 10px;
  }
  .primary-nav.is-open { display: flex; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px;
    border-radius: 999px; border: 1px solid var(--line); background: white; color: var(--text); font-weight: 700;
  }
  .btn--nav { width: 100%; }
  .hero-content { padding: 56px 0 60px; }
  .section { padding: 70px 0; }
  .form-row--2 { grid-template-columns: 1fr; }
  .detail-card img, .service-card img, .contact-info-card img { height: 210px; }
}


.blog-toolbar, .admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list span, .blog-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,87,255,0.08);
  color: #123272;
  font-weight: 700;
  font-size: 0.9rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card { height: 100%; }
.blog-card .service-card__body { display: flex; flex-direction: column; height: calc(100% - 220px); }
.blog-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.blog-link, .link-button {
  color: var(--primary);
  font-weight: 800;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.blog-link { margin-top: auto; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; }
.blog-post-layout { max-width: 900px; }
.blog-post-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,255,0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-post-image { width: 100%; max-height: 420px; object-fit: cover; }
.blog-post-content { padding: 34px; }
.blog-post-content p { font-size: 1.05rem; }
.blog-post-actions, .admin-actions, .admin-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.blog-post-actions { padding: 0 34px 34px; }
.blog-outline-btn {
  background: white;
  border: 1px solid rgba(18,50,114,0.18);
  color: #123272;
}
.admin-shell { min-height: 100vh; }
.admin-login-card, .admin-dashboard { max-width: 1200px; }
.admin-login-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,255,0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  max-width: 680px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 28px;
}
.admin-post-list { align-self: start; }
.admin-post-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.admin-post-item:first-of-type { padding-top: 8px; }
.admin-post-item:last-child { border-bottom: 0; }
select {
  width: 100%; border-radius: 18px; border: 1px solid rgba(18,50,114,0.16); background: white;
  padding: 15px 16px; font: inherit; color: var(--text);
}
@media (max-width: 1000px) {
  .blog-grid, .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .blog-toolbar, .admin-header { flex-direction: column; align-items: flex-start; }
}
