:root {
  --navy: #061f49;
  --blue: #0d59cd;
  --teal: #0798a6;
  --line: #dce8f2;
  --section-space: clamp(3.75rem, 5vw, 4.75rem);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: hidden; color: #415779; background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.site-header { box-shadow: 0 1px 0 rgba(19, 57, 94, .08); }
.site-header > div:first-child { height: 132px; }
.desktop-nav { align-self: stretch; }
.nav-link { position: relative; padding: 2.2rem 0; color: #071e43; font-size: 1.1rem; font-weight: 650; }
.nav-link::after { position: absolute; bottom: 1.65rem; left: 0; width: 0; height: 3px; border-radius: 9px; background: var(--blue); content: ""; transition: width .2s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--blue); }
.nav-drop { position: relative; display: flex; height: 100%; align-items: center; }
.mega-menu { visibility: hidden; position: absolute; top: calc(100% - 1px); left: 50%; z-index: 70; opacity: 0; transform: translate(-50%, 12px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(7, 38, 77, .15); transition: .2s ease; }
.nav-drop:hover .mega-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.service-menu { width: 340px; padding: 1rem; }
.service-menu > span, .tech-menu strong { display: block; padding: .6rem .8rem; color: var(--teal); font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
.service-menu a { display: flex; align-items: center; justify-content: space-between; border-radius: 9px; padding: .72rem .8rem; color: var(--navy); font-weight: 600; }
.service-menu a:hover, .tech-menu a:hover { background: #eff8fc; color: var(--blue); }
.service-menu svg { width: 1rem; }
.tech-menu { display: grid; left: 40%; width: 570px; grid-template-columns: repeat(4, 1fr); padding: 1rem; }
.tech-menu div { padding: .3rem; }
.tech-menu a { display: block; border-radius: 8px; padding: .55rem .7rem; color: #455b79; font-size: .88rem; }
.mobile-menu > a, .mobile-menu details > a, .mobile-menu summary { display: block; border-bottom: 1px solid #edf2f7; padding: .8rem 0; color: var(--navy); font-weight: 600; cursor: pointer; }
.mobile-menu details > a { padding-left: 1rem; color: #536783; font-size: .92rem; }

.btn-primary, .btn-outline { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; gap: .9rem; border: 1px solid var(--blue); border-radius: 8px; padding: .9rem 1.55rem; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #1266df, #1248b7); box-shadow: 0 12px 24px rgba(18, 78, 183, .18); }
.btn-outline { color: var(--blue); background: #fff; }
.btn-primary:hover, .btn-outline:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(18, 78, 183, .2); }
.btn-primary svg, .btn-outline svg { width: 1.65rem; height: 1.65rem; }

.section-shell { padding: var(--section-space) 1.5rem; }
.section-shell > * { max-width: 1680px; margin-right: auto; margin-left: auto; }
.section-shell > .mb-12 { margin-bottom: 2.25rem; }
.section-shell h2, .hero-section h1, .page-hero h1 { text-wrap: balance; }
.section-shell p, .hero-section p, .page-hero p { text-wrap: pretty; }
.ice-bg { border-top: 1px solid #e5edf4; border-bottom: 1px solid #e5edf4; background: #f8fbfd; }
.eyebrow { color: var(--teal); font-size: .95rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-section, .page-hero { overflow: hidden; background: radial-gradient(circle at 88% 30%, rgba(176, 231, 244, .55), transparent 32%), linear-gradient(90deg, #fff 48%, #f4fbfd); }
.hero-section, .page-hero { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.hero-logo { position: relative; display: grid; min-height: 360px; place-items: center; }
.hero-logo::before { position: absolute; width: 72%; height: 72%; border: 1px solid rgba(22, 150, 179, .13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(17, 152, 175, .035), 0 0 0 84px rgba(17, 152, 175, .025); content: ""; }
.hero-logo img { position: relative; z-index: 1; width: min(480px, 88%); mix-blend-mode: multiply; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stats-grid > div, .stats-grid p { min-width: 0; }
.stats-white strong, .stats-white span, .stats-white svg { color: #fff !important; }

.card-grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { display: flex; min-height: 150px; align-items: flex-start; gap: 1.2rem; border: 1px solid var(--line); border-radius: 15px; padding: 1.5rem; background: #fff; box-shadow: 0 15px 32px rgba(32, 76, 120, .07); transition: .2s ease; }
.info-card:hover { transform: translateY(-4px); border-color: #9ccde9; box-shadow: 0 20px 40px rgba(32, 76, 120, .12); }
.icon-box { display: grid; width: 55px; height: 55px; flex: 0 0 55px; place-items: center; border: 1px solid #cfe7f5; border-radius: 12px; color: #1678c5; background: #f2fafe; }
.info-card h3, .feature-card h3, .mini-card h3 { margin: .1rem 0 .45rem; color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.info-card p, .feature-card p, .mini-card p { margin: 0; line-height: 1.65; color: #60738e; }
.client-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #2c3a4f; }
.client-row strong { display: flex; min-width: 90px; flex-direction: column; align-items: center; font-size: 1.15rem; white-space: nowrap; }
.client-row small { margin-top: .35rem; font-size: .55rem; }
.client-logo-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.35rem; }
.client-logo-item { display: grid; min-width: 0; height: 108px; place-items: center; padding: .8rem; border: 1px solid #e0ecf4; border-radius: 14px; background: #fff; box-shadow: 0 12px 26px rgba(33, 79, 122, .06); }
.client-logo-item img { display: block; width: 100%; height: 78px; object-fit: contain; }
.industry-card { display: flex; min-height: 104px; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; border: 1px solid var(--line); border-radius: 14px; color: #1479bd; background: #fff; box-shadow: 0 12px 26px rgba(33, 79, 122, .07); text-align: center; }
.industry-card strong { color: #15345d; font-size: .95rem; }
.process-card, .feature-card, .mini-card, .testimonial, .job-card, .project-card { position: relative; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 15px 35px rgba(26, 66, 105, .07); }
.process-card, .feature-card, .mini-card, .testimonial, .job-card, .project-card { height: 100%; }
.process-card { padding: 3.2rem 1.8rem 1.8rem; text-align: center; }
.process-card > span, .feature-card > span { position: absolute; top: -17px; left: 50%; display: grid; min-width: 34px; height: 34px; place-items: center; transform: translateX(-50%); border-radius: 99px; padding: 0 .5rem; color: #fff; background: var(--teal); font-size: .75rem; font-weight: 800; }
.process-card h3 { margin: 1.35rem 0 .55rem; color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.process-card p { margin: 0; line-height: 1.7; color: #6a7a92; }
.testimonial { display: flex; height: 100%; flex-direction: column; padding: 1.65rem; }
.testimonial p { margin: 1.25rem 0; line-height: 1.7; color: #60738e; }
.testimonial > :last-child { margin-top: auto; }
.feature-card { padding: 2rem; }
.feature-card > svg { margin-bottom: 1rem; color: #1479bd; }
.feature-card > a, .project-card > a { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--blue); font-weight: 700; }
.feature-card > a svg, .project-card > a svg { width: 1rem; }
.mini-card { padding: 1.5rem; }
.mini-card > svg { margin-bottom: 1rem; color: #1479bd; }

.contact-bg { padding-top: var(--section-space); padding-bottom: var(--section-space); background: radial-gradient(circle at 8% 30%, rgba(172, 229, 238, .4), transparent 34%), #f5fafc; }
.contact-bg > div { column-gap: 3.5rem; row-gap: 3rem; }
.contact-bg .flex.gap-4 { align-items: flex-start; }
.contact-bg input, .contact-bg select, .contact-bg textarea { width: 100%; min-height: 60px; border: 1px solid #d7e1ea; border-radius: 7px; outline: none; padding: .9rem 1rem; color: #334b70; background: #fff; }
.contact-bg textarea { min-height: 82px; resize: vertical; }
.contact-bg input:focus, .contact-bg select:focus, .contact-bg textarea:focus { border-color: #1686df; box-shadow: 0 0 0 3px rgba(22, 134, 223, .1); }
.site-footer { display: flex; align-items: center; justify-content: center; text-align: center; }
.full-footer h3 { margin-bottom: 1rem; color: #fff; font-size: 1rem; font-weight: 800; }
.full-footer a { display: block; margin: .55rem 0; color: #9db0c7; }
.full-footer a:hover { color: #fff; }
.full-footer .footer-bottom a { display: inline; }

.project-card { overflow: hidden; padding-bottom: 1.6rem; }
.project-card > small, .project-card > h3, .project-card > p, .project-card > a { margin-right: 1.5rem; margin-left: 1.5rem; }
.project-card > small { display: block; margin-top: 1.3rem; color: var(--teal); font-weight: 700; }
.project-card > h3 { margin-top: .35rem; color: var(--navy); font-size: 1.35rem; font-weight: 850; }
.project-card > p { margin-top: .5rem; color: #627590; }
.project-art { display: grid; height: 210px; place-items: center; color: rgba(255, 255, 255, .85); font-size: 5rem; font-weight: 900; }
.art-1 { background: linear-gradient(135deg, #0c5ad0, #08a4c0); }
.art-2 { background: linear-gradient(135deg, #093465, #347ccd); }
.art-3 { background: linear-gradient(135deg, #08a0a9, #0b5cae); }
.art-4 { background: linear-gradient(135deg, #23436e, #4a6fa0); }
.art-5 { background: linear-gradient(135deg, #0b68b3, #14aaa2); }
.art-6 { background: linear-gradient(135deg, #173a71, #8567bb); }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.7rem; }
.job-card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; }
.job-card span { color: var(--teal); font-size: .9rem; font-weight: 700; }
.job-card p { margin-top: .5rem; color: #657890; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(30, 71, 111, .05); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 1.25rem 1.4rem; color: var(--navy); font-size: 1.05rem; font-weight: 750; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--blue); font-size: 1.5rem; }
.faq-item p { margin: 0; border-top: 1px solid #edf2f7; padding: 1.2rem 1.4rem; line-height: 1.75; color: #61748d; }
.reveal { opacity: 1; transform: none; }
.reveal.shown { opacity: 1; transform: translateY(0); }

@media (max-width: 1023px) {
  .site-header > div:first-child { height: 96px; }
  .site-header > div:first-child { width: 100%; }
  .site-header .w-\[150px\] { width: 92px; }
  .page-hero h1, .hero-section h1 { font-size: 3.25rem !important; line-height: 1.08 !important; }
  .hero-logo { min-height: 280px; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-row { flex-wrap: wrap; justify-content: center; }
  .client-logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  :root { --section-space: 3.5rem; }
  .site-header > div:first-child { height: 88px; }
  .site-header .w-\[150px\] { width: 84px; }
  .section-shell { padding-right: 1rem; padding-left: 1rem; }
  .section-shell > .mb-12 { margin-bottom: 1.75rem; }
  .page-hero h1, .hero-section h1 { font-size: 2.45rem !important; line-height: 1.12 !important; overflow-wrap: anywhere; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .info-card { padding: 1.25rem; }
  .stats-grid { gap: 1rem; }
  .stats-grid strong { font-size: 1.5rem; }
  .stats-grid span { display: block; font-size: .72rem; line-height: 1.25; overflow-wrap: anywhere; }
  .hero-logo { min-height: 220px; }
  .contact-bg > div { row-gap: 2.5rem; }
  .job-card { align-items: flex-start; flex-direction: column; }
  .client-row strong { min-width: 110px; }
  .client-logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .client-logo-item { height: 96px; padding: .65rem; }
  .client-logo-item img { height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
}
