/* AQUABATOR website — component & layout styles (uses tokens from colors_and_type.css) */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.aq-container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.aq-section { position: relative; }
.aq-pad-sm { padding: var(--space-7) 0; }
.aq-pad-md { padding: var(--space-8) 0; }
.aq-pad-lg { padding: var(--space-9) 0; }
.aq-section-light { background: var(--bg); }
.aq-section-soft  { background: var(--grad-foam); }
.aq-section-ocean { background-color: var(--ocean-900); background-image: var(--grad-deep); color: var(--fg-on-dark); }
.aq-section-ocean .aq-h1, .aq-section-ocean .aq-h2, .aq-section-ocean .aq-h3 { color: #fff; }

.aq-grid { display: grid; gap: var(--space-5); }
.aq-eyebrow-light { color: var(--teal-400); }

/* section heading block */
.aq-head { max-width: 720px; }
.aq-head.center { margin: 0 auto; text-align: center; }
.aq-head .aq-eyebrow { margin-bottom: 14px; }
.aq-head h2 { margin: 0 0 14px; }
.aq-head p { margin: 0; }

/* ---------- buttons ---------- */
.aq-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; cursor: pointer;
  border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap; line-height: 1;
}
.aq-btn:active { transform: translateY(1px) scale(0.99); }
.aq-btn-sm { font-size: 14px; padding: 9px 16px; }
.aq-btn-md { font-size: 15px; padding: 12px 22px; }
.aq-btn-lg { font-size: 17px; padding: 16px 30px; }
.aq-btn-full { width: 100%; justify-content: center; }

.aq-btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.aq-btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); }
.aq-btn-accent { background: var(--accent); color: #fff; }
.aq-btn-accent:hover { background: var(--accent-hover); }
.aq-btn-ghost { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.aq-btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-300); }
.aq-btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); backdrop-filter: blur(4px); }
.aq-btn-light:hover { background: rgba(255,255,255,0.2); }
.aq-btn-white { background: #fff; color: var(--ocean-900); box-shadow: var(--shadow-md); }
.aq-btn-white:hover { background: var(--foam-50); }

/* ---------- pills ---------- */
.aq-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 5px 11px; border-radius: var(--r-pill);
  text-transform: uppercase;
}
.aq-pill-blue  { background: var(--blue-50); color: var(--blue-700); }
.aq-pill-teal  { background: var(--teal-100); color: var(--teal-700); }
.aq-pill-green { background: var(--green-100); color: var(--green-600); }
.aq-pill-amber { background: #FBF0D6; color: #9A6B0E; }
.aq-pill-light { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- partner badge ---------- */
.aq-partner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent-hover);
  background: var(--teal-100); border: 1px dashed var(--teal-400);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.aq-section-ocean .aq-partner-badge { background: rgba(68,205,188,0.12); color: var(--teal-200); border-color: rgba(68,205,188,0.4); }

/* ---------- nav ---------- */
.aq-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.aq-nav.on-dark { background: rgba(7,38,59,0.6); border-bottom-color: rgba(255,255,255,0.1); }
.aq-nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; width: 100%; display: flex; align-items: center; gap: 24px; }
.aq-nav-logo { height: 38px; flex-shrink: 0; }
.aq-nav-logo img { height: 100%; width: auto; }
.aq-nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.aq-nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--fg-2);
  padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer;
  transition: color .12s ease, background .12s ease; white-space: nowrap;
}
.aq-nav-link:hover { color: var(--primary); background: var(--blue-50); }
.aq-nav-link.active { color: var(--primary); font-weight: 600; }
.aq-nav.on-dark .aq-nav-link { color: var(--fg-on-dark-2); }
.aq-nav.on-dark .aq-nav-link:hover, .aq-nav.on-dark .aq-nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }
.aq-nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* language toggle */
.aq-lang { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; }
.aq-nav.on-dark .aq-lang { border-color: rgba(255,255,255,0.25); }
.aq-lang button {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 11px; color: var(--fg-3);
}
.aq-nav.on-dark .aq-lang button { color: var(--fg-on-dark-2); }
.aq-lang button.on { background: var(--primary); color: #fff; }

.aq-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--fg); padding: 6px; }
.aq-nav.on-dark .aq-burger { color: #fff; }

/* mobile drawer */
.aq-drawer { position: fixed; inset: 0; z-index: 60; background: var(--grad-deep); color: #fff; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.aq-drawer-top { display: flex; align-items: center; margin-bottom: 18px; }
.aq-drawer-top img { height: 36px; }
.aq-drawer-top button { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; }
.aq-drawer a { font-family: var(--font-serif); font-size: 24px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 12px; }
.aq-drawer a .aq-msmall { font-family: var(--font-sans); font-size: 13px; color: var(--fg-on-dark-2); font-weight: 400; }

/* ---------- hero ---------- */
.aq-hero { position: relative; overflow: hidden; background-color: #07263B; background-image: var(--grad-deep); color: var(--fg-on-dark); }
.aq-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.aq-hero-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.aq-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 96px 28px 120px; }
.aq-hero h1 { color: #fff; margin: 18px 0 22px; max-width: 16ch; }
.aq-hero .aq-lead { color: var(--fg-on-dark); opacity: .92; max-width: 60ch; font-size: 1.2rem; }
.aq-hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* hero stats strip */
.aq-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,0.14); }
.aq-stat { padding: 24px 24px 0; border-right: 1px solid rgba(255,255,255,0.14); }
.aq-stat:last-child { border-right: 0; }
.aq-stat-num { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--teal-400); line-height: 1; }
.aq-stat-label { font-size: 14px; color: var(--fg-on-dark-2); margin-top: 8px; }

