/* Rise Technologies — site styles */

:root {
  --ink: #0a1626;
  --ink-2: #11233a;
  --ink-3: #1a3150;
  --brand: #00c2ee;
  --brand-strong: #007a99;
  --brand-soft: #e3f8fd;
  --text: #1b2a3a;
  --muted: #5a6b7d;
  --line: #e2e8f0;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --on-dark: #e6eef6;
  --on-dark-muted: #9fb3c8;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 38, 0.06), 0 1px 3px rgba(10, 22, 38, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 22, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 22, 38, 0.18);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg[hidden] { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 15px/1 var(--font-body);
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--ink); }
.btn-primary:hover { background: #33d1f3; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 40px; width: auto; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px;
  font-weight: 500; font-size: 15px; color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }

.has-menu { display: flex; align-items: center; }
.menu-toggle { padding: 10px 6px; margin-left: -8px; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: -12px;
  min-width: 280px; padding: 8px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-menu.is-open .submenu,
.has-menu:hover .submenu,
.has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.has-menu.is-open .menu-toggle .icon, .has-menu:hover .menu-toggle .icon { transform: rotate(180deg); }
.submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.submenu a:hover { background: var(--bg); color: var(--brand-strong); }
.submenu .icon { color: var(--brand-strong); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; }
.header-phone .icon { color: var(--brand-strong); }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-burger .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 194, 238, 0.22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(0, 194, 238, 0.10), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  padding: 88px 0 112px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0, 194, 238, 0.2); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand); }
.hero-lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.08); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.35;
}
.float-card strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 15px; }
.float-card .badge-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.float-card.top { top: 24px; left: -28px; }
.float-card.bottom { bottom: -26px; right: 24px; }

/* ---------- Facts strip ---------- */
.facts { position: relative; margin-top: -48px; z-index: 2; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.fact { display: flex; gap: 14px; align-items: center; padding: 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .badge-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.fact strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16px; }
.fact span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { font: 600 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 14px; display: block; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 122, 153, 0.35); }
.service-card .badge-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 4px; }
.service-card .badge-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin: 0; }
.service-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand-strong); }
.more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .more .icon { transform: translateX(3px); }
.service-card.is-dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.service-card.is-dark h3 { color: #fff; }
.service-card.is-dark p { color: var(--on-dark-muted); }
.service-card.is-dark .badge-icon { background: rgba(0, 194, 238, 0.15); color: var(--brand); }
.service-card.is-dark .more { color: var(--brand); }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-md); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: rgba(10, 22, 38, 0.82); backdrop-filter: blur(6px); color: var(--on-dark);
  border-radius: var(--radius); padding: 16px 18px; font-size: 14px;
}
.why-photo figcaption strong { color: #fff; font-family: var(--font-display); display: block; font-size: 15px; margin-bottom: 2px; }
.feature-list { display: grid; gap: 28px; margin-top: 32px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.feature .badge-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--brand); }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* Industries */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--ink); }
.chip .icon { color: var(--brand-strong); width: 18px; height: 18px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 800 14px/1 var(--font-display); color: var(--brand-strong); letter-spacing: 0.05em; margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Quote */
.quote { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(0, 194, 238, 0.18), transparent 65%); pointer-events: none; }
.quote-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.quote h2 { color: #fff; }
.quote .kicker { color: var(--brand); }
.quote-intro { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 32px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list .contact-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark); text-decoration: none; transition: background-color .15s ease, border-color .15s ease;
}
.contact-list a:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(0, 194, 238, 0.4); }
.contact-list .badge-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 194, 238, 0.15); color: var(--brand); flex: none; }
.contact-list small { display: block; color: var(--on-dark-muted); font-size: 13px; }
.contact-list strong { color: #fff; font-weight: 600; }

.form-card { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--font-body); color: var(--text);
  padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 4px rgba(0, 194, 238, 0.18); }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 30em; }
