:root {
  --blue: #1687c9;
  --blue-dark: #23206e;
  --ink: #142033;
  --muted: #64748b;
  --soft: #eef7fc;
  --coral: #ef765e;
  --white: #ffffff;
  --line: #dce7ef;
  --shadow: 0 18px 45px rgba(22, 56, 90, .12);
  --radius: 22px;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 36px)); margin-inline: auto; }
.topbar { background: #111a2b; color: #d7e3f1; font-size: .88rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(220,231,239,.8); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 255px; }
.brand img { width: 240px; height: auto; }
.nav-toggle { display: none; border: 0; background: #edf5fb; border-radius: 12px; width: 46px; height: 46px; font-size: 1.3rem; cursor: pointer; }
.nav { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a { display: block; padding: 12px 13px; font-weight: 700; color: #27364b; font-size: .95rem; border-radius: 10px; }
.nav a:hover, .nav a.active { color: var(--blue); background: var(--soft); }
.dropdown-menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { font-weight: 650; padding: 10px 12px; }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #effaff 0%, #f6f5ff 52%, #fff 100%); }
.hero::before, .hero::after { content:""; position:absolute; border-radius:50%; filter: blur(1px); pointer-events:none; }
.hero::before { width: 520px; height: 520px; background: rgba(22,135,201,.12); right: -160px; top: -170px; }
.hero::after { width: 360px; height: 360px; background: rgba(35,32,110,.10); left: -170px; bottom: -170px; }
.hero-inner { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding: 90px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.eyebrow::before { content:""; width: 28px; height: 3px; background: var(--coral); border-radius: 99px; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 16px; }
h1 { font-size: clamp(2.65rem, 5vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.32rem; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #516177; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 13px; font-weight: 800; border: 1px solid transparent; transition: .2s ease; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: 0 12px 26px rgba(22,135,201,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(22,135,201,.30); }
.btn-outline { border-color: #c8d9e5; background: rgba(255,255,255,.75); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.hero-visual { position: relative; min-height: 410px; display: grid; place-items: center; }
.logo-orbit { width: min(390px, 92%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff, #eaf5fc 45%, #dceafb 100%); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.9); }
.logo-orbit img { width: 66%; filter: drop-shadow(0 14px 20px rgba(35,32,110,.20)); }
.floating-card { position: absolute; background: rgba(255,255,255,.93); border: 1px solid rgba(220,231,239,.9); border-radius: 17px; box-shadow: var(--shadow); padding: 16px 18px; min-width: 180px; }
.floating-card strong { display:block; color: var(--blue-dark); }
.floating-card span { font-size: .86rem; color: var(--muted); }
.float-a { left: 0; top: 42px; }
.float-b { right: 0; bottom: 42px; }
.section { padding: 92px 0; }
.section-soft { background: #f7fbfe; }
.section-dark { background: #111a2b; color: #fff; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content:center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 9px 30px rgba(35,54,75,.06); transition: .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; font-size: 1.55rem; margin-bottom: 20px; background: linear-gradient(135deg, #e5f5ff, #eeedff); color: var(--blue-dark); }
.card p { color: var(--muted); }
.card-link { color: var(--blue); font-weight: 800; }
.page-hero { background: linear-gradient(135deg, #12203a, #24206f 60%, #1687c9); color:#fff; padding: 92px 0 82px; position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; width:460px; height:460px; border-radius:50%; border:80px solid rgba(255,255,255,.05); right:-160px; top:-180px; }
.page-hero .lead { color: #d6e5f4; }
.breadcrumb { display:flex; gap:8px; color:#bdd7e9; font-size:.92rem; margin-bottom:18px; }
.content-wrap { display:grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap:42px; align-items:start; }
.prose { font-size:1.02rem; }
.prose h2 { font-size:2rem; margin-top:32px; }
.prose h3 { margin-top:28px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.sidebar-card { position:sticky; top:112px; background:linear-gradient(145deg,#edf8ff,#f4f2ff); border:1px solid #d9e7f1; border-radius:24px; padding:28px; }
.sidebar-card .contact-row { margin:14px 0; color:#405268; }
.skills { display:grid; gap:18px; margin-top:28px; }
.skill-head { display:flex; justify-content:space-between; font-weight:750; margin-bottom:7px; }
.skill-bar { height:10px; border-radius:99px; background:#e2ebf2; overflow:hidden; }
.skill-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--blue),var(--blue-dark)); }
.quote { border-left:5px solid var(--coral); padding:20px 24px; background:#f7fbfe; border-radius:0 16px 16px 0; font-size:1.15rem; font-weight:700; margin:34px 0; }
.portfolio-card { overflow:hidden; padding:0; }
.portfolio-media { min-height:220px; display:grid; place-items:center; background:linear-gradient(145deg,#f8fbfd,#e8f2f8); padding:34px; }
.portfolio-media img { max-height:160px; width:auto; object-fit:contain; }
.portfolio-body { padding:25px; }
.badge { display:inline-flex; padding:6px 10px; border-radius:999px; background:#eaf6fc; color:var(--blue); font-weight:800; font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:11px; }
.service-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:30px; }
.service-list article { background:#fff; border:1px solid var(--line); padding:22px; border-radius:17px; }
.cta { background:linear-gradient(135deg,var(--blue-dark),var(--blue)); color:#fff; border-radius:28px; padding:48px; display:flex; align-items:center; justify-content:space-between; gap:28px; overflow:hidden; position:relative; }
.cta::after { content:""; position:absolute; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.08); right:-90px; bottom:-130px; }
.cta p { color:#dbeaf5; margin:0; }
.testimonial { position:relative; }
.testimonial::before { content:'“'; position:absolute; right:24px; top:5px; font-size:6rem; color:#d9edf8; line-height:1; font-family:Georgia,serif; }
.testimonial .person { margin-top:22px; font-weight:850; }
.testimonial .role { color:var(--muted); font-size:.92rem; }
.contact-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:38px; }
.contact-panel { background:linear-gradient(150deg,#121b2d,#24206f); color:#fff; border-radius:26px; padding:38px; }
.contact-panel p { color:#cad7e7; }
.contact-item { margin-top:24px; }
.contact-item span { display:block; color:#9db5ca; font-size:.83rem; text-transform:uppercase; letter-spacing:.09em; }
.form-card { background:#fff; border:1px solid var(--line); border-radius:26px; padding:38px; box-shadow:var(--shadow); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { display:grid; gap:7px; }
.form-field.full { grid-column:1 / -1; }
label { font-weight:750; font-size:.92rem; }
input, textarea { width:100%; border:1px solid #cfdee8; border-radius:12px; padding:13px 14px; color:var(--ink); background:#fbfdff; outline:none; }
input:focus, textarea:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(22,135,201,.11); }
textarea { min-height:150px; resize:vertical; }
.notice { padding:14px 16px; border-radius:12px; margin-bottom:18px; }
.notice.success { background:#e8f8ee; color:#155d34; }
.notice.error { background:#fff0ef; color:#962c24; }
.site-footer { background:#0c1422; color:#b8c7d8; padding-top:66px; }
.footer-grid { display:grid; grid-template-columns:1.25fr .8fr 1fr; gap:44px; padding-bottom:44px; }
.footer-brand img { width:245px; filter:brightness(0) invert(1); opacity:.93; margin-bottom:20px; }
.footer-title { color:#fff; font-size:1.05rem; margin-bottom:16px; }
.footer-links { display:grid; gap:10px; }
.footer-links a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.10); min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:.88rem; }
.floating-chat { position:fixed; right:22px; bottom:22px; width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:#1687c9; color:#fff; box-shadow:0 13px 28px rgba(22,135,201,.34); font-size:1.4rem; z-index:40; }
@media (max-width: 980px) {
  .nav-toggle { display:block; }
  .nav { display:none; position:absolute; left:18px; right:18px; top:calc(100% + 8px); flex-direction:column; align-items:stretch; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); padding:10px; }
  .nav.open { display:flex; }
  .dropdown-menu { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; padding-left:16px; display:none; }
  .dropdown.open .dropdown-menu { display:block; }
  .hero-inner { grid-template-columns:1fr; text-align:center; padding:70px 0; }
  .hero .eyebrow { justify-content:center; }
  .hero-actions { justify-content:center; }
  .hero-visual { min-height:360px; }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .content-wrap, .contact-layout { grid-template-columns:1fr; }
  .sidebar-card { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner { min-height:46px; flex-direction:column; justify-content:center; gap:1px; padding:6px 0; }
  .nav-wrap { min-height:72px; }
  .brand { min-width:0; }
  .brand img { width:205px; }
  .hero-inner { min-height:0; padding:58px 0; }
  .hero-visual { min-height:300px; }
  .floating-card { display:none; }
  .section { padding:68px 0; }
  .grid-2, .grid-3, .grid-4, .service-list, .form-grid { grid-template-columns:1fr; }
  .form-field.full { grid-column:auto; }
  .cta { padding:32px 26px; flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { align-items:flex-start; flex-direction:column; justify-content:center; padding:18px 0; }
  .contact-panel, .form-card { padding:28px 22px; }
}