/* hero variant B: split with image */
.aq-hero-split .aq-hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 96px; }
.aq-hero-media { position: relative; }
.aq-hero-media image-slot { width: 100%; height: 440px; box-shadow: var(--shadow-ocean); border: 1px solid rgba(255,255,255,0.14); }
.aq-hero-media .aq-floatcard { position: absolute; left: -28px; bottom: -26px; background: #fff; color: var(--fg); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 260px; }
.aq-floatcard .ic { width: 42px; height: 42px; border-radius: 12px; background-color: var(--teal-600); background-image: var(--grad-tide); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* hero variant C: centered */
.aq-hero-center .aq-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: 80px; }
.aq-hero-center h1 { max-width: 18ch; }
.aq-hero-center .aq-lead { margin-left: auto; margin-right: auto; }
.aq-hero-center .aq-hero-actions { justify-content: center; }
.aq-hero-center image-slot { width: 100%; max-width: 920px; height: 360px; margin: 48px auto 0; box-shadow: var(--shadow-ocean); border: 1px solid rgba(255,255,255,0.14); }

/* bubbles */
.aq-bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0.04) 60%); animation: aqrise linear infinite; }
@keyframes aqrise { 0% { transform: translateY(20px); opacity: 0; } 15% { opacity: .7; } 100% { transform: translateY(-160px); opacity: 0; } }

/* ---------- cards ---------- */
.aq-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.aq-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

/* module cards grid */
.aq-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aq-module-card { padding: 26px; cursor: pointer; display: flex; flex-direction: column; }
.aq-module-ic { width: 52px; height: 52px; border-radius: 14px; background-color: var(--blue-50); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.aq-module-card:nth-child(3n+2) .aq-module-ic { background: var(--teal-100); color: var(--teal-700); }
.aq-module-card:nth-child(3n) .aq-module-ic { background: var(--green-100); color: var(--green-600); }
.aq-module-card h3 { margin: 0 0 8px; }
.aq-module-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--fg-2); line-height: 1.55; }
.aq-module-foot { margin-top: auto; display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--primary); }
.aq-module-card:hover .aq-module-foot { gap: 11px; }

