/* OpusTechs — site styles */
@font-face { font-family: "Ubuntu"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/ubuntu-400.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/ubuntu-500.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/ubuntu-700.woff2) format("woff2"); }

:root {
  --navy: #14558e;        /* brand primary */
  --blue: #1e73be;        /* brand accent */
  --sky: #5fb3ff;
  --ink-deep: #0a2440;    /* dark sections */
  --ink-deeper: #061829;
  --green: #40b888;       /* logo accent */
  --charcoal: #30303f;    /* logo wordmark */
  --text: #27303d;
  --muted: #5b6574;
  --line: #e1e7ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 36, 64, .05), 0 8px 24px rgba(10, 36, 64, .07);
  --shadow-lg: 0 2px 4px rgba(10, 36, 64, .06), 0 18px 40px rgba(10, 36, 64, .13);
  --wrap: 1180px;
  --font: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo-accent: var(--green);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-weight: 700; line-height: 1.18; color: var(--ink-deep); margin: 0 0 .55em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9em; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
ul.plain { list-style: none; margin: 0; padding: 0; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; font-weight: 500;
  text-decoration: none; padding: .85em 1.55em; border-radius: 999px; border: 2px solid var(--blue); line-height: 1.2;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20, 85, 142, .25); }
.btn-sm { padding: .55em 1.15em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--bg-alt); color: var(--navy); border-color: var(--bg-alt); }

/* Logo */
.brand { display: inline-flex; color: var(--charcoal); text-decoration: none; }
.logo { width: 132px; height: auto; }
.logo-word { font: 500 25px/1 var(--font); fill: currentColor; letter-spacing: -.3px; }
.brand-light { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .has-sub > a { color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: 8px; }
.site-nav > a:hover, .has-sub > a:hover { color: var(--navy); background: var(--bg-alt); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--navy); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.site-nav > a.btn { color: #fff; margin-left: 12px; }
.site-nav > a.btn:hover { color: #fff; background: var(--navy); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; top: calc(100% + 6px); left: -8px; width: 330px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.sub a .icon { color: var(--blue); }
.sub a:hover { background: var(--bg-alt); color: var(--navy); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 22px 22px; display: none; max-height: calc(100vh - 76px); overflow: auto;
    box-shadow: var(--shadow-lg); }
  .site-nav.open { display: flex; }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 6px; width: auto; }
  .has-sub > a::after { display: none; }
  .site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 3px 0 0 var(--green); }
  .site-nav > a.btn { margin: 12px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Dark backdrop shared by heroes */
.hero, .page-hero, .service-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(30, 115, 190, .55), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(64, 184, 136, .22), transparent 60%),
    linear-gradient(160deg, var(--ink-deep), var(--ink-deeper));
}
.hero::before, .page-hero::before, .service-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: url(/img/mesh.svg) center / cover no-repeat; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero h1, .page-hero h1, .service-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead, .service-hero .lead { color: rgba(255, 255, 255, .82); }
.hero .eyebrow, .page-hero .eyebrow, .service-hero .eyebrow { color: var(--green); }

/* Home hero */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center;
  padding-block: clamp(72px, 10vw, 128px); }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--green); }

.hero-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 22px;
  backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); font-size: .95rem; }
.panel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; color: rgba(255, 255, 255, .7); }
.panel-head span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.panel-head b { font-weight: 500; margin-left: 10px; }
.panel-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); margin-bottom: 8px; }
.panel-row em { margin-left: auto; font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(64, 184, 136, .2); }
.dot.warn { background: #f5b942; box-shadow: 0 0 0 4px rgba(245, 185, 66, .2); }
.panel-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin: 18px 0 14px; padding: 0 2px; }
.panel-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sky), rgba(95, 179, 255, .25)); height: 50%; }
.panel-bars i:nth-child(1) { height: 40%; } .panel-bars i:nth-child(2) { height: 65%; } .panel-bars i:nth-child(3) { height: 50%; }
.panel-bars i:nth-child(4) { height: 80%; } .panel-bars i:nth-child(5) { height: 58%; } .panel-bars i:nth-child(6) { height: 72%; }
.panel-bars i:nth-child(7) { height: 46%; } .panel-bars i:nth-child(8) { height: 88%; } .panel-bars i:nth-child(9) { height: 62%; }
.panel-bars i:nth-child(10) { height: 75%; } .panel-bars i:nth-child(11) { height: 54%; } .panel-bars i:nth-child(12) { height: 68%; }
.panel-foot { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.panel-foot .icon { width: 18px; height: 18px; color: var(--green); }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section.alt, .services-section { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }

.feature-list { display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30, 115, 190, .12), rgba(64, 184, 136, .14)); color: var(--navy); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: .75em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Service cards */
.service-group + .service-group { margin-top: 36px; }
.group-title { display: flex; align-items: center; gap: 14px; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 16px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.service-card:hover { transform: translateY(-4px); border-color: transparent; color: var(--text); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(20, 85, 142, .25); flex: none; }
.service-icon .icon { width: 28px; height: 28px; }
.service-icon.sm { width: 44px; height: 44px; border-radius: 12px; box-shadow: none; }
.service-icon.sm .icon { width: 22px; height: 22px; }
.service-name { font-size: 1.2rem; font-weight: 700; color: var(--ink-deep); }
.service-blurb { color: var(--muted); font-size: .98rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue); }
.more .icon { transition: transform .2s; }
.service-card:hover .more .icon { transform: translateX(3px); }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.process li { position: relative; counter-increment: p; padding: 28px 24px; border-radius: var(--radius); background: var(--bg-alt); }
.process li::before { content: "0" counter(p); position: absolute; right: 22px; top: 20px; font-weight: 700; font-size: 1.6rem; color: rgba(20, 85, 142, .14); }
.process-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: var(--shadow); margin-bottom: 18px; }
.process p { margin: 0; color: var(--muted); }

