:root {
  --navy-950: #04132f;
  --navy-900: #071d46;
  --navy-800: #0b2d61;
  --blue: #087ff5;
  --cyan: #18c8c3;
  --cyan-light: #dff9f8;
  --sky: #eaf5ff;
  --ink: #0a1e40;
  --muted: #5d6c84;
  --line: #dfe8f2;
  --surface: #f7faff;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(7, 29, 70, .10);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }

:focus-visible {
  outline: 3px solid rgba(8, 127, 245, .42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 9px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(7, 29, 70, .08);
  box-shadow: 0 8px 30px rgba(7, 29, 70, .06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-name { color: var(--navy-900); font-size: 22px; }

.brand-mark {
  position: relative;
  width: 42px;
  height: 38px;
  color: var(--navy-900);
  font-size: 22px;
  line-height: 38px;
  letter-spacing: -8px;
  font-weight: 800;
}

.brand-mark span:first-child { position: absolute; left: 1px; }
.brand-mark span:nth-child(2) { position: absolute; left: 21px; color: var(--cyan); }
.brand-mark i { position: absolute; right: 0; bottom: 3px; width: 18px; height: 4px; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu > a { position: relative; color: #3c4a62; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.nav-menu > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--cyan); transition: right .2s ease; }
.nav-menu > a:hover, .nav-menu > a.active { color: var(--blue); }
.nav-menu > a:hover::after, .nav-menu > a.active::after { right: 0; }

.nav-menu .nav-cta {
  padding: 10px 17px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(7, 29, 70, .14);
}
.nav-menu .nav-cta:hover { color: var(--white); background: var(--blue); transform: translateY(-1px); }
.nav-menu .nav-cta.active { color: var(--white); background: var(--blue); }

.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 4px; background: var(--navy-900); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: 780px;
  padding: 170px 0 105px;
  background: linear-gradient(112deg, #fff 0%, #fbfdff 55%, #f1f9ff 100%);
  overflow: hidden;
}

.hero-grid, .contact-grid {
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image: linear-gradient(rgba(31, 102, 173, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 102, 173, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to right, transparent 5%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 5%, black 75%, transparent 100%);
}

.orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.orb-one { top: 65px; right: -170px; width: 520px; height: 520px; border: 1px solid rgba(8, 127, 245, .08); box-shadow: inset 0 0 80px rgba(24, 200, 195, .06); }
.orb-two { left: -100px; bottom: 20px; width: 250px; height: 250px; border: 1px solid rgba(8, 127, 245, .07); }

.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; }
.hero-layout > *, .hero-copy { min-width: 0; }
.hero-copy { max-width: 680px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 2px; background: var(--cyan); }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(45px, 5vw, 70px); line-height: 1.09; letter-spacing: -.055em; color: var(--navy-900); }
h1 em, h2 span, h3 em { color: var(--blue); font-style: normal; }
.hero-subtitle { margin-bottom: 35px; color: var(--muted); font-size: clamp(15px, 1.45vw, 18px); font-weight: 600; letter-spacing: .015em; }
.hero-subtitle i { margin: 0 7px; color: var(--cyan); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); box-shadow: 0 12px 25px rgba(7, 29, 70, .22); }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(7, 29, 70, .27); }
.button-secondary { border-color: var(--line); color: var(--navy-900); background: rgba(255, 255, 255, .7); }
.button-secondary:hover { border-color: var(--cyan); transform: translateY(-3px); background: var(--white); }

.hero-visual { position: relative; height: 440px; }
.visual-halo { position: absolute; inset: 20px -70px -20px 10px; border-radius: 50%; background: radial-gradient(circle, rgba(24, 200, 195, .15) 0, rgba(8, 127, 245, .08) 45%, transparent 70%); }
.visual-card { position: absolute; border: 1px solid rgba(146, 179, 210, .35); background: rgba(255,255,255,.92); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card-main { inset: 48px 5px 40px 10px; border-radius: 22px; transform: perspective(900px) rotateY(-5deg) rotateX(2deg); overflow: hidden; }
.app-window-bar { height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.app-window-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #cbd9e8; }
.app-window-bar > span:first-child { background: var(--cyan); }
.app-window-bar b { margin-left: auto; color: #8492a8; font-size: 8px; letter-spacing: .08em; }
.app-window-body { display: flex; height: calc(100% - 44px); }
.mini-sidebar { width: 66px; padding: 25px 18px; background: #f7faff; }
.mini-sidebar i { display: block; width: 25px; height: 25px; margin-bottom: 18px; border-radius: 7px; background: #e2ebf5; }
.mini-sidebar i:first-child { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.mini-content { flex: 1; padding: 46px 30px; }
.mini-label { display: block; margin-bottom: 32px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.flow-line { display: flex; align-items: center; gap: 14px; margin-bottom: 31px; }
.flow-line > span { flex: 1; height: 7px; border-radius: 5px; background: #e7eef6; position: relative; }
.flow-line > span::before { content: ""; display: block; width: 58%; height: 100%; border-radius: inherit; background: #bfd7ec; }
.flow-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: var(--blue); background: var(--sky); font-size: 9px; font-style: normal; font-weight: 800; }
.flow-check { color: var(--cyan); font-style: normal; font-weight: 800; }
.flow-pulse { width: 10px; height: 10px; border: 2px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(8, 127, 245, .1); animation: pulse 2s infinite; }
.float-card { z-index: 3; border-radius: 15px; }
.float-ai { top: 6px; right: 36px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; color: var(--navy-900); font-size: 12px; font-weight: 800; animation: float 5s ease-in-out infinite; }
.float-ai svg { width: 22px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.float-auto { right: -25px; bottom: 60px; display: flex; align-items: center; gap: 11px; padding: 12px 17px; animation: float 5.5s 1s ease-in-out infinite; }
.float-auto div { display: flex; flex-direction: column; }
.float-auto small { color: #8a98aa; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.float-auto b { color: var(--navy-900); font-size: 11px; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(24, 200, 195, .12); }
.float-code { left: -20px; bottom: 74px; display: grid; place-items: center; width: 55px; height: 55px; color: var(--blue); font-size: 15px; font-weight: 800; animation: float 6s .5s ease-in-out infinite; }
.hero-bottom-line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.hero-bottom-line span { display: block; width: 20%; height: 2px; margin-left: 10%; background: linear-gradient(90deg, transparent, var(--cyan)); }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; margin-bottom: 58px; }
.section-kicker { margin-bottom: 19px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.section-kicker.light { color: #45d9d4; }
h2 { margin-bottom: 0; color: var(--navy-900); font-size: clamp(36px, 4vw, 54px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { margin-bottom: 5px; color: var(--muted); font-size: 15px; }

.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 350px; padding: 28px 25px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: right .35s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(8, 127, 245, .25); box-shadow: var(--shadow); }
.service-card:hover::after { right: 0; }
.service-icon { display: grid; place-items: center; width: 51px; height: 51px; margin-bottom: 41px; border-radius: 14px; color: var(--blue); background: var(--sky); }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-number { position: absolute; top: 31px; right: 27px; color: #a8b6c8; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.service-card h3 { margin-bottom: 13px; color: var(--navy-900); font-size: 20px; letter-spacing: -.025em; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.card-link { position: absolute; left: 25px; bottom: 25px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.projects { position: relative; color: var(--white); background: var(--navy-950); overflow: hidden; }
.projects::before { content: ""; position: absolute; top: -150px; right: -100px; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(24, 200, 195, .08); box-shadow: 0 0 100px rgba(8, 127, 245, .08); }
.projects .section-heading { position: relative; }
.projects h2 { color: var(--white); }
.projects h2 span { color: #5fdedb; }
.projects .section-heading > p { color: #9eb0ca; }
.projects-list { position: relative; display: grid; gap: 25px; }
.project-card { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 470px; border: 1px solid rgba(147, 178, 214, .17); border-radius: 28px; background: linear-gradient(135deg, rgba(11, 45, 97, .75), rgba(5, 24, 55, .92)); overflow: hidden; }
.project-card.reverse .project-copy { order: 2; }
.project-card.reverse .project-preview { order: 1; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px; }
.project-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.project-meta span { padding: 7px 10px; border: 1px solid rgba(24, 200, 195, .3); border-radius: 6px; color: #53d8d4; background: rgba(24, 200, 195, .06); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.project-meta b { color: rgba(255,255,255,.25); font-size: 11px; }
.project-copy h3 { margin-bottom: 18px; color: var(--white); font-size: clamp(30px, 3vw, 41px); line-height: 1.2; letter-spacing: -.04em; }
.project-copy h3 em { color: #4ed7d3; }
.project-copy > p { color: #aab8cb; font-size: 14px; }
.project-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.project-copy li { padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: #cfdaea; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.project-preview { position: relative; min-height: 470px; background-color: rgba(7, 29, 70, .6); background-image: linear-gradient(rgba(105, 161, 218, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(105, 161, 218, .08) 1px, transparent 1px); background-size: 32px 32px; overflow: hidden; }
.project-preview::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(24,200,195,.12), transparent 65%); }

.phone-shell { position: absolute; z-index: 2; left: 50%; top: 54px; width: 220px; height: 420px; padding: 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 32px; background: #eaf2fa; box-shadow: 0 25px 55px rgba(0,0,0,.35); transform: translateX(-50%) rotate(2deg); }
.phone-top { position: absolute; z-index: 2; top: 14px; left: 50%; width: 64px; height: 17px; border-radius: 14px; background: var(--navy-950); transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 43px 15px 14px; border-radius: 25px; color: var(--ink); background: #f8fbff; overflow: hidden; }
.phone-greeting { display: flex; flex-direction: column; margin-bottom: 16px; }
.phone-greeting small { color: #8998ab; font-size: 7px; }
.phone-greeting b { color: var(--navy-900); font-size: 15px; }
.stock-summary { display: flex; align-items: center; justify-content: space-between; padding: 14px; margin-bottom: 13px; border-radius: 13px; color: var(--white); background: linear-gradient(135deg, var(--blue), #14b7ca); }
.stock-summary span { display: flex; flex-direction: column; }
.stock-summary b { font-size: 22px; line-height: 1; }
.stock-summary small { font-size: 7px; }
.stock-summary i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.2); font-style: normal; }
.stock-item { display: flex; align-items: center; gap: 9px; padding: 11px 8px; border-bottom: 1px solid #e8eef5; }
.food-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: var(--cyan); background: var(--cyan-light); font-size: 9px; font-style: normal; }
.food-icon.blue { color: var(--blue); background: var(--sky); }
.stock-item span { display: flex; flex: 1; flex-direction: column; }
.stock-item b { font-size: 9px; }
.stock-item small { color: #93a0b0; font-size: 6px; }
.stock-item em { color: var(--blue); font-size: 9px; font-style: normal; }
.phone-nav { position: absolute; left: 18px; right: 18px; bottom: 17px; display: flex; justify-content: space-around; padding: 11px; border-radius: 12px; background: var(--white); box-shadow: 0 4px 14px rgba(7,29,70,.08); }
.phone-nav i { width: 13px; height: 4px; border-radius: 3px; background: #c9d5e2; }
.phone-nav i:first-child { background: var(--blue); }
.preview-badge { position: absolute; z-index: 3; right: 20px; bottom: 43px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; background: rgba(9,38,79,.85); box-shadow: 0 12px 30px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.preview-badge > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: var(--cyan); background: rgba(24,200,195,.13); }
.preview-badge div { display: flex; flex-direction: column; }
.preview-badge small { color: #7fc7ca; font-size: 6px; letter-spacing: .08em; }
.preview-badge b { font-size: 9px; }

.ebook-preview { display: grid; place-items: center; }
.editor-shell { position: relative; z-index: 2; width: 90%; height: 330px; border: 1px solid rgba(255,255,255,.25); border-radius: 15px; background: #f5f8fc; box-shadow: 0 25px 60px rgba(0,0,0,.3); transform: rotate(-1deg); overflow: hidden; }
.editor-top { height: 37px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.editor-top i { width: 6px; height: 6px; border-radius: 50%; background: #cad7e4; }
.editor-top i:first-child { background: var(--cyan); }
.editor-top span { margin-left: auto; color: #8491a3; font-size: 7px; }
.editor-body { display: grid; grid-template-columns: 34% 66%; height: calc(100% - 37px); }
.editor-menu { display: flex; flex-direction: column; gap: 11px; padding: 25px 15px; border-right: 1px solid var(--line); color: #8190a4; background: #eff4f9; }
.editor-menu b { margin-bottom: 9px; color: #8998aa; font-size: 6px; letter-spacing: .1em; }
.editor-menu span { padding: 8px; border-radius: 6px; font-size: 6px; }
.editor-menu span.active { color: var(--blue); background: var(--white); box-shadow: 0 2px 8px rgba(7,29,70,.05); }
.editor-menu i { margin-top: 7px; color: var(--blue); font-size: 6px; font-style: normal; }
.editor-page { position: relative; padding: 35px 34px; color: var(--navy-900); background: var(--white); }
.editor-page small { color: var(--blue); font-size: 6px; letter-spacing: .13em; }
.editor-page b { display: block; margin: 12px 0 22px; font-size: 18px; line-height: 1.3; }
.editor-page > span { display: block; width: 100%; height: 5px; margin: 9px 0; border-radius: 3px; background: #e6edf5; }
.editor-page > span.short { width: 55%; }
.ai-suggest { position: absolute; right: 16px; bottom: 22px; padding: 8px 10px; border: 1px solid #b5e9e7; border-radius: 8px; color: #0b918e; background: #edfbfa; font-size: 7px; font-weight: 700; }

.next-project { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: 60px; padding: 32px 40px; border: 1px dashed rgba(112, 153, 196, .34); border-radius: 20px; background: rgba(255,255,255,.025); }
.next-project > div { display: flex; align-items: center; gap: 22px; }
.plus { display: grid; flex: 0 0 54px; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(24,200,195,.3); border-radius: 14px; color: var(--cyan); background: rgba(24,200,195,.05); font-size: 26px; font-weight: 300; }
.next-project p { margin-bottom: 0; color: #879bb6; font-size: 12px; }
.next-project > div p { margin-bottom: 6px; color: var(--cyan); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.next-project h3 { margin: 0; color: #e5edf7; font-size: 17px; }

.about { background: var(--surface); }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 100px; }
.about-graphic { position: relative; aspect-ratio: 1; max-width: 460px; }
.orbit { position: absolute; border: 1px solid rgba(8,127,245,.17); border-radius: 50%; }
.orbit-one { inset: 10%; animation: rotate 22s linear infinite; }
.orbit-two { inset: 0; border-style: dashed; animation: rotate 32s linear infinite reverse; }
.orbit span { position: absolute; top: 17%; right: 4%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(24,200,195,.09); }
.orbit-two span { top: auto; right: auto; bottom: 9%; left: 20%; background: var(--blue); box-shadow: 0 0 0 8px rgba(8,127,245,.08); }
.core-mark { position: absolute; inset: 30%; display: grid; place-content: center; border: 1px solid rgba(8,127,245,.16); border-radius: 38px; text-align: center; background: var(--white); box-shadow: 0 20px 55px rgba(7,29,70,.1); transform: rotate(-3deg); }
.core-mark b { color: var(--navy-900); font-size: 48px; line-height: 1; letter-spacing: -.09em; }
.core-mark small { margin-top: 5px; color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .3em; }
.orbit-label { position: absolute; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); background: var(--white); box-shadow: 0 7px 18px rgba(7,29,70,.06); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.label-one { top: 5%; left: 13%; }
.label-two { top: 42%; right: -2%; }
.label-three { left: 10%; bottom: 9%; color: #079c98; }
.about-copy h2 { margin-bottom: 28px; }
.about-lead { color: var(--navy-900) !important; font-size: 18px !important; font-weight: 600; }
.about-copy > p { color: var(--muted); font-size: 14px; }
.values { display: grid; margin-top: 31px; border-top: 1px solid var(--line); }
.values > div { display: flex; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.values > div > span { color: var(--cyan); font-size: 9px; font-weight: 800; }
.values p { display: flex; flex-direction: column; margin: 0; }
.values b { color: var(--navy-900); font-size: 13px; }
.values small { color: #8390a3; font-size: 11px; }

.contact { position: relative; padding: 120px 0; text-align: center; color: var(--white); background: linear-gradient(135deg, var(--navy-950), #08275a); overflow: hidden; }
.contact::after { content: ""; position: absolute; inset: auto -160px -290px auto; width: 600px; height: 600px; border: 1px solid rgba(24,200,195,.12); border-radius: 50%; box-shadow: inset 0 0 100px rgba(24,200,195,.05); }
.contact-grid { opacity: .28; -webkit-mask-image: radial-gradient(circle, black, transparent 70%); mask-image: radial-gradient(circle, black, transparent 70%); }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { margin-bottom: 24px; color: var(--white); font-size: clamp(40px, 5vw, 64px); }
.contact h2 span { color: #54d9d5; }
.contact-inner > p:not(.section-kicker) { max-width: 570px; margin: 0 auto 38px; color: #a8bad1; font-size: 15px; }
.contact-mail { display: inline-flex; align-items: center; gap: 16px; min-width: min(100%, 465px); padding: 15px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; text-align: left; background: rgba(255,255,255,.07); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.contact-mail:hover { border-color: rgba(24,200,195,.55); background: rgba(255,255,255,.11); transform: translateY(-3px); }
.mail-icon { display: grid; flex: 0 0 43px; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: var(--navy-900); background: var(--cyan); font-size: 18px; font-weight: 800; }
.contact-mail > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.contact-mail small { color: #7fa1c7; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.contact-mail b { font-size: 14px; overflow-wrap: anywhere; }
.contact-mail i { color: var(--cyan); font-style: normal; }

.footer { padding: 26px 0; color: #79879b; background: #fff; font-size: 11px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.footer-inner > a:last-child { justify-self: end; color: var(--navy-900); font-weight: 700; }
.footer-inner p { margin: 0; }
.footer-brand .brand-name { font-size: 16px; }
.brand-mark.small { width: 31px; height: 28px; font-size: 16px; line-height: 28px; }
.brand-mark.small span:nth-child(2) { left: 16px; }
.brand-mark.small i { width: 13px; height: 3px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3) { transition-delay: .16s; }
.service-card:nth-child(4) { transition-delay: .24s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(8,127,245,0); } }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .hero { min-height: 700px; }
  .hero-layout { grid-template-columns: 1fr .78fr; gap: 28px; }
  .hero-visual { transform: scale(.9); transform-origin: right center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-copy { padding: 42px; }
  .about-layout { gap: 55px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { height: 70px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { position: fixed; top: 70px; left: 16px; right: 16px; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu > a { padding: 13px 12px; }
  .nav-menu > a::after { display: none; }
  .nav-menu .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: auto; padding: 130px 0 75px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: min(100%, 500px); height: 390px; margin: 12px auto 0; transform: none; }
  .section { padding: 85px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 42px; }
  .project-card, .project-card.reverse { grid-template-columns: 1fr; }
  .project-card.reverse .project-copy, .project-card.reverse .project-preview { order: initial; }
  .project-copy { padding: 40px 32px; }
  .project-preview { min-height: 430px; }
  .next-project { grid-template-columns: 1fr; gap: 24px; }
  .about-layout { grid-template-columns: 1fr; gap: 55px; }
  .about-graphic { width: min(100%, 430px); margin-inline: auto; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .brand-name { font-size: 19px; }
  .hero { padding-top: 117px; }
  h1 { font-size: clamp(39px, 12vw, 52px); }
  .eyebrow { gap: 7px; font-size: 10px; letter-spacing: .09em; }
  .eyebrow span { width: 18px; }
  .hero-subtitle { display: block; line-height: 1.9; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { height: 325px; }
  .card-main { inset: 38px 3px 26px; }
  .mini-sidebar { width: 48px; padding-inline: 12px; }
  .mini-sidebar i { width: 23px; }
  .mini-content { padding: 35px 20px; }
  .float-auto { right: -4px; bottom: 30px; }
  .float-code { left: -4px; bottom: 47px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .service-icon { margin-bottom: 30px; }
  .section { padding: 72px 0; }
  h2 { font-size: 35px; }
  .project-copy { padding: 34px 24px; }
  .project-preview { min-height: 380px; }
  .phone-shell { top: 35px; transform: translateX(-50%) scale(.86) rotate(2deg); transform-origin: top center; }
  .preview-badge { right: 8px; bottom: 18px; }
  .editor-shell { width: 95%; height: 290px; }
  .editor-menu { padding: 18px 8px; }
  .editor-page { padding: 25px 18px; }
  .editor-page b { font-size: 14px; }
  .next-project { padding: 27px 22px; }
  .next-project > div { align-items: flex-start; }
  .about-layout { gap: 38px; }
  .about-graphic { transform: scale(.92); }
  .contact { padding: 85px 0; }
  .contact-mail { gap: 10px; padding: 12px; }
  .mail-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .contact-mail b { font-size: 11px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 15px; }
  .footer-inner p { display: none; }
}

@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; }
}
