:root {
  --navy: #082b5f;
  --navy-deep: #061f46;
  --navy-soft: #0b3a78;
  --blue: #1683ff;
  --blue-bright: #2c8cff;
  --text: #0c1733;
  --muted: #60708a;
  --line: #dce6f4;
  --surface: #ffffff;
  --surface-soft: #f5f9ff;
  --shadow: 0 18px 50px rgba(12, 35, 75, 0.12);
  --radius: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 43, 95, 0.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; min-width: 250px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #7fc0ff, #0968f2); font-weight: 800; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 17px; letter-spacing: .04em; }
.brand-text small { color: #56a8ff; font-size: 10px; letter-spacing: .18em; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { color: #eaf2ff; font-size: 14px; font-weight: 600; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -11px; width: 0; height: 2px; background: var(--blue); transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; background: transparent; color: white; border: 0; font-size: 26px; }

.btn { min-height: 48px; padding: 0 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-bright), #0869ef); color: white; box-shadow: 0 10px 28px rgba(20, 125, 255, .28); }
.btn-outline { color: white; border-color: #4092ff; background: rgba(255,255,255,.03); }
.btn-outline.dark { color: var(--navy); border-color: #b6c9e4; background: white; }

.hero { background: radial-gradient(circle at 72% 45%, rgba(31, 125, 255, .22), transparent 28%), linear-gradient(135deg, var(--navy-soft), var(--navy-deep)); color: white; overflow: hidden; }
.hero-grid { min-height: 690px; padding: 82px 0 76px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; color: #37a0ff; border: 1px solid rgba(65, 158, 255, .45); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.hero h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.03; letter-spacing: -.05em; margin: 18px 0 22px; }
.hero h1 span { color: #1783ff; }
.hero p { max-width: 650px; color: #d8e7ff; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: #dbe8fb; }

.hero-visual { position: relative; min-height: 500px; }
.core-orb { position: absolute; width: 210px; height: 210px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: radial-gradient(circle, #146ff0 0 28%, #0a2c65 29% 52%, rgba(11, 58, 120, .9) 53% 68%, rgba(25, 123, 255, .2) 69%); box-shadow: 0 0 70px rgba(23, 131, 255, .55), inset 0 0 0 1px #4e9cff; }
.core-orb::before, .core-orb::after { content: ""; position: absolute; border: 1px solid rgba(73, 156, 255, .42); border-radius: 50%; inset: -35px; }
.core-orb::after { inset: -70px; }
.core-orb span { width: 88px; height: 88px; display: grid; place-items: center; background: linear-gradient(135deg, #8bc4ff, #0a65e8); clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%); font-size: 42px; font-weight: 800; }
.orbit-card { position: absolute; width: 200px; padding: 16px; border-radius: 12px; background: rgba(4, 25, 58, .78); border: 1px solid rgba(91, 162, 255, .34); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.orbit-card strong, .orbit-card small { display: block; }
.orbit-card small { color: #c7dcfa; margin-top: 5px; line-height: 1.45; }
.card-1 { top: 0; left: 42%; }
.card-2 { top: 86px; right: 0; }
.card-3 { top: 86px; left: -4%; }
.card-4 { bottom: 75px; left: -6%; }
.card-5 { bottom: 75px; right: 0; }
.card-6 { bottom: 0; left: 40%; }

section { scroll-margin-top: 76px; }
.section-light { background: var(--surface-soft); }
.benefits, .services, .about, .work, .pricing, .contact { padding: 90px 0; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin: 10px 0; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); margin: 0; }

.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mini-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 10px 30px rgba(24, 50, 93, .05); }
.mini-card span { font-size: 30px; }
.mini-card h3 { font-size: 16px; margin: 12px 0 4px; }
.mini-card p { color: var(--muted); font-size: 14px; margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(11, 49, 103, .16); }
.icon { width: 54px; height: 54px; display: grid; place-items: center; background: #eaf4ff; border-radius: 14px; font-size: 26px; }
.service-card h3 { margin: 18px 0 8px; }
.service-card p { color: var(--muted); }
.text-link { border: 0; background: transparent; color: #0871f6; padding: 0; font-weight: 800; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-layout h2 { font-size: 44px; line-height: 1.14; letter-spacing: -.04em; margin: 14px 0; }
.split-layout p { color: var(--muted); }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 10px; }
.stats-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stats-panel div { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.stats-panel strong, .stats-panel span { display: block; }
.stats-panel strong { color: var(--blue); font-size: 34px; }
.stats-panel span { color: var(--muted); font-size: 14px; }

.project-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card, .price-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work { background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
.work .section-heading p { max-width: 650px; margin-inline: auto; }
.project-card { display: flex; flex-direction: column; min-width: 0; }
.system-preview {
  min-height: 210px;
  display: grid;
  align-items: center;
  padding: clamp(18px, 3vw, 32px);
  background: radial-gradient(ellipse at 100% 0%, #d2eaff, transparent 70%), #e7f3ff;
}
.system-preview--sales { background: radial-gradient(ellipse at 100% 0%, #cfe1ff, transparent 70%), #edf3ff; }
.system-preview--web { background: radial-gradient(ellipse at 100% 0%, #c2e9f4, transparent 70%), #e7f6fa; }
.system-window { padding: 14px; border: 1px solid #d3e3f5; border-radius: 13px; background: #fff; box-shadow: 0 9px 24px #173e7020; }
.system-window-title, .system-window-footer { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; color: var(--navy); }
.system-window-footer { justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #e4edf8; padding-top: 8px; }
.system-window-footer strong { color: #155c48; background: #e3f5ee; padding: 2px 6px; border-radius: 5px; }
.system-indicator { width: 8px; height: 8px; border-radius: 50%; background: #1675db; box-shadow: 0 0 0 3px #e4f0ff; }
.system-wave { min-height: 73px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.system-wave i { width: 6px; height: 19px; border-radius: 8px; background: #237ee0; }
.system-wave i:nth-child(2n) { height: 29px; background: #4e9dec; }
.system-wave i:nth-child(3n) { height: 40px; }
.system-wave i:nth-child(5) { height: 54px; background: #135ba7; }
.system-chat { min-height: 73px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.system-chat span { align-self: flex-start; border-radius: 7px 7px 7px 2px; padding: 4px 8px; background: #edf2fa; color: var(--navy); font-size: .68rem; }
.system-chat span + span { align-self: flex-end; border-radius: 7px 7px 2px 7px; color: #fff; background: #185dae; }
.system-site { display: grid; grid-template-columns: 1fr .65fr; align-items: center; gap: 9px; min-height: 73px; }
.system-site span, .system-site strong { display: block; font-size: .71rem; color: var(--navy); }
.system-site strong { margin-top: 3px; color: #185dae; }
.system-site-art { display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 8px; border-radius: 6px; background: #e6f3ff; }
.system-site-art i { width: 17%; height: 13px; border-radius: 3px; background: #91c7fa; }
.system-site-art i:nth-child(2) { height: 20px; background: #589de5; }
.system-site-art i:nth-child(3) { height: 28px; background: #2376cf; }
.system-copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 24px; }
.system-category { color: #185dae; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.system-copy h3 { color: var(--navy); margin: 7px 0 10px; line-height: 1.25; font-size: 1.3rem; }
.system-copy p { color: var(--muted); margin: 0 0 18px; }
.system-copy a { margin-top: auto; color: #185dae; font-weight: 750; }
.system-copy a:hover, .system-copy a:focus-visible { text-decoration: underline; }
.price-card { padding: 32px; position: relative; }
.price-card.featured { border-color: var(--blue); transform: translateY(-10px); }
.popular { position: absolute; top: 18px; right: 18px; background: #e8f3ff; color: #0871f6; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.price { font-size: 42px; font-weight: 800; margin: 12px 0; }
.price-card p { color: var(--muted); }
.price-card ul { padding-left: 20px; color: var(--muted); min-height: 150px; }

.contact { background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep)); color: white; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.contact-copy h2 { font-size: 48px; line-height: 1.08; margin: 16px 0; }
.contact-copy p { color: #d6e7ff; }
.contact-form { background: white; color: var(--text); padding: 28px; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cbd8ea; border-radius: 10px; padding: 12px 13px; background: #fbfdff; }
.full { grid-column: 1 / -1; }
.form-message { margin: 0; color: #0871f6; font-weight: 700; }

.site-footer { background: #061833; color: #d5e2f6; padding: 50px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid div { display: grid; align-content: start; gap: 8px; }
.footer-grid a { color: #aebfda; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; color: #8ea4c4; font-size: 13px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(2, 12, 30, .72); }
.modal.open { display: grid; }
.modal-card { position: relative; max-width: 520px; background: white; border-radius: 18px; padding: 34px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.modal-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 28px; }
.modal-card p { color: var(--muted); }
.modal-cta { margin-top: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .nav-cta { display: none; }
  .main-nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 76px; background: #082b5f; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .brand { min-width: 0; }
  .service-grid, .project-grid, .pricing-grid, .split-layout, .contact-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { padding-top: 58px; }
  .hero-visual { min-height: 650px; transform: scale(.9); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 8px; }
  .hero h1 { font-size: 45px; }
  .hero-visual { min-height: 720px; transform: none; }
  .core-orb { width: 150px; height: 150px; }
  .core-orb span { width: 68px; height: 68px; font-size: 30px; }
  .orbit-card { width: 145px; padding: 11px; font-size: 12px; }
  .card-1 { left: 28%; }
  .card-2 { top: 125px; }
  .card-3 { top: 125px; left: 0; }
  .card-4 { bottom: 100px; left: 0; }
  .card-5 { bottom: 100px; }
  .card-6 { left: 28%; }
  .benefit-grid, .stats-panel { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Agency light-theme refinement: retains original layout and brand structure. */
.site-header { background: rgba(24, 61, 104, .97); }
.hero { background: radial-gradient(circle at 79% 35%, rgba(79,156,248,.17), transparent 37%), linear-gradient(125deg, #ffffff 12%, #f0f7ff 100%); color: #102a4c; }
.hero h1 { color: #102a4c; }
.hero h1 span { color: #1674d9; }
.hero p { color: #526783; }
.hero .eyebrow { color: #1769b7; background: #eaf4ff; border-color: #c7e2ff; }
.hero .btn-outline { color: #194b7b; border-color: #9ac5ed; background: #ffffff; }
.trust-row { color: #48627e; }
.core-orb { background: radial-gradient(circle, #2e89ec 0 28%, #d2eaff 29% 52%, rgba(146,198,250,.75) 53% 68%, rgba(25,123,255,.08) 69%); box-shadow: 0 0 60px rgba(23,131,255,.16), inset 0 0 0 1px #86bafa; }
.core-orb::before, .core-orb::after { border-color: rgba(73,156,255,.24); }
.orbit-card { background: rgba(255,255,255,.97); border-color: #d1e5fa; box-shadow: 0 15px 35px rgba(20,66,120,.11); color: #17385f; }
.orbit-card small { color: #61728a; }
.contact { background: linear-gradient(130deg,#f1f7ff,#ffffff); color: #102a4c; }
.contact-copy p { color: #5b6d86; }
.site-footer { background: #153c69; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }

.inquiry-receipt { grid-column: 2; padding: 24px; border: 1px solid #dce6f4; border-radius: 14px; background: #fff; color: var(--navy); }
.inquiry-receipt h3 { margin: 0 0 6px; }
.inquiry-receipt p { margin: 0 0 16px; }
.inquiry-receipt dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 16px; margin: 0; }
.inquiry-receipt dt { font-weight: 750; }
.inquiry-receipt dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 800px) { .inquiry-receipt { grid-column: 1; } }

main section[id], .service-card[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid #1683ff; outline-offset: 4px; }
.modal-card { max-height: calc(100dvh - 40px); overflow-y: auto; }
@media (max-width: 560px) {
  .nav-wrap { gap: 16px; }
  .nav-cta { display: none; }
  .inquiry-receipt dl { grid-template-columns: 1fr; gap: 4px; }
  .inquiry-receipt dd { margin-bottom: 12px; }
}
