:root {
  --navy-950: #06192c;
  --navy-900: #0a2440;
  --navy-800: #10385f;
  --navy-700: #175083;
  --blue-600: #2468b3;
  --blue-500: #3c82cc;
  --blue-100: #deecfa;
  --gold-600: #b98719;
  --gold-500: #d0a12d;
  --gold-300: #edcf7a;
  --ink: #15253a;
  --muted: #617086;
  --line: #dce5ef;
  --surface: #f4f8fc;
  --white: #ffffff;
  --shadow-sm: 0 12px 32px rgba(10, 36, 64, 0.08);
  --shadow-lg: 0 24px 70px rgba(8, 31, 55, 0.17);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1240px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-600); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(208, 161, 45, .55); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 12px 18px; background: var(--white); color: var(--navy-900); border-radius: 8px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--blue-600); font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
h1, h2, h3, h4 { margin: 0 0 16px; color: var(--navy-900); font-weight: 760; line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 20px; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); line-height: 1.75; }
.muted { color: var(--muted); }
.text-white, .text-white h2, .text-white h3 { color: var(--white); }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-dark { position: relative; color: #dce9f5; background: radial-gradient(circle at 80% 15%, rgba(48, 119, 188, .32), transparent 31%), linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::before { display: none; }
.section-heading p:last-child { margin-bottom: 0; }
.gold-text { color: var(--gold-500); }

/* Header */
.topbar { background: var(--navy-950); color: #c7d8e8; font-size: .86rem; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar a { color: var(--gold-300); font-weight: 700; }
.site-header { position: relative; z-index: 1000; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(11,42,74,.08); transition: box-shadow var(--transition); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 10px 32px rgba(7, 27, 48, .12); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 236px; height: 68px; object-fit: contain; }
.nav-wrap { display: flex; align-items: center; gap: 24px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link, .nav-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 10px 12px; border: 0; background: transparent; color: var(--navy-900); font-size: .93rem; font-weight: 720; }
.nav-link:hover, .nav-link.active, .nav-toggle:hover { color: var(--blue-600); }
.nav-toggle .fa-chevron-down { font-size: .65rem; transition: transform var(--transition); }
.submenu { position: absolute; left: 0; top: calc(100% + 12px); width: 286px; margin: 0; padding: 12px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition); }
.submenu::before { content: ""; position: absolute; top: -13px; left: 0; right: 0; height: 14px; }
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .nav-item.open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover > .nav-toggle .fa-chevron-down, .nav-item.open > .nav-toggle .fa-chevron-down { transform: rotate(180deg); }
.submenu a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: .91rem; font-weight: 630; line-height: 1.35; }
.submenu a:hover { background: var(--surface); color: var(--blue-600); }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-900); font-size: 1.25rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 780; line-height: 1.2; transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); box-shadow: 0 12px 28px rgba(36,104,179,.25); }
.btn-primary:hover { color: var(--white); box-shadow: 0 16px 34px rgba(36,104,179,.35); }
.btn-gold { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); box-shadow: 0 12px 28px rgba(208,161,45,.24); }
.btn-gold:hover { color: var(--navy-950); }
.btn-outline { color: var(--navy-900); background: rgba(255,255,255,.92); border-color: rgba(11,42,74,.18); }
.btn-outline:hover { color: var(--blue-600); border-color: var(--blue-500); }
.btn-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.46); }
.btn-outline-light:hover { color: var(--navy-900); background: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-600); font-weight: 780; }
.text-link i { transition: transform var(--transition); }
.text-link:hover i { transform: translateX(4px); }