/* feature row (image + text) */
.aq-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aq-feature.rev > .aq-feature-media { order: 2; }
.aq-feature-media image-slot { width: 100%; height: 400px; box-shadow: var(--shadow-lg); }
.aq-feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.aq-feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--fg-2); line-height: 1.5; }
.aq-feature-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }

/* about points */
.aq-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.aq-points li { display: flex; gap: 14px; align-items: flex-start; }
.aq-points .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.aq-points h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--fg); }

/* CTA band */
.aq-ctaband { background-color: var(--teal-600); background-image: var(--grad-tide); border-radius: var(--r-xl); padding: 56px; color: #fff; display: flex; align-items: center; gap: 40px; box-shadow: var(--shadow-ocean); }
.aq-ctaband h2 { color: #fff; margin: 0 0 10px; }
.aq-ctaband p { margin: 0; color: rgba(255,255,255,0.92); max-width: 52ch; }
.aq-ctaband .actions { margin-left: auto; flex-shrink: 0; display: flex; gap: 12px; }

/* logos strip */
.aq-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.aq-logos img { height: 64px; opacity: .92; }
.aq-logo-chip { height: 64px; min-width: 150px; border: 1px dashed var(--border-strong); border-radius: var(--r-md); display: grid; place-items: center; color: var(--fg-3); font-size: 13px; font-weight: 600; background: #fff; padding: 0 20px; }

/* ---------- page hero (interior pages) ---------- */
.aq-pagehero { background-color: #07263B; background-image: var(--grad-deep); color: var(--fg-on-dark); position: relative; overflow: hidden; }
.aq-pagehero .aq-hero-bubbles { opacity: .8; }
.aq-pagehero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 72px 28px 80px; }
.aq-pagehero h1 { color: #fff; margin: 12px 0 18px; max-width: 20ch; }
.aq-pagehero-inner .aq-eyebrow { display: block; margin-bottom: 4px; }
.aq-pagehero .aq-lead { color: var(--fg-on-dark); opacity: .92; max-width: 62ch; }

/* breadcrumb */
.aq-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-on-dark-2); margin-bottom: 16px; flex-wrap: wrap; }
.aq-crumb span { white-space: nowrap; }
.aq-crumb a { cursor: pointer; }
.aq-crumb a:hover { color: #fff; }

/* viewer placeholder (3D / VR / map) */
.aq-viewer { position: relative; width: 100%; border-radius: var(--r-lg); overflow: hidden; background-color: #07263B; background-image: var(--grad-deep); border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-ocean); }
.aq-viewer image-slot { width: 100%; height: 100%; }
.aq-viewer-chrome { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 8px; }
.aq-viewer-tag { background: rgba(7,38,59,0.7); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); display: inline-flex; gap: 7px; align-items: center; border: 1px solid rgba(255,255,255,0.16); }
.aq-viewer-center { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.aq-play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.4); color: #fff; display: grid; place-items: center; pointer-events: auto; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.aq-play:hover { transform: scale(1.06); background: rgba(255,255,255,0.26); }
.aq-hotspot { position: absolute; z-index: 3; width: 30px; height: 30px; }
.aq-hotspot .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--teal-400); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(68,205,188,0.6); animation: aqpulse 2s infinite; margin: 4px; cursor: pointer; }
@keyframes aqpulse { 0% { box-shadow: 0 0 0 0 rgba(68,205,188,0.55); } 70% { box-shadow: 0 0 0 14px rgba(68,205,188,0); } 100% { box-shadow: 0 0 0 0 rgba(68,205,188,0); } }

/* spec list (technical guidance) */
.aq-spec { background: var(--ocean-900); color: var(--fg-on-dark); border-radius: var(--r-lg); padding: 32px; }
.aq-spec h3 { color: #fff; }
.aq-spec ol { margin: 18px 0 0; padding-left: 0; list-style: none; counter-reset: spec; display: grid; gap: 14px; }
.aq-spec li { display: flex; gap: 14px; align-items: flex-start; counter-increment: spec; font-size: 14.5px; color: var(--fg-on-dark); line-height: 1.5; }
.aq-spec li::before { content: counter(spec); flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: rgba(68,205,188,0.16); color: var(--teal-400); font-family: var(--font-mono); font-size: 13px; font-weight: 600; display: grid; place-items: center; }

/* ---------- training ---------- */
.aq-track { display: grid; gap: 14px; }
.aq-mod-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .15s ease, box-shadow .15s ease; }
.aq-mod-row:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.aq-mod-num { font-family: var(--font-mono); font-size: 14px; color: var(--fg-3); width: 28px; flex-shrink: 0; }
.aq-mod-icn { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.aq-mod-body { flex: 1; min-width: 0; }
.aq-mod-body h4 { margin: 0 0 5px; font-size: 16px; font-weight: 700; }
.aq-mod-meta { display: flex; gap: 14px; font-size: 13px; color: var(--fg-3); }
.aq-mod-meta span { display: inline-flex; gap: 5px; align-items: center; }
.aq-progress-ring { flex-shrink: 0; }
.aq-mod-status { flex-shrink: 0; }
.aq-bar { height: 8px; background: var(--foam-100); border-radius: 99px; overflow: hidden; }
.aq-bar > i { display: block; height: 100%; background: var(--grad-tide); border-radius: 99px; }

.aq-cert { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.aq-cert-top { background-color: #07263B; background-image: var(--grad-deep); padding: 22px 26px; color: #fff; display: flex; align-items: center; gap: 12px; }
.aq-cert-body { padding: 30px 26px; text-align: center; }
.aq-cert-seal { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; margin: 0 auto 14px; }

/* ---------- database table ---------- */
.aq-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.aq-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 11px 18px; color: var(--fg-3); }
.aq-search input { border: 0; outline: 0; flex: 1; font-family: var(--font-sans); font-size: 15px; color: var(--fg); background: transparent; }
.aq-select { position: relative; }
.aq-select select { appearance: none; font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--fg-2); background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 11px 38px 11px 16px; cursor: pointer; }
.aq-select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3); transform: translateY(-65%) rotate(45deg); pointer-events: none; }