.site-footer h4 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-strong); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.footer-contact .icon { color: var(--brand-strong); margin-top: 3px; width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-burger { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 76px); overflow-y: auto;
    display: none; padding: 12px 16px 20px;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; padding: 14px 12px; font-size: 16px; }
  .has-menu { flex-wrap: wrap; }
  .has-menu > .nav-link:first-child { width: auto; flex: 1; }
  .has-menu > .menu-toggle { width: auto; flex: none; margin-left: 0; padding: 14px 16px; }
  .submenu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; min-width: 0; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none; }
  .has-menu.is-open .submenu { display: block; }
  .nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 12px; }

  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .float-card.top { left: 12px; top: 12px; }
  .float-card.bottom { right: 12px; }
  .why-grid, .quote-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-phone { display: none; }
  .section { padding: 72px 0; }
  .services-grid, .steps, .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { font-size: 13px; padding: 10px 14px; }
  .float-card .badge-icon { width: 34px; height: 34px; }
}

.nav-mobile-cta { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 64px 0 88px; }
.page-hero .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.page-hero.no-media .hero-grid { grid-template-columns: minmax(0, 820px); }
.page-hero .hero-photo { aspect-ratio: 16 / 11; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb [aria-current] { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); background: var(--bg); margin: 0; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.split p { color: var(--muted); font-size: 1.05rem; }
.split .btn { margin-top: 12px; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.on-dark .checklist li { color: var(--on-dark); }
.on-dark .checklist li::before { background-color: rgba(0, 194, 238, 0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300c2ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.service-card.static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.service-card .checklist { margin: 4px 0 8px; gap: 8px; }
.service-card .checklist li { font-size: 14px; }
.service-card .checklist li::before { width: 20px; height: 20px; background-size: 12px; }
.service-detail { padding: 32px; gap: 14px; }
.service-detail p { flex: none; }
.service-detail .more { margin-top: auto; }

.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 48px;
}
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(0, 194, 238, 0.22), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: var(--on-dark-muted); }
.cta-band .hero-actions { flex: none; }

.portal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.portal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.portal-bar strong { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); color: var(--ink); }
.portal-bar strong .icon { color: var(--brand-strong); }
.portal-bar a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.portal-bar a .icon { width: 16px; height: 16px; }
.portal iframe { display: block; width: 100%; height: 600px; border: 0; background: #fff; }
.portal-wrap { margin-top: -56px; position: relative; z-index: 2; }

/* ---------- Blog listing ---------- */
.page-hero.blog-hero { padding: 28px 0 32px; }
.blog-hero .breadcrumb { margin-bottom: 12px; }
.blog-hero h1 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 6px; }
.blog-hero .hero-lead { font-size: 1rem; margin: 0; }
.blog-section { padding-top: 28px; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  font: 600 14px/1 var(--font-body); color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover { border-color: var(--brand-strong); color: var(--brand-strong); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-count { color: var(--muted); font-size: 14px; }
.blog-empty { color: var(--muted); text-align: center; padding: 48px 0; }

.post-featured, .post-card { text-decoration: none; color: inherit; display: flex; }
.post-featured[hidden], .post-card[hidden] { display: none; }
.post-thumb { display: block; overflow: hidden; background: var(--bg); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-featured:hover .post-thumb img, .post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: 10px; }
.post-body .tag {
  align-self: flex-start; font: 600 12px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-strong); background: var(--brand-soft); padding: 7px 10px; border-radius: 999px;
}
.post-body h2, .post-body h3 { margin: 0; transition: color .15s ease; }
.post-summary { color: var(--muted); }
.post-meta { color: var(--muted); font-size: 14px; margin-top: auto; }
.post-featured:hover h2, .post-card:hover h3 { color: var(--brand-strong); }

.post-featured {
  display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease;
}
.post-featured:hover { box-shadow: var(--shadow-md); border-color: rgba(0, 122, 153, 0.35); }
.post-featured .post-thumb { aspect-ratio: 16 / 10; }
.post-featured .post-body { padding: 40px; justify-content: center; }
.post-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-featured .post-summary { font-size: 1.05rem; }
.post-featured .post-meta { margin-top: 8px; }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.post-card {
  flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 122, 153, 0.35); }
.post-card .post-thumb { aspect-ratio: 16 / 10; }
.post-card .post-body { padding: 24px; flex: 1; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card .post-summary { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--brand); box-shadow: 0 0 8px rgba(0, 194, 238, 0.6); }

.article-hero { padding-bottom: 150px; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--on-dark-muted); font-size: 15px; margin-top: 8px; }
.byline { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--brand); color: var(--ink); font: 800 13px/1 var(--font-display); letter-spacing: 0.02em;
}
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }
.article-cover { margin: -110px 0 0; position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21 / 9; background: var(--bg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-section { padding-top: 64px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-main { min-width: 0; max-width: 740px; }
.prose { font-size: 1.1rem; line-height: 1.8; color: #263646; }
.prose > p:first-child { font-size: 1.25rem; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 1.55rem; margin: 2.2em 0 0.7em; scroll-margin-top: 100px; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin: 0.5em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--brand-strong); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink); font-style: italic; }
.prose a { color: var(--brand-strong); text-underline-offset: 3px; }

.inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 2.4em 0; padding: 24px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-soft), #f1f9fc); border: 1px solid #c9eef8;
}
.inline-cta div { flex: 1 1 280px; }
.inline-cta strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.inline-cta span { color: var(--muted); font-size: 1rem; line-height: 1.5; }

