/* IQ Technologies - www.iq3tech.com */
:root {
  --bg: #F7FBFB;
  --surface: #FFFFFF;
  --ink: #17303A;
  --muted: #4E6670;
  --line: #D6E6E8;
  --brand: #0B7A83;
  --brand-strong: #07626A;
  --brand-soft: #E0F3F2;
  --sky: #E2F1FA;
  --sky-ink: #1D6A9A;
  --sun: #F6B73C;
  --sun-soft: #FFF3D9;
  --sun-ink: #8F5600;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 48, 58, .05), 0 10px 30px rgba(23, 48, 58, .07);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
svg { display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: -9999px; top: 10px; z-index: 20;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow);
}
.skip:focus { left: 16px; }
.i {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 251, 251, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.16rem; letter-spacing: -.015em;
}
.brand:hover { color: var(--ink); }
.brand .mark { width: 46px; height: 46px; flex: none; margin: -4px 0; }
.brand b { color: var(--brand); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 8px 12px; border-radius: 10px;
}
.nav a:not(.btn):hover { background: var(--brand-soft); color: var(--brand-strong); }
.nav .btn { margin-left: 10px; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none;
  border-radius: 12px; padding: 13px 20px; border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(11, 122, 131, .22); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--brand-strong); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-sm { padding: 10px 15px; font-size: .95rem; }
.btn .short { display: none; }
@media (max-width: 440px) {
  .btn .long { display: none; }
  .btn .short { display: inline; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 76px 0 84px;
  background:
    radial-gradient(900px 480px at 88% -8%, var(--sky), transparent 62%),
    radial-gradient(760px 460px at -6% 108%, var(--brand-soft), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 122, 131, .16) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero .wrap {
  position: relative; display: grid; gap: 56px; align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 12px;
  font-size: .9rem; font-weight: 700; color: var(--brand-strong);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); flex: none; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { width: 100%; max-width: 500px; height: auto; justify-self: center; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; }
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.tight { padding-bottom: 0; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.kicker {
  margin: 0 0 10px; font-size: .86rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand);
}
.sub { font-size: 1.12rem; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Service cards */
.cards {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #A9D5D7; transform: translateY(-2px); }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 14px; background: var(--brand-soft); color: var(--brand);
}
.card:nth-child(3n+2) .icon { background: var(--sky); color: var(--sky-ink); }
.card:nth-child(3n) .icon { background: var(--sun-soft); color: var(--sun-ink); }

/* Service area */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { display: flex; align-items: center; gap: 10px; }
.panel h3 .i { color: var(--brand); }
.panel p:last-child { margin-bottom: 0; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-weight: 650; font-size: .98rem;
}
.note { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }

/* XN3 band */
.band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 36px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--sky), var(--brand-soft));
}
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band p { margin: 0; color: var(--muted); max-width: 40em; }
@media (max-width: 700px) { .band { padding: 28px 22px; } }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: var(--shadow);
}
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; padding: 30px 22px; gap: 28px; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .86rem; font-weight: 600; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 28px; font-size: .95rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.site-footer .brand { font-size: 1.05rem; justify-self: start; }
.site-footer .brand .mark { width: 38px; height: 38px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-nav a:hover { color: var(--brand-strong); text-decoration: underline; }
.legal { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Text pages */
.page { padding: 56px 0 80px; }
.prose { max-width: 46em; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--muted); }

/* 404 */
.notfound { text-align: center; padding: 96px 0 110px; }
.notfound .code {
  margin: 0 0 12px; font-size: clamp(4rem, 14vw, 7.5rem); font-weight: 800; line-height: 1;
  letter-spacing: -.04em; color: var(--brand);
}
.notfound .actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .card:hover { transform: none; }
}
