:root {
  --ink: #050b14;
  --navy: #07111f;
  --navy-2: #0b1728;
  --blue: #087bff;
  --blue-2: #45a3ff;
  --white: #ffffff;
  --paper: #f5f7fa;
  --text: #101828;
  --muted: #667085;
  --line: #dfe5ec;
  --dark-line: #243247;
  --shell: min(1280px, calc(100% - 48px));
  --shadow: 0 18px 50px rgba(4, 14, 30, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 99999; background: var(--white); color: var(--ink); padding: 12px 18px; }
.skip-link:focus { top: 16px; }
.admin-bar .site-header { top: 32px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; color: var(--white); transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { background: rgba(3, 10, 20, .92); box-shadow: 0 10px 35px rgba(0,0,0,.28); backdrop-filter: blur(15px); }
.site-header__inner { min-height: 82px; display: grid; grid-template-columns: minmax(190px, 250px) 1fr auto; align-items: center; gap: 28px; }
.site-branding img { max-height: 58px; width: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.primary-navigation { justify-self: center; }
.primary-menu { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.primary-menu a { position: relative; display: block; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 30px 0 25px; }
.primary-menu a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--blue); transition: right .25s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { right: 0; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 0 24px; border: 1px solid var(--blue); background: var(--blue); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; border-radius: 2px; transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: #006fe8; border-color: #006fe8; box-shadow: 0 12px 30px rgba(8,123,255,.28); }
.button--small { min-height: 44px; padding-inline: 18px; font-size: 10px; }
.button--outline { background: rgba(2,9,19,.18); border-color: rgba(255,255,255,.72); }
.button--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); box-shadow: none; }
.text-link { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .04em; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__media, .hero__overlay, .hero__grid { position: absolute; inset: 0; }
.hero__media { background-position: center; background-size: cover; transform: scale(1.015); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { background: linear-gradient(90deg, rgba(2,8,17,.97) 0%, rgba(3,10,20,.86) 38%, rgba(3,10,20,.38) 70%, rgba(3,10,20,.28) 100%), linear-gradient(0deg, rgba(2,8,17,.5), transparent 48%); }
.hero__grid { 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: 90px 90px; mask-image: linear-gradient(90deg, black, transparent 72%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 85px; }
.hero__content { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--blue { color: var(--blue); }
.hero h1 { margin: 0; font-family: Manrope, Arial, sans-serif; font-size: clamp(52px, 6vw, 82px); line-height: .93; letter-spacing: -.045em; font-weight: 800; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--blue); }
.hero__rule { width: 104px; height: 3px; background: var(--blue); margin: 27px 0 24px; }
.hero__text { max-width: 520px; margin: 0; color: rgba(255,255,255,.83); font-size: 17px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero__index { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-right: -6px; font-size: 11px; color: rgba(255,255,255,.55); }
.hero__index strong { color: var(--blue); }
.hero__index span { width: 1px; height: 54px; background: rgba(255,255,255,.75); }
.hero__scroll { position: absolute; z-index: 3; bottom: 22px; left: 50%; color: var(--white); font-size: 30px; transform: translateX(-50%); animation: ryBounce 1.7s infinite; }
@keyframes ryBounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,7px); } }

.brand-strip { background: #0b1728; color: var(--white); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-strip__inner { min-height: 104px; display: grid; grid-template-columns: 120px repeat(7, 1fr); align-items: center; gap: clamp(16px, 2vw, 32px); }
.brand-strip__label { font-size: 10px; line-height: 1.2; }
.brand-strip__label strong, .brand-strip__label span { display: block; }
.brand-strip__label span { color: rgba(255,255,255,.6); }
.brand-mark { display: flex; align-items: center; justify-content: center; min-width: 0; filter: grayscale(1) brightness(2.2); opacity: .82; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.brand-mark:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.brand-mark img { max-height: 40px; max-width: 130px; object-fit: contain; }
.brand-mark--text span { font-family: Manrope, sans-serif; font-size: clamp(13px, 1.5vw, 21px); font-weight: 800; letter-spacing: -.03em; }

.section { padding: 86px 0; }
.section--light { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section-heading { position: relative; margin-bottom: 38px; }
.section-heading h2 { max-width: 820px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading--center { text-align: center; }
.section-heading--center h2 { margin-inline: auto; }
.section-heading--dark h2 { color: var(--white); }
.section-heading .text-link { position: absolute; right: 0; bottom: 8px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { min-height: 260px; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 1px solid #e5e9ef; padding: 35px 24px 28px; box-shadow: 0 8px 25px rgba(12,30,55,.045); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.why-card:hover { transform: translateY(-7px); border-color: rgba(8,123,255,.36); box-shadow: var(--shadow); }
.line-icon { width: 54px; height: 54px; color: var(--blue); }
.line-icon svg, .mini-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { margin: 20px 0 8px; font-family: Manrope, sans-serif; font-size: 17px; line-height: 1.2; }
.why-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-rule { width: 42px; height: 2px; background: var(--blue); margin-top: auto; }

.industries-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.industry-card { position: relative; min-height: 235px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at 70% 20%, rgba(8,123,255,.35), transparent 34%), linear-gradient(145deg, #15283f, #08111d); }
.industry-card__visual { position: absolute; inset: 0; background-image: var(--industry-image, linear-gradient(135deg, transparent, rgba(8,123,255,.22))); background-position: center; background-size: cover; transition: transform .45s ease; }
.industry-card:hover .industry-card__visual { transform: scale(1.06); }
.industry-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,9,17,.95) 0%, rgba(3,9,17,.15) 72%); }
.industry-card__label { position: absolute; left: 16px; right: 16px; bottom: 17px; display: flex; align-items: center; gap: 10px; }
.industry-card__label h3 { margin: 0; color: var(--white); font-size: 14px; font-weight: 700; }
.mini-icon { width: 27px; height: 27px; color: var(--white); flex: none; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { position: relative; min-height: 350px; overflow: hidden; background: var(--navy); color: var(--white); border-radius: 3px; }
.project-card__link { position: absolute; inset: 0; z-index: 5; }
.project-card__media { position: absolute; inset: 0; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-card__media img { transform: scale(1.055); }
.project-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.18); font-family: Manrope, sans-serif; font-size: 90px; font-weight: 800; background: radial-gradient(circle at 70% 20%, rgba(8,123,255,.35), transparent 35%), linear-gradient(145deg, #172a43, #07101d); }
.project-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,8,17,.98) 0%, rgba(2,8,17,.48) 54%, rgba(2,8,17,.02) 100%); }
.project-card__content { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.badge { display: inline-flex; padding: 4px 8px; background: var(--blue); color: var(--white); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.project-card h3, .project-card h2 { margin: 13px 0 4px; color: var(--white); font-family: Manrope, sans-serif; font-size: 21px; line-height: 1.15; }
.project-location { margin: 0 0 7px; color: rgba(255,255,255,.82); font-size: 12px; }
.project-services { margin: 0; padding-right: 48px; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.55; }
.project-arrow { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 36px; height: 36px; background: var(--blue); }
.projects-grid--archive { grid-template-columns: repeat(3, 1fr); }

.solutions-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.solution-card { position: relative; min-height: 235px; padding: 27px 17px 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.01); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.solution-card > a { position: absolute; inset: 0; z-index: 3; }
.solution-card:hover { transform: translateY(-5px); border-color: var(--blue); background: rgba(8,123,255,.055); }
.line-icon--small { width: 42px; height: 42px; }
.line-icon--large { width: 95px; height: 95px; flex: none; }
.solution-card h3, .solution-card h2 { margin: 20px 0 8px; color: var(--white); font-family: Manrope, sans-serif; font-size: 13px; line-height: 1.2; }
.solution-card p { margin: 0; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.55; }
.solution-arrow { position: absolute; left: 17px; bottom: 14px; color: var(--blue); }
.solutions-grid--archive { grid-template-columns: repeat(4, 1fr); }
.solutions-grid--archive .solution-card { min-height: 285px; }
.solutions-grid--archive .solution-card h2 { font-size: 18px; }
.solutions-grid--archive .solution-card p { font-size: 13px; }

.final-cta { position: relative; color: var(--white); background: var(--navy); background-image: var(--cta-image); background-size: cover; background-position: center; }
.final-cta__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,25,.98), rgba(5,13,25,.72)); }
.final-cta__inner { position: relative; z-index: 2; min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { margin: 0 0 7px; font-family: Manrope, sans-serif; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }
.final-cta p { max-width: 610px; margin: 0; color: rgba(255,255,255,.78); }

.site-footer { background: #030812; color: rgba(255,255,255,.75); }
.site-footer__top { min-height: 116px; display: flex; justify-content: space-between; align-items: center; gap: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.site-footer__brand img { max-height: 55px; }
.site-footer__brand p { margin: 6px 0 0; color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer__contacts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: 12px; }
.site-footer__contacts a, .site-footer__contacts > span { display: inline-flex; gap: 8px; align-items: center; }
.site-footer__contacts a:hover { color: var(--blue-2); }
.site-footer__bottom { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 11px; }
.site-footer__bottom p { margin: 0; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 15px; margin: 0; padding: 0; }
.footer-menu a:hover { color: var(--blue-2); }
.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #21c063; color: white; font-size: 13px; font-weight: 800; box-shadow: 0 12px 35px rgba(0,0,0,.3); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }

.page-hero { min-height: 520px; display: flex; align-items: flex-end; padding: 150px 0 80px; color: var(--white); background: radial-gradient(circle at 76% 25%, rgba(8,123,255,.25), transparent 26%), linear-gradient(135deg, #0b1c31, #030812 70%); }
.page-hero--compact { min-height: 360px; padding-bottom: 60px; }
.page-hero h1 { max-width: 980px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(44px, 6vw, 78px); line-height: 1; letter-spacing: -.05em; }
.page-hero p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.74); font-size: 18px; }
.prose { max-width: 860px; font-size: 17px; }
.prose h2, .prose h3 { font-family: Manrope, sans-serif; line-height: 1.2; letter-spacing: -.025em; }
.prose h2 { font-size: 36px; margin-top: 1.7em; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { border-radius: 3px; }
.single-featured { margin-top: -55px; position: relative; z-index: 2; }
.single-featured img { width: 100%; max-height: 700px; object-fit: cover; box-shadow: var(--shadow); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); box-shadow: 0 8px 24px rgba(12,30,55,.06); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card h2 { margin: 6px 0 10px; font-family: Manrope, sans-serif; font-size: 22px; line-height: 1.2; }
.post-card p { color: var(--muted); }
.post-meta { margin: 0; color: var(--blue) !important; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.pagination { grid-column: 1 / -1; margin-top: 30px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 8px 13px; background: var(--white); border: 1px solid var(--line); }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pagination--dark .page-numbers { background: var(--navy-2); border-color: var(--dark-line); color: var(--white); }
.project-facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 32px; }
.project-facts span { max-width: 480px; color: rgba(255,255,255,.76); }
.project-facts strong { display: block; color: var(--blue-2); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.solution-hero__inner { display: flex; gap: 35px; align-items: center; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-panel h2 { font-family: Manrope, sans-serif; font-size: 36px; line-height: 1.15; letter-spacing: -.03em; }
.contact-list { list-style: none; margin: 35px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--blue); }
.contact-form-wrap { background: var(--white); padding: 36px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: #344054; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d0d5dd; background: #fff; padding: 12px 14px; color: var(--text); outline: none; border-radius: 2px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,123,255,.1); }
.honeypot { position: absolute; left: -9999px; }
.form-message { margin-bottom: 20px; padding: 14px 16px; border-left: 4px solid; }
.form-message--success { background: #eafaf0; border-color: #23a35a; }
.form-message--error { background: #fff0f0; border-color: #d63638; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: 190px 1fr auto; gap: 18px; }
  .primary-menu { gap: 15px; }
  .primary-menu a { font-size: 10px; }
  .solutions-grid { grid-template-columns: repeat(4, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-strip__inner { grid-template-columns: 110px repeat(4, 1fr); padding-block: 22px; }
  .brand-mark:nth-child(n+6) { display: none; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 760px); }
  .admin-bar .site-header { top: 46px; }
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; z-index: 1002; }
  .primary-navigation { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(3,8,18,.985); transform: translateY(-102%); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
  .primary-navigation.is-open { transform: none; opacity: 1; }
  .primary-menu { flex-direction: column; gap: 5px; text-align: center; }
  .primary-menu a { font-size: 18px; padding: 10px; }
  .primary-menu a::after { bottom: 4px; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 700px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__index { display: none; }
  .hero h1 { font-size: clamp(48px, 10vw, 72px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .projects-grid--archive, .posts-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid, .solutions-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .final-cta__inner { padding-block: 45px; }
  .site-footer__top, .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 28px; }
  .site-footer__contacts { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 520px); }
  .section { padding: 66px 0; }
  .site-branding img { max-width: 190px; max-height: 48px; }
  .hero { min-height: 690px; }
  .hero__inner { padding-top: 75px; }
  .hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .hero__text { font-size: 15px; }
  .hero__actions { display: grid; }
  .hero__actions .button { width: 100%; }
  .brand-strip__inner { grid-template-columns: repeat(2, 1fr); min-height: auto; }
  .brand-strip__label { grid-column: 1 / -1; text-align: center; }
  .brand-mark:nth-child(n+6) { display: flex; }
  .why-grid, .projects-grid, .projects-grid--archive, .posts-grid, .solutions-grid, .solutions-grid--archive, .industries-grid { grid-template-columns: 1fr; }
  .industry-card { min-height: 280px; }
  .project-card { min-height: 390px; }
  .solution-card { min-height: 210px; }
  .section-heading .text-link { position: static; display: inline-block; margin-top: 14px; }
  .final-cta__inner { flex-direction: column; align-items: flex-start; }
  .final-cta__inner .button { width: 100%; }
  .site-footer__contacts { flex-direction: column; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }
  .page-hero { min-height: 430px; padding-top: 125px; }
  .page-hero--compact { min-height: 330px; }
  .solution-hero__inner { display: block; }
  .line-icon--large { margin-bottom: 25px; }
}

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