.aq-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.aq-table thead th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); padding: 16px 20px; background: var(--foam-50); border-bottom: 1px solid var(--border); }
.aq-table tbody td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--fg-2); }
.aq-table tbody tr:last-child td { border-bottom: 0; }
.aq-table tbody tr:hover { background: var(--blue-50); }
.aq-table .name { font-weight: 600; color: var(--fg); }
.aq-level { display: inline-flex; align-items: center; gap: 7px; }
.aq-level .dots { display: inline-flex; gap: 3px; }
.aq-level .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--foam-300); }
.aq-level .dots i.on { background: var(--teal-500); }

/* ---------- map ---------- */
.aq-map-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.aq-map-canvas { position: relative; height: 540px; border-radius: var(--r-lg); overflow: hidden; background-color: #0B3A57; background-image: linear-gradient(180deg, #0E4C70, #07263B); border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-ocean); }
.aq-map-node { position: absolute; transform: translate(-50%,-50%); cursor: pointer; }
.aq-map-node .pin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-md); transition: transform .15s ease; }
.aq-map-node:hover .pin { transform: scale(1.35); }
.aq-map-node .lbl { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); background: rgba(7,38,59,0.85); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; white-space: nowrap; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.aq-map-node:hover .lbl { opacity: 1; }
.aq-legend { display: grid; gap: 12px; }
.aq-legend-item { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--fg-2); font-weight: 500; }
.aq-legend-item .sw { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.aq-mini-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.aq-mini-stat .b { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; }
.aq-mini-stat .n { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--primary); line-height: 1; }
.aq-mini-stat .l { font-size: 12px; color: var(--fg-3); margin-top: 5px; }