.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 56px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.author-box strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.author-box p { color: var(--muted); margin: 0 0 10px; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.share-row span { font-weight: 600; color: var(--ink); margin-right: 6px; }
.share-row a, .share-row button {
  font: 500 14px/1 var(--font-body); color: var(--text); background: var(--surface); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; transition: border-color .15s ease, color .15s ease;
}
.share-row a:hover, .share-row button:hover { border-color: var(--brand-strong); color: var(--brand-strong); }

.article-aside { position: sticky; top: 100px; display: grid; gap: 24px; }
.toc-title, .toc summary { font: 700 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc-list a {
  display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; transition: color .15s ease, border-color .15s ease;
}
.toc-list a:hover { color: var(--ink); }
.toc-list a.is-active { color: var(--brand-strong); border-left-color: var(--brand-strong); font-weight: 600; }
.toc-mobile { display: none; }

.aside-cta { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 28px 24px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.aside-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -120px; background: radial-gradient(circle, rgba(0, 194, 238, 0.25), transparent 65%); pointer-events: none; }
.aside-cta > * { position: relative; z-index: 1; }
.aside-cta .badge-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 194, 238, 0.15); color: var(--brand); }
.aside-cta h3 { color: #fff; font-size: 1.2rem; margin: 4px 0 0; }
.aside-cta p { color: var(--on-dark-muted); font-size: 15px; margin: 0 0 4px; }
.aside-cta .btn { width: 100%; }

.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }

.lead-block { max-width: 820px; font-size: 1.2rem; color: var(--text); }
.lead-block p { color: var(--muted); }

@media (max-width: 1100px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .page-hero { padding: 48px 0 72px; }
  .page-hero .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split + .split { margin-top: 72px; }
  .split.reverse .split-media { order: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.cols-3 { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 32px; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .cta-band .hero-actions, .cta-band .hero-actions .btn { width: 100%; }
  .portal iframe { height: 560px; }
  .service-detail { padding: 24px; }
}


@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .post-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-body { padding: 28px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-main { max-width: none; }
  .article-aside { position: static; }
  .toc-desktop { display: none; }
  .toc-mobile { display: block; margin-bottom: 32px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
  .toc-mobile summary { cursor: pointer; margin: 0; list-style: revert; }
  .toc-mobile .toc-list { margin-top: 14px; }
  .article-cover { margin-top: -90px; aspect-ratio: 16 / 9; }
  .article-hero { padding-bottom: 120px; }
}
@media (max-width: 640px) {
  .post-grid, .post-grid.cols-3 { grid-template-columns: 1fr; }
  .prose { font-size: 1.05rem; }
  .prose > p:first-child { font-size: 1.15rem; }
  .author-box { flex-direction: column; padding: 22px; }
  .inline-cta { padding: 20px; }
  .inline-cta .btn { width: 100%; }
}

/* ---------- Lead capture ---------- */
.form-success { text-align: center; padding: 32px 8px; }
.form-success .badge-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--brand-soft); color: var(--brand-strong); }
.form-success .badge-icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--muted); margin: 0; }
.form-error { color: #b42318; font-size: 14px; margin: 12px 0 0; text-align: center; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 22, 38, 0.08);
  }
  .mobile-cta .btn { padding: 13px 12px; }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