/* Technologies */
.tech { padding-top: 0; }
.tech-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tech-list li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--ink-deep); background: #fff; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/img/mesh.svg) center / cover; opacity: .35; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-block: 64px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; text-decoration: none; }
.cta-link:hover { color: #fff; text-decoration: underline; }
.cta-link .icon { width: 20px; height: 20px; }

/* Page hero (about, contact, 404) */
.page-hero { padding-block: clamp(64px, 9vw, 112px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 60ch; margin: 0; }

/* Service pages */
.service-hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.service-hero h1 { max-width: 18ch; }
.service-hero .lead { max-width: 60ch; }
.service-hero .eyebrow span { opacity: .6; margin: 0 4px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 300px; width: 100%; justify-self: end; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); }
.ring.r1 { inset: 0; }
.ring.r2 { inset: 18%; border-color: rgba(64, 184, 136, .35); }
.hero-tile { width: 44%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.hero-tile .icon { width: 48%; height: 48%; stroke-width: 1.5; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(56px, 7vw, 88px); }
.service-body { min-width: 0; }
.block + .block { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.block > p { max-width: 70ch; color: var(--muted); font-size: 1.05rem; }
.block h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.include-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.include { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.include:hover { border-color: rgba(30, 115, 190, .35); box-shadow: var(--shadow); }
.include-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.include > .icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px; }
.include h3 { margin-bottom: .35em; }
.include p { margin: 0; color: var(--muted); font-size: .98rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 62px; color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; background: var(--line); }
.steps strong { display: block; color: var(--ink-deep); font-size: 1.1rem; margin-bottom: 2px; }

.side { display: grid; gap: 20px; position: sticky; top: 100px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.side h2, .facts h2, .next-steps h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.side-nav li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.side-nav li a .icon { color: var(--blue); }
.side-nav li a:hover { background: var(--bg-alt); color: var(--navy); }
.side-nav li a[aria-current="page"] { background: var(--bg-alt); color: var(--navy); font-weight: 500; box-shadow: inset 3px 0 0 var(--green); }
.side-contact { background: linear-gradient(160deg, var(--ink-deep), var(--navy)); border: 0; color: rgba(255, 255, 255, .85); }
.side-contact h2 { color: var(--green); }
.side-contact p { font-size: .98rem; }
.side-contact .btn { background: #fff; border-color: #fff; color: var(--navy); }
.side-contact .btn:hover { background: var(--bg-alt); }
.side-mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; text-decoration: none; font-size: .95rem; }
.side-mail:hover { color: #fff; text-decoration: underline; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none;
  color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.related-card strong { display: block; color: var(--ink-deep); margin-bottom: 4px; }
.related-card span span { color: var(--muted); font-size: .95rem; }

/* About */
.prose { max-width: 66ch; }
.prose p { color: var(--muted); }
.facts dl { margin: 0; }
.facts dt { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-deep); margin-top: 18px; }
.facts dt .icon { color: var(--blue); width: 20px; height: 20px; }
.facts dt:first-of-type { margin-top: 0; }
.facts dd { margin: 4px 0 0 30px; color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.value .feature-icon { margin-bottom: 18px; }
.value p { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); }
.contact-form h2 { font-size: 1.5rem; margin: 0; }
.contact-form label { display: block; font-weight: 500; font-size: .95rem; color: var(--ink-deep); }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { display: block; margin-top: 6px; }
.contact-form label span { color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--text); width: 100%; padding: 12px 14px; border: 1px solid #cbd4e0;
  border-radius: 10px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 115, 190, .15); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c0392b; }
textarea { resize: vertical; min-height: 150px; }
::placeholder { color: #98a1ae; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot p { margin: 0; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-status.ok { background: #e6f6ef; color: #17643f; border: 1px solid #a8dcc4; }
.form-status.err { background: #fdecea; color: #8a2017; border: 1px solid #f2b8b1; }
.contact-side { display: grid; gap: 20px; }
.contact-card { display: grid; gap: 6px; padding: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px; border-radius: 10px; color: var(--ink-deep); text-decoration: none; font-weight: 500; }
.contact-item:hover { background: var(--bg-alt); color: var(--navy); }
.contact-item small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.mini-steps { margin: 0; padding-left: 1.2em; color: var(--muted); }
.mini-steps li { margin-bottom: 10px; padding-left: 4px; }
.mini-steps li::marker { color: var(--blue); font-weight: 700; }
.mini-steps b { color: var(--ink-deep); font-weight: 500; }

/* Footer */
.site-footer { background: var(--ink-deeper); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.1fr .8fr 1.3fr; gap: 40px; padding-block: 64px 40px; }
.footer-grid h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand p { margin-top: 18px; max-width: 36ch; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-inner, .service-hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .hero-art { display: none; }
  .service-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .include-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, 1fr); }
  .service-layout, .contact-grid, .split { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .service-grid, .related-grid, .value-grid, .process, .include-grid, .include-grid:has(> :nth-child(3):last-child), .field-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .feature { padding: 18px; }
  .hero::before, .page-hero::before, .service-hero::before { -webkit-mask-image: none; mask-image: none; opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