/* ---------- resources ---------- */
.aq-res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aq-res-card { padding: 22px; display: flex; flex-direction: column; cursor: pointer; }
.aq-res-thumb { height: 150px; border-radius: var(--r-md); margin: -22px -22px 18px; }
.aq-res-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--fg-3); margin-bottom: 10px; }
.aq-res-card h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.aq-res-card .ftype { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--primary); }

/* ---------- footer ---------- */
.aq-footer { background: var(--ocean-950); color: var(--fg-on-dark-2); padding: 64px 0 0; }
.aq-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.aq-footer-logo { height: 42px; margin-bottom: 18px; }
.aq-footer .tag { font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.aq-footer h5 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.aq-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.aq-footer ul a { font-size: 14.5px; cursor: pointer; }
.aq-footer ul a:hover { color: #fff; }
.aq-foot-news { display: flex; gap: 8px; margin-top: 14px; }
.aq-foot-news input { flex: 1; min-width: 0; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-sm); padding: 11px 14px; color: #fff; font-family: var(--font-sans); font-size: 14px; outline: none; }
.aq-foot-news input::placeholder { color: var(--fg-on-dark-2); }
.aq-footer-eu { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.aq-footer-eu img { height: 56px; border-radius: 6px; }
.aq-footer-eu p { font-size: 12px; line-height: 1.55; color: var(--fg-on-dark-2); max-width: 62ch; margin: 0; }
.aq-footer-bottom { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
.aq-footer-bottom .sp { margin-left: auto; display: flex; gap: 18px; }

/* fade-in on mount */
.aq-fade { animation: aqfade .5s ease both; }
@keyframes aqfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .aq-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .aq-hero-split .aq-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .aq-hero-media image-slot { height: 320px; }
}
@media (max-width: 900px) {
  .aq-nav-links { display: none; }
  .aq-burger { display: inline-flex; }
  .aq-modules { grid-template-columns: repeat(2, 1fr); }
  .aq-res-grid { grid-template-columns: repeat(2, 1fr); }
  .aq-feature { grid-template-columns: 1fr; gap: 32px; }
  .aq-feature.rev > .aq-feature-media { order: 0; }
  .aq-map-wrap { grid-template-columns: 1fr; }
  .aq-ctaband { flex-direction: column; align-items: flex-start; padding: 36px; }
  .aq-ctaband .actions { margin-left: 0; }
}
@media (max-width: 640px) {
  .aq-container, .aq-hero-inner, .aq-pagehero-inner, .aq-nav-inner { padding-left: 20px; padding-right: 20px; }
  .aq-pad-lg { padding: var(--space-8) 0; }
  .aq-pad-md { padding: var(--space-7) 0; }
  .aq-hero-inner { padding-top: 56px; padding-bottom: 64px; }
  .aq-stats { grid-template-columns: 1fr 1fr; gap: 1px; }
  .aq-stat { border-bottom: 1px solid rgba(255,255,255,0.14); padding: 18px 16px; }
  .aq-stat:nth-child(2) { border-right: 0; }
  .aq-modules, .aq-res-grid { grid-template-columns: 1fr; }
  .aq-hero .aq-lead { font-size: 1.05rem; }
  .aq-table thead { display: none; }
  .aq-table tbody td { display: block; padding: 6px 18px; border: 0; }
  .aq-table tbody tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .aq-table tbody td.name { padding-top: 12px; font-size: 16px; }
  .aq-ctaband .actions { flex-direction: column; width: 100%; }
  .aq-footer-top { grid-template-columns: 1fr; }
  .aq-footer-bottom { flex-direction: column; align-items: flex-start; }
  .aq-footer-bottom .sp { margin-left: 0; }
  .aq-mod-row { flex-wrap: wrap; }
}