/* Hero */
.hero { position: relative; min-height: 730px; display: grid; align-items: center; isolation: isolate; overflow: hidden; background: var(--navy-950); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('../images/hero/software-hero.webp') center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,22,39,.98) 0%, rgba(7,31,56,.95) 38%, rgba(7,31,56,.52) 68%, rgba(7,31,56,.14) 100%); }
.hero-content { max-width: 710px; padding: 88px 0; color: #d7e5f2; }
.hero h1 { color: var(--white); font-size: clamp(3rem, 6.4vw, 5.7rem); }
.hero h1 span { color: var(--gold-300); }
.hero .lead { max-width: 660px; color: #d5e3f0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--gold-300); font-size: .85rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(237,207,122,.45); border-radius: 50%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 34px 0 0; padding: 0; list-style: none; color: #c3d7e8; font-size: .93rem; font-weight: 630; }
.hero-proof i { margin-right: 7px; color: var(--gold-300); }
.inner-hero { position: relative; overflow: hidden; padding: 106px 0 82px; color: #d7e7f5; background: radial-gradient(circle at 82% 10%, rgba(54,132,208,.38), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.inner-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); }
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 { max-width: 880px; color: var(--white); font-size: clamp(2.7rem, 5vw, 4.8rem); }
.inner-hero p { max-width: 760px; font-size: 1.13rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; color: #bbd1e6; font-size: .9rem; font-weight: 700; }
.breadcrumbs a { color: var(--gold-300); }

/* Layout */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(42px, 7vw, 92px); }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--navy-900); }
.media-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-frame .media-label { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 16px 18px; color: var(--white); background: rgba(7,31,55,.84); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; backdrop-filter: blur(10px); font-weight: 700; }
.accent-line { width: 72px; height: 4px; margin: 24px 0; background: linear-gradient(90deg, var(--gold-500), var(--blue-500)); border-radius: 99px; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.check-list li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 620; }
.check-list li::before { content: "\f058"; position: absolute; left: 0; top: 1px; color: var(--gold-600); font-family: "Font Awesome 6 Free"; font-weight: 900; }
.section-dark .check-list li { color: #dce9f5; }

/* Cards */
.card { height: 100%; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card:hover { transform: translateY(-6px); border-color: rgba(36,104,179,.35); box-shadow: 0 22px 48px rgba(8,31,55,.13); }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; color: var(--blue-600); background: linear-gradient(145deg, #eef6ff, #fff8df); border: 1px solid #d8e7f4; border-radius: 16px; font-size: 1.45rem; }
.service-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold-500), var(--blue-500)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .text-link { margin-top: auto; padding-top: 18px; }
.feature-card { padding: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; backdrop-filter: blur(8px); }
.feature-card .icon-box { width: 48px; height: 48px; margin-bottom: 17px; color: var(--gold-300); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.feature-card p { margin: 0; color: #c9dbea; font-size: .94rem; }
.solution-card { position: relative; overflow: hidden; padding-top: 38px; }
.solution-card .number { position: absolute; right: 24px; top: 18px; color: rgba(23,80,131,.1); font-size: 4rem; font-weight: 900; line-height: 1; }
.industry-card { padding: 0; overflow: hidden; }
.industry-card .industry-top { min-height: 120px; display: flex; align-items: flex-end; padding: 26px; color: var(--white); background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); }
.industry-card .industry-top h3 { margin: 0; color: var(--white); }
.industry-card .industry-body { padding: 26px; }
.portfolio-card { padding: 0; overflow: hidden; }
.portfolio-visual { min-height: 210px; display: grid; place-items: center; padding: 28px; background: linear-gradient(150deg, var(--navy-950), var(--navy-700)); }
.portfolio-visual i { color: var(--gold-300); font-size: 4.2rem; filter: drop-shadow(0 14px 24px rgba(0,0,0,.25)); }
.portfolio-body { padding: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag { display: inline-flex; padding: 6px 10px; color: var(--navy-700); background: #eef5fb; border: 1px solid #dbe8f3; border-radius: 999px; font-size: .75rem; font-weight: 760; }

/* Process and technology */
.process-grid { counter-reset: process; }
.process-card { position: relative; padding: 28px 24px; border-top: 1px solid var(--line); }
.process-card::before { counter-increment: process; content: "0" counter(process); display: inline-flex; margin-bottom: 18px; color: var(--gold-600); font-weight: 860; letter-spacing: .08em; }
.process-card::after { content: ""; position: absolute; left: 24px; top: -2px; width: 48px; height: 4px; background: var(--gold-500); border-radius: 99px; }
.process-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.tech-group { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tech-group h3 { display: flex; align-items: center; gap: 12px; }
.tech-group h3 i { color: var(--gold-600); }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.tech-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; color: var(--navy-900); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 720; }
.tech-list i { color: var(--blue-600); font-size: 1rem; }

/* CTA */
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 40px; padding: clamp(42px, 7vw, 72px); color: #d9e8f5; background: radial-gradient(circle at 90% 0, rgba(208,161,45,.25), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-700)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cta-panel::after { content: "</>"; position: absolute; right: 4%; bottom: -28px; color: rgba(255,255,255,.045); font-size: 11rem; font-weight: 900; line-height: 1; }
.cta-panel h2 { color: var(--white); }
.cta-panel p { max-width: 720px; margin: 0; }
.cta-panel .button-row { position: relative; z-index: 1; margin: 0; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 21px 24px; border: 0; color: var(--navy-900); background: transparent; text-align: left; font-weight: 760; }
.faq-question i { color: var(--gold-600); transition: transform var(--transition); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Blog */
.blog-card { padding: 0; overflow: hidden; }
.blog-image { height: 190px; display: grid; place-items: center; color: var(--gold-300); background: radial-gradient(circle at 70% 15%, rgba(60,130,204,.45), transparent 34%), linear-gradient(145deg, var(--navy-950), var(--navy-700)); }
.blog-image i { font-size: 3.4rem; }
.blog-body { padding: 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; color: var(--blue-600); font-size: .78rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 56px; }
.article-body { font-size: 1.05rem; }
.article-body h2 { margin-top: 46px; font-size: 2rem; }
.article-body h3 { margin-top: 32px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 9px; }
.article-callout { margin: 36px 0; padding: 28px; background: #eff6fc; border-left: 4px solid var(--gold-500); border-radius: 0 16px 16px 0; }
.sidebar-card { position: sticky; top: 112px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.search-box { display: flex; gap: 10px; margin-bottom: 32px; }
.search-box input { flex: 1; min-width: 0; height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 38px; align-items: start; }
.contact-panel { padding: 34px; color: #d8e8f5; background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); border-radius: var(--radius); }
.contact-panel h2, .contact-panel h3 { color: var(--white); }
.contact-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 13px; }
.contact-list i { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-300); background: rgba(255,255,255,.08); border-radius: 12px; }
.form-card { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 7px; color: var(--navy-900); font-size: .9rem; font-weight: 760; }
.form-control { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid #cfdce8; border-radius: 11px; transition: border-color var(--transition), box-shadow var(--transition); }
textarea.form-control { min-height: 145px; resize: vertical; }
.form-control:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(60,130,204,.12); outline: 0; }
.form-status { display: none; margin-top: 18px; padding: 13px 15px; border-radius: 10px; }
.form-status.show { display: block; }
.form-status.success { color: #14532d; background: #dcfce7; }
.form-status.info { color: #78350f; background: #fef3c7; }
.form-status.error { color: #7f1d1d; background: #fee2e2; }
.required { color: #a43333; }

/* Footer */
.site-footer { color: #c2d4e5; background: var(--navy-950); }
.footer-main { padding: 76px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 38px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 22px; padding: 8px; background: var(--white); border-radius: 12px; }
.footer-title { margin-bottom: 20px; color: var(--white); font-size: 1rem; letter-spacing: .04em; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #c2d4e5; font-size: .91rem; }
.footer-links a:hover { color: var(--gold-300); }
.footer-contact { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.footer-contact i { color: var(--gold-300); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .84rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #c2d4e5; }
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--navy-950); background: var(--gold-300); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); }
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: none; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 0, #e7f2fc, transparent 48%); }
.error-code { margin-bottom: 4px; color: var(--blue-600); font-size: clamp(6rem, 18vw, 12rem); font-weight: 900; line-height: .9; letter-spacing: -.08em; }
.legal-content { max-width: 900px; }
.legal-content h2 { margin-top: 44px; font-size: 1.75rem; }
.legal-content h3 { margin-top: 28px; }
.legal-note { padding: 20px; background: #fff8df; border: 1px solid #ead593; border-radius: 14px; }
.placeholder { color: var(--gold-300); font-weight: 720; }

@media (max-width: 1199px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .header-cta { display: none; }
  .nav-link, .nav-toggle { padding-inline: 9px; font-size: .88rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .section { padding: 82px 0; }
  .topbar { display: none; }
  .header-inner { min-height: 76px; }
  .brand img { width: 205px; height: 60px; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: fixed; inset: 76px 0 auto; max-height: calc(100vh - 76px); overflow-y: auto; padding: 18px 16px 26px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(7,31,55,.16); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all var(--transition); }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { display: grid; align-items: stretch; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; min-height: 48px; padding: 11px 12px; font-size: 1rem; }
  .submenu { position: static; width: auto; display: none; padding: 5px 8px 10px 18px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-item.open > .submenu { display: grid; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 680px; }
  .hero::before { background-position: 63% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5,22,39,.98) 0%, rgba(7,31,56,.92) 62%, rgba(7,31,56,.42) 100%); }
  .hero-content { max-width: 650px; }
  .split, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .button-row { margin-top: 8px; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 52px 0; }
  .brand img { width: 178px; }
  .hero { min-height: 650px; }
  .hero::before { background-position: 68% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5,22,39,.985) 0%, rgba(7,31,56,.93) 72%, rgba(7,31,56,.7) 100%); }
  .hero-content { padding: 70px 0; }
  .hero-proof { display: grid; gap: 8px; }
  .inner-hero { padding: 82px 0 66px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .card, .form-card, .contact-panel { padding: 26px; }
  .cta-panel { padding: 38px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: min(100% - 24px, var(--container)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 158px; height: 54px; }
  .main-nav { top: 70px; }
  .hero h1 { font-size: 2.85rem; }
  .button-row .btn { width: 100%; }
  .portfolio-visual { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Template-aligned compact theme
   Closely follows the supplied index-3 header, typography, square components,
   full-width hero rhythm and restrained section spacing.
   -------------------------------------------------------------------------- */
:root {
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --surface: #f5f7f9;
  --line: #e1e5e9;
  --shadow-sm: 0 8px 24px rgba(10, 36, 64, .06);
  --shadow-lg: 0 18px 45px rgba(8, 31, 55, .14);
  --container: 1460px;
}

body { font-family: "DM Sans", sans-serif; line-height: 1.65; }
h1, h2, h3, h4, h5, h6,
.btn, .nav-link, .nav-toggle, .header-project-cta, .header-consult strong,
.footer-title, .eyebrow { font-family: "Saira", sans-serif; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.55rem, 5vw, 4.65rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.14rem); line-height: 1.72; }
.section { padding: 78px 0; }
.section-sm { padding: 56px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading.center { max-width: 820px; }
.eyebrow { margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.eyebrow::before { width: 28px; background: var(--gold-500); }
.grid { gap: 20px; }

/* Index-3 style two-level header */
.site-header { position: relative; z-index: 1000; background: #fff; border: 0; box-shadow: none; }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 8px 24px rgba(7, 27, 48, .1); }
.site-header.is-sticky .header-brand-row { display: none; }
.header-brand-row { background: #fff; border-bottom: 1px dashed #dfe3e6; }
.header-brand-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 250px; height: 83px; object-fit: contain; }
.header-actions { display: flex; align-items: center; margin-left: auto; }
.header-consult { min-height: 70px; display: flex; align-items: center; gap: 14px; padding: 0 30px; border-right: 1px solid #dcdfe3; }
.header-action-icon { width: 50px; height: 56px; display: grid; place-items: center; color: #fff; background: var(--blue-600); font-size: 1.25rem; clip-path: polygon(50% 0,100% 22%,100% 78%,50% 100%,0 78%,0 22%); }
.header-consult strong { display: block; margin-bottom: 3px; color: #25294d; font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.header-consult a { color: #777; font-family: "Saira", sans-serif; font-size: .84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.header-consult a i { margin-left: 6px; }
.header-quick-links { display: flex; align-items: center; padding: 0 18px; }
.header-quick-links a { width: 48px; height: 48px; display: grid; place-items: center; color: #25294d; border-right: 1px solid #dcdfe3; font-size: 1.15rem; }
.header-quick-links a:last-child { border-right: 0; }
.header-quick-links a:hover { color: var(--gold-600); }
.header-project-cta { min-height: 60px; display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; color: #fff; background: #242849; font-size: .83rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.header-project-cta i { color: var(--gold-300); }
.header-project-cta:hover { color: #fff; background: var(--navy-800); }
.header-nav-row { background: #fff; }
.header-nav-inner { min-height: 66px; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; }
.main-nav { display: flex; align-items: stretch; }
.main-nav > ul { display: flex; align-items: stretch; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item { display: flex; align-items: stretch; }
.nav-link, .nav-toggle { min-height: 66px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; color: #242849; background: transparent; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.nav-link:hover, .nav-link.active, .nav-toggle:hover, .nav-toggle.active { color: var(--blue-600); }
.nav-link.active::after, .nav-toggle.active::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-toggle .fa-chevron-down { font-size: .58rem; }
.submenu { top: calc(100% + 1px); width: 278px; padding: 8px 0; border: 0; border-top: 3px solid var(--blue-600); border-radius: 0; box-shadow: 0 16px 32px rgba(8,31,55,.14); }
.submenu::before { top: -8px; height: 8px; }
.submenu a { padding: 9px 18px; border-radius: 0; font-family: "Saira", sans-serif; font-size: .78rem; font-weight: 600; }
.nav-right { display: flex; align-items: center; flex: 0 0 auto; }
.header-social { display: flex; align-items: center; gap: 18px; padding: 0 24px; border-right: 1px solid #dcdfe3; }
.header-social a { color: #a6abae; font-size: .94rem; }
.header-social a:hover { color: var(--blue-600); }
.nav-contact { min-height: 66px; display: inline-flex; align-items: center; gap: 12px; padding-left: 24px; color: #242849; font-family: "Saira", sans-serif; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.nav-contact i { color: var(--gold-500); font-size: 1.25rem; }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid #d9dee3; border-radius: 0; color: #242849; background: #fff; }

/* Index-3 style full-width slider */
.hero.hero-slider { position: relative; min-height: 590px; display: block; overflow: hidden; background: var(--navy-950); }
.hero.hero-slider::before, .hero.hero-slider::after { display: none; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; background-position: center; background-size: cover; transition: opacity 700ms ease, visibility 700ms ease; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(11, 45, 74, .61); }
.hero-slide:nth-child(2)::before { background: rgba(8, 34, 60, .69); }
.hero-slide:nth-child(3)::before { background: rgba(7, 35, 63, .62); }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .container { position: relative; z-index: 1; }
.hero-content { max-width: 1050px; margin: 0 auto; padding: 70px 88px; color: #fff; text-align: center; }
.hero-content h1, .hero-content h2 { margin-bottom: 18px; color: #fff; font-size: clamp(2.9rem, 5.2vw, 5rem); font-weight: 300; line-height: 1.18; letter-spacing: .005em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hero-content > p:not(.hero-kicker) { max-width: 780px; margin: 0 auto; color: #eef5fa; font-size: 1.08rem; line-height: 1.7; }
.hero-kicker { display: block; margin: 0 0 16px; color: #fff; font-family: "DM Sans", sans-serif; font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hero .button-row { justify-content: center; margin-top: 28px; }
.hero-arrow { position: absolute; top: 50%; z-index: 5; width: 58px; height: 58px; display: grid; place-items: center; border: 0; color: var(--navy-800); background: #fff; font-size: 1.05rem; transform: translateY(-50%); transition: color var(--transition), background var(--transition); }
.hero-arrow:hover { color: #fff; background: var(--blue-600); }
.hero-prev { left: 3.2%; }
.hero-next { right: 3.2%; }
.hero-dots { position: absolute; left: 50%; bottom: 24px; z-index: 5; display: flex; gap: 9px; transform: translateX(-50%); }
.hero-dots button { width: 24px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.5); }
.hero-dots button.active { background: var(--gold-300); }

/* Compact template-style surfaces */
.btn { min-height: 46px; padding: 12px 20px; border-radius: 0; font-size: .78rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; box-shadow: none; }
.btn:hover { transform: translateY(-1px); }
.button-row { gap: 10px; margin-top: 24px; }
.inner-hero { padding: 70px 0 58px; }
.inner-hero h1 { font-size: clamp(2.35rem, 4vw, 3.65rem); font-weight: 500; }
.inner-hero p { font-size: 1.05rem; }
.breadcrumbs { margin-bottom: 15px; font-family: "Saira", sans-serif; font-size: .78rem; text-transform: uppercase; }
.split { gap: clamp(34px, 5vw, 68px); }
.media-frame, .media-frame .media-label, .card, .icon-box, .feature-card,
.tech-group, .faq-item, .sidebar-card, .contact-panel, .form-card, .form-control,
.form-status, .footer-brand img, .legal-note { border-radius: 0; }
.card { padding: 24px; border-color: #e0e5e9; box-shadow: 0 6px 20px rgba(10,36,64,.05); }
.card:hover { transform: translateY(-4px); box-shadow: 0 15px 32px rgba(8,31,55,.1); }
.icon-box { width: 54px; height: 54px; margin-bottom: 18px; background: #eef4f8; border: 0; border-left: 3px solid var(--gold-500); }
.service-card::before { height: 3px; background: var(--blue-600); }
.feature-card { padding: 22px; }
.process-card { padding: 22px 20px; }
.process-card::after { left: 20px; width: 40px; border-radius: 0; }
.tech-group { padding: 24px; }
.tech-list { gap: 8px; }
.tech-list li, .tag { border-radius: 0; }
.portfolio-visual { min-height: 175px; }
.portfolio-body, .blog-body { padding: 24px; }
.blog-image { height: 166px; }
.industry-card .industry-top { min-height: 105px; padding: 22px; }
.industry-card .industry-body { padding: 22px; }
.cta-panel { padding: clamp(34px, 5vw, 52px); border-radius: 0; box-shadow: none; }
.faq-question { padding: 18px 20px; }
.faq-answer { padding: 0 20px 18px; }
.form-card, .contact-panel { padding: 30px; }
.form-control { min-height: 48px; }
.footer-main { padding: 58px 0 38px; }
.footer-brand img { padding: 7px; }
.scroll-top { border-radius: 0; }

@media (max-width: 1300px) {
  .nav-link, .nav-toggle { padding-inline: 10px; font-size: .73rem; }
  .header-social { gap: 13px; padding-inline: 17px; }
  .nav-contact { padding-left: 17px; }
}

@media (max-width: 1180px) {
  .site-header.is-sticky .header-brand-row { display: block; }
  .header-brand-inner { min-height: 80px; }
  .brand img { width: 210px; height: 70px; }
  .header-actions { display: none; }
  .menu-toggle { display: grid; }
  .header-nav-row { min-height: 0; }
  .header-nav-inner { min-height: 0; }
  .main-nav { position: fixed; inset: 80px 0 auto; display: block; max-height: calc(100vh - 80px); overflow-y: auto; padding: 16px 18px 24px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(7,31,55,.16); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition); }
  .site-header.is-sticky .main-nav { inset: 80px 0 auto; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { display: grid; align-items: stretch; }
  .nav-item { display: block; }
  .nav-link, .nav-toggle { width: 100%; min-height: 46px; justify-content: space-between; padding: 10px 12px; font-size: .86rem; }
  .nav-link.active::after, .nav-toggle.active::after { display: none; }
  .submenu { position: static; width: auto; display: none; padding: 4px 8px 8px 18px; border-top: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-item.open > .submenu { display: grid; }
  .nav-right { display: none; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 991px) {
  .section { padding: 66px 0; }
  .hero.hero-slider { min-height: 545px; }
  .hero-content { max-width: 800px; padding: 60px 72px; }
  .hero-content h1, .hero-content h2 { font-size: clamp(2.7rem, 7vw, 4.2rem); }
}

@media (max-width: 767px) {
  .header-brand-inner { min-height: 70px; }
  .brand img { width: 175px; height: 58px; }
  .main-nav { inset: 70px 0 auto; max-height: calc(100vh - 70px); }
  .site-header.is-sticky .main-nav { inset: 70px 0 auto; }
  .hero.hero-slider { min-height: 520px; }
  .hero-content { padding: 58px 46px; }
  .hero-content h1, .hero-content h2 { font-size: clamp(2.2rem, 10vw, 3.15rem); }
  .hero-content > p:not(.hero-kicker) { font-size: 1rem; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .section { padding: 58px 0; }
}

@media (max-width: 480px) {
  .hero-content { padding: 50px 34px; }
  .hero-content h1, .hero-content h2 { font-size: 2rem; }
  .hero-kicker { font-size: .87rem; }
  .hero-arrow { top: auto; bottom: 18px; transform: none; }
  .hero-dots { bottom: 38px; }
}
