/*
 * NAZAR TECH — v5.1
 * A quiet 3D-viewport aesthetic: persistent orthographic grid,
 * perspective reference plane, restrained blue and frosted interface panels.
 * Edit theme variables below to change the look globally.
 */
:root {
  --night: #061322;
  --night-deep: #030e1a;
  --night-panel: rgba(10, 29, 49, .84);
  --night-panel-hover: rgba(15, 41, 68, .94);
  --blue: #19a5ef;
  --blue-soft: #73c9fb;
  --offwhite: #f3f7fa;
  --text: #f1f7fb;
  --text-muted: #aec2d1;
  --text-faint: #82a0b6;
  --edge: rgba(122, 181, 223, .21);
  --grid-step: 76px;
  --mono: 'DM Mono', Consolas, monospace;
  --sans: 'Manrope', Arial, sans-serif;
  --max: 1260px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { position: relative; margin: 0; min-height: 100vh; background: var(--night-deep); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #061322; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; }
.shell { width: min(calc(100% - 100px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 100; padding: 13px 17px; background: #fff; color: #071627; }
.skip-link:focus { top: 12px; }

/* A single document-length grid follows every section without resetting.
   The second plane adds a subtle 3D-workspace perspective without animation. */
.viewport-scene { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; background: radial-gradient(ellipse at 80% 12%, rgba(23, 94, 155, .22), transparent 50%), radial-gradient(ellipse at 10% 87%, rgba(15, 57, 96, .15), transparent 54%), #061322; }
.viewport-scene::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(87, 153, 202, .095) 1px, transparent 1px), linear-gradient(to bottom, rgba(87, 153, 202, .095) 1px, transparent 1px); background-size: var(--grid-step) var(--grid-step); background-position: center top; }
.viewport-plane { position: absolute; inset: auto -20% -44% 45%; height: 90%; transform: perspective(680px) rotateX(63deg) rotateZ(-14deg); transform-origin: 50% 100%; background-image: linear-gradient(to right, rgba(43, 144, 218, .24) 1px, transparent 1px), linear-gradient(to bottom, rgba(43, 144, 218, .24) 1px, transparent 1px); background-size: 62px 62px; opacity: .48; mask-image: linear-gradient(to bottom, transparent 2%, #000 55%, transparent 100%); }
.viewport-guide { position: absolute; opacity: .28; }
.viewport-guide-x { top: 37%; left: 0; right: 0; border-top: 1px dashed rgba(61, 171, 242, .25); }
.viewport-guide-y { top: 0; bottom: 0; left: 50%; border-left: 1px dashed rgba(61, 171, 242, .22); }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Navigation */
.site-header { height: 82px; position: sticky; top: 0; z-index: 40; background: rgba(3, 14, 27, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--edge); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.header-brand { display: inline-flex; flex-shrink: 0; align-items: flex-end; gap: 9px; min-width: 180px; }
.header-brand img { width: 121px; height: auto; }
.header-brand-tech { padding-bottom: 2px; color: var(--blue-soft); font: 500 10px var(--mono); letter-spacing: .17em; }
.desktop-nav { display: flex; align-items: center; gap: 38px; margin: auto; }
.desktop-nav a { color: #bdd0dc; font-size: 12px; font-weight: 700; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: white; }
.header-contact { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 14px 17px; white-space: nowrap; border: 1px solid rgba(115, 201, 251, .38); color: #eff8ff; font: 500 10px var(--mono); letter-spacing: .06em; transition: background .2s, border-color .2s; }
.header-contact:hover { background: rgba(25, 165, 239, .12); border-color: var(--blue); }
.header-contact span { font-size: 18px; line-height: 0; }
.mobile-toggle, .mobile-nav { display: none; }

/* Shared interface language */
.eyebrow, .section-eyebrow { display: flex; align-items: center; gap: 12px; font: 500 10px var(--mono); letter-spacing: .145em; text-transform: uppercase; color: var(--blue-soft); }
.eyebrow-dash { display: inline-block; width: 21px; height: 1px; background: var(--blue); flex: none; }
.status-dot { width: 6px; height: 6px; flex: none; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(25, 165, 239, .12); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 53px; padding: 17px 20px; border: 1px solid transparent; font: 500 10px var(--mono); letter-spacing: .06em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-blue { background: #25a9ed; color: #031727; }
.button-blue:hover { background: #8bd5ff; }
.button span { font: 20px Arial, sans-serif; line-height: .5; }
.quiet-link { padding: 15px 0; border-bottom: 1px solid rgba(169, 215, 243, .45); color: #cce1ee; font: 500 10px var(--mono); letter-spacing: .07em; }
.quiet-link:hover { color: #fff; }
.quiet-link span { margin-left: 10px; font-size: 17px; }

/* Hero: keeps the approved brand centerpiece with a technical viewport frame. */
.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--edge); }
.hero::before { content: ''; position: absolute; width: 780px; height: 780px; top: -360px; right: -230px; pointer-events: none; background: radial-gradient(circle, rgba(35, 139, 216, .12), transparent 68%); }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; min-height: 620px; gap: 59px; padding-block: 76px 88px; }
.hero-main { position: relative; max-width: 735px; min-width: 0; z-index: 1; }
.hero h1 { margin: 38px 0 25px; max-width: 100%; font-size: clamp(44px, 4.6vw, 76px); font-weight: 750; line-height: 1.095; letter-spacing: -.071em; white-space: normal; }
.hero h1 span { color: var(--blue-soft); }
.hero-description { max-width: 565px; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 37px; }
.hero-brand-panel { min-width: 0; min-height: 388px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 25px 26px; border: 1px solid rgba(112, 180, 230, .36); background: linear-gradient(133deg, rgba(10, 37, 62, .76), rgba(5, 21, 38, .93)); box-shadow: 0 30px 90px rgba(0, 0, 0, .16); }
.hero-brand-panel::before, .hero-brand-panel::after { content: ''; position: absolute; pointer-events: none; }
.hero-brand-panel::before { inset: 0; opacity: .45; background-image: linear-gradient(90deg, rgba(73, 149, 206, .11) 1px, transparent 1px), linear-gradient(rgba(73, 149, 206, .11) 1px, transparent 1px); background-size: 38px 38px; }
.hero-brand-panel::after { width: 510px; height: 510px; border: 1px solid rgba(59, 167, 236, .14); border-radius: 50%; top: -180px; right: -210px; box-shadow: 0 0 0 65px rgba(59, 167, 236, .018), 0 0 0 125px rgba(59, 167, 236, .015); }
.panel-index, .brand-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; font: 400 9px var(--mono); letter-spacing: .12em; color: #76a2bf; }
.panel-index span { color: #c4dfef; }
.brand-visual { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center; padding-inline: 5px; }
.brand-visual img { width: min(100%, 455px); height: auto; }
.brand-visual > span { font: 400 clamp(8px, .63vw, 10px) var(--mono); letter-spacing: .22em; color: #c8dfea; text-align: center; }
.brand-bottom { justify-content: flex-end; color: #97b9cd; }
.brand-bottom i { font-style: normal; color: var(--blue); }
.hero-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; border-top: 1px solid var(--edge); color: #91afc1; font: 400 9px var(--mono); letter-spacing: .12em; }
.crosshair { margin-left: 10px; color: var(--blue-soft); font-size: 15px; }

/* Services — see-through cards so the global grid remains visible behind them. */
.section { padding: 112px 0 125px; }
.intro { border-bottom: 1px solid var(--edge); background: rgba(5, 19, 33, .22); }
.section-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px; margin-bottom: 53px; }
.section-eyebrow { padding-top: 18px; white-space: nowrap; }
.section-heading-wrap { display: flex; min-width: 0; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-heading-wrap h2, .contact-copy h2 { min-width: 0; font-size: clamp(44px, 5vw, 71px); font-weight: 750; line-height: 1.13; letter-spacing: -.073em; margin: 0; }
.section-heading-wrap h2 em, .contact-copy h2 em { color: var(--blue-soft); font-style: normal; }
.section-heading-wrap p { max-width: 360px; margin: 0 0 7px; color: #a9c0d1; font-size: 13px; line-height: 1.9; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--edge); border-left: 1px solid var(--edge); }
.service { min-width: 0; position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 29px 32px 31px; background: rgba(10, 31, 52, .77); border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge); transition: background .24s; }
.service:hover { background: var(--night-panel-hover); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 82px; }
.service-top span, .service-tags { font: 500 10px var(--mono); letter-spacing: .075em; color: #86acc4; }
.service-top svg { width: 41px; height: 41px; stroke: #61bdfa; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.service h3 { max-width: 300px; margin: 2px 0 14px; font-size: 22px; font-weight: 750; letter-spacing: -.048em; line-height: 1.35; }
.service p { margin: 0 0 25px; color: #a7bdce; font-size: 12px; line-height: 1.86; }
.service-tags { margin-top: auto; color: #77b9e4; font-size: 9px; line-height: 1.65; }
.service-tags i { font-style: normal; margin-inline: 5px; color: #5d7e95; }
.service-featured { background: rgba(17, 56, 86, .84); }
.service-featured:hover { background: rgba(22, 70, 105, .93); }

/* Approach — restrained process lines inspired by engineering workspaces. */
.approach { padding: 112px 0 123px; border-bottom: 1px solid var(--edge); background: rgba(4, 17, 31, .35); }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 109px; }
.approach-copy .eyebrow { margin-bottom: 30px; }
.approach-copy h2 { margin: 0 0 30px; font-size: clamp(45px, 4.7vw, 73px); font-weight: 750; line-height: 1.12; letter-spacing: -.075em; }
.approach-copy h2 span { color: var(--blue-soft); }
.approach-copy p { max-width: 510px; margin: 0 0 20px; color: #b7cbdb; font-size: 14px; line-height: 1.94; }
.approach-copy .approach-secondary { color: #8faabd; font-size: 12px; }
.approach-steps { border-top: 1px solid rgba(126, 191, 231, .33); margin-top: 11px; }
.approach-step { display: grid; grid-template-columns: 45px 1fr 34px; align-items: start; gap: 23px; padding: 26px 0; border-bottom: 1px solid rgba(126, 191, 231, .33); }
.step-id { padding-top: 6px; color: var(--blue-soft); font: 500 11px var(--mono); }
.approach-step h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.038em; }
.approach-step p { max-width: 380px; margin: 0; color: #a7c0d0; font-size: 12px; line-height: 1.78; }
.step-glyph { color: var(--blue-soft); font-size: 25px; line-height: 1; }

/* Contact — no region, location or establishment date is shown anywhere. */
.contact-section { padding: 117px 0 120px; background: rgba(7, 27, 45, .36); }
.contact-inner { display: grid; grid-template-columns: 1fr 295px; gap: 60px; }
.contact-copy h2 { margin: 29px 0 22px; font-size: clamp(50px, 6.3vw, 95px); }
.contact-copy > p { max-width: 595px; margin: 0 0 30px; color: #adc4d4; font-size: 14px; line-height: 1.9; }
.contact-email { display: inline-flex; align-items: center; gap: 26px; padding-bottom: 13px; border-bottom: 2px solid #43b6f7; color: #83d4ff; font-size: clamp(20px, 2.5vw, 33px); font-weight: 750; letter-spacing: -.05em; overflow-wrap: anywhere; transition: color .2s; }
.contact-email:hover { color: white; }
.contact-email span { font-size: 27px; font-weight: 400; }
.contact-copy .contact-note { margin: 30px 0 0; color: #87a7bd; font: 400 10px/1.9 var(--mono); letter-spacing: .055em; }
.contact-note span { color: #4bb5ee; padding-inline: 9px; }
.contact-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; min-height: 280px; padding: 32px; border: 1px solid rgba(114, 184, 226, .32); background: rgba(13, 45, 70, .77); overflow: hidden; }
.contact-aside::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(61, 170, 234, .11) 1px, transparent 1px), linear-gradient(to bottom, rgba(61, 170, 234, .11) 1px, transparent 1px); background-size: 37px 37px; pointer-events: none; }
.contact-symbol { position: relative; color: #67c8fa; width: 164px; margin: 0 auto; }
.contact-aside > span { position: relative; color: #b7dcf0; font: 500 11px/1.9 var(--mono); letter-spacing: .13em; }
.site-footer { background: rgba(2, 12, 23, .86); border-top: 1px solid var(--edge); color: #95afbf; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 102px; }
.footer-brand { display: flex; align-items: flex-end; gap: 7px; }
.footer-brand img { width: 77px; height: auto; }
.footer-brand span { color: #7cc9f5; font: 500 9px var(--mono); letter-spacing: .12em; }
.footer-inner > span, .footer-inner > a { font: 400 9px var(--mono); letter-spacing: .08em; }
.footer-inner > a:hover { color: white; }

/* Responsive layout */
@media (max-width: 1170px) {
  .shell { width: min(calc(100% - 64px), var(--max)); }
  .hero-inner { min-height: 585px; gap: 36px; }
  .hero h1 { font-size: clamp(43px, 4.4vw, 65px); }
  .hero-brand-panel { min-height: 354px; }
  .section-lead { grid-template-columns: minmax(0, 23fr) minmax(0, 77fr); }
  .section-heading-wrap { gap: 26px; }
  .service { padding: 26px; }
  .approach-inner { gap: 65px; }
}
@media (max-width: 980px) {
  .header-contact { display: none; }
  .desktop-nav { margin-left: auto; margin-right: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-block: 80px 67px; }
  .hero-main { max-width: 800px; }
  .hero h1 { font-size: clamp(53px, 8vw, 82px); white-space: normal; }
  .hero-description { max-width: 620px; }
  .hero-brand-panel { min-height: 275px; max-width: 750px; width: 100%; margin: auto; padding: 24px; }
  .brand-visual img { max-width: 330px; }
  .section { padding-block: 90px; }
  .section-lead { display: block; }
  .section-eyebrow { margin-bottom: 26px; }
  .section-heading-wrap h2 { font-size: 60px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach-inner { grid-template-columns: 1fr; gap: 35px; }
  .approach-copy h2 { font-size: 62px; }
  .approach-copy p { max-width: 680px; }
  .contact-inner { grid-template-columns: 1fr 220px; gap: 30px; }
  .contact-aside { padding: 24px; }
}
@media (max-width: 680px) {
  :root { --grid-step: 54px; }
  html { scroll-padding-top: 78px; }
  .shell { width: calc(100% - 40px); }
  .site-header { height: 72px; }
  .header-brand { min-width: auto; }
  .header-brand img { width: 103px; }
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 40px; height: 40px; margin-left: auto; border: 1px solid rgba(188, 220, 239, .3); background: transparent; color: white; }
  .mobile-toggle span { display: block; width: 19px; height: 1.5px; background: #e2f0fc; transition: transform .2s; }
  .mobile-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .mobile-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: block; position: absolute; top: 72px; width: 100%; padding: 0 20px 16px; background: #08192c; border-bottom: 1px solid #24445d; box-shadow: 0 15px 28px rgba(0, 0, 0, .15); }
  .mobile-nav a { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid rgba(173, 211, 235, .16); font-size: 14px; }
  .mobile-nav span { color: var(--blue-soft); }
  .viewport-plane { left: 15%; right: -100%; opacity: .23; }
  .hero-inner { min-height: auto; padding-block: 61px 43px; gap: 36px; }
  .eyebrow, .section-eyebrow { font-size: 9px; letter-spacing: .09em; }
  .hero h1 { margin: 29px 0 24px; font-size: clamp(42px, 11vw, 67px); line-height: 1.075; letter-spacing: -.075em; }
  .hero-description { font-size: 13px; line-height: 1.87; }
  .hero-actions { gap: 17px; margin-top: 28px; }
  .button { min-height: 50px; gap: 15px; font-size: 9px; }
  .quiet-link { font-size: 9px; }
  .hero-brand-panel { min-height: 242px; }
  .panel-index, .brand-bottom { font-size: 8px; }
  .brand-visual img { max-width: 300px; }
  .brand-visual > span { font-size: 7px; letter-spacing: .14em; }
  .hero-status { min-height: 62px; gap: 10px; font-size: 8px; }
  .hero-status > span:last-child { text-align: right; }
  .section { padding-block: 79px 86px; }
  .section-lead { margin-bottom: 35px; }
  .section-heading-wrap { display: block; }
  .section-heading-wrap h2, .approach-copy h2 { font-size: clamp(42px, 11vw, 62px); }
  .section-heading-wrap p { max-width: 550px; margin: 23px 0 0; font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 277px; padding: 25px; }
  .service-top { min-height: 65px; }
  .service h3 { font-size: 22px; }
  .service p { font-size: 12px; }
  .approach { padding-block: 77px 83px; }
  .approach-copy .eyebrow { margin-bottom: 30px; }
  .approach-copy p { font-size: 13px; }
  .approach-step { grid-template-columns: 30px 1fr 20px; gap: 16px; padding: 22px 0; }
  .approach-step h3 { font-size: 17px; }
  .approach-step p { font-size: 12px; }
  .step-glyph { font-size: 19px; }
  .contact-section { padding-block: 79px 86px; }
  .contact-inner { display: block; }
  .contact-copy h2 { font-size: clamp(52px, 13vw, 80px); }
  .contact-copy > p { font-size: 13px; }
  .contact-email { gap: 15px; font-size: clamp(22px, 6vw, 31px); }
  .contact-copy .contact-note { font-size: 9px; line-height: 1.8; }
  .contact-aside { flex-direction: row; align-items: end; min-height: 163px; margin-top: 46px; padding: 22px; }
  .contact-symbol { width: 106px; margin: 0; }
  .contact-aside > span { font-size: 9px; line-height: 1.7; }
  .footer-inner { flex-wrap: wrap; align-content: center; justify-content: space-between; gap: 16px; min-height: 124px; }
  .footer-inner > span { order: 2; width: 100%; font-size: 8px; }
  .footer-inner > a { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
