/* =========================================================
   QOVEX DIGITAL LABS LIMITED — Site styles
   Palette: crisp white + deep navy
   ========================================================= */

:root {
  --navy-950: #05152b;
  --navy-900: #071b36;
  --navy-800: #0a2547;
  --navy-700: #123457;
  --navy-600: #1d4a75;
  --navy-100: #dbe6f5;
  --navy-050: #eef3fb;

  --ink: #0b1c30;
  --body: #46586c;
  --muted: #6c7d90;

  --white: #ffffff;
  --tint: #f6f8fc;
  --line: #e3e9f1;
  --line-strong: #d2dbe8;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-xs: 0 1px 2px rgba(9, 30, 58, 0.05);
  --shadow-sm: 0 4px 14px rgba(9, 30, 58, 0.06);
  --shadow-md: 0 14px 38px rgba(9, 30, 58, 0.08);
  --shadow-lg: 0 28px 70px rgba(9, 30, 58, 0.14);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1160px;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.16;
  letter-spacing: -0.022em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--navy-700);
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2.5px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================ HEADER ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(9, 30, 58, 0.03), var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-800);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(10, 37, 71, 0.22);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.12em;
  color: var(--navy-900);
}

.brand-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 4px;
}

/* Nav */
.primary-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy-700);
  position: relative;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: var(--navy-900);
  background: var(--navy-050);
}

.nav-link.is-active {
  color: var(--navy-900);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
}

.nav-cta-item {
  margin-left: 8px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

/* ============================ BUTTONS ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 37, 71, 0.2);
}

.btn-primary:hover {
  background: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10, 37, 71, 0.26);
}

.btn-secondary {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--navy-600);
  color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(2px);
}

/* ============================ HERO ============================ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(18, 52, 87, 0.09), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 55%, var(--tint) 100%);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 37, 71, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 37, 71, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(700px 420px at 72% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(700px 420px at 72% 18%, #000 0%, transparent 78%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  box-shadow: var(--shadow-xs);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #178a5c;
  box-shadow: 0 0 0 3px rgba(23, 138, 92, 0.14);
}

.hero-title {
  font-size: clamp(2.3rem, 4.1vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--navy-900);
  margin-top: 26px;
  max-width: 16ch;
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.09rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-chips li {
  position: relative;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  padding-left: 17px;
}

.hero-chips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--navy-600);
}

/* Hero panel */
.hero-panel {
  background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-950) 100%);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 154, 214, 0.32), transparent 68%);
  pointer-events: none;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.panel-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #bfe4cf;
  background: rgba(23, 138, 92, 0.2);
  border: 1px solid rgba(126, 214, 168, 0.32);
  border-radius: 999px;
  padding: 4px 11px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56d59b;
  box-shadow: 0 0 0 3px rgba(86, 213, 155, 0.18);
}

.panel-card {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 20px;
}

.panel-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.app-glyph {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-800);
  flex-shrink: 0;
}

.app-glyph svg {
  width: 22px;
  height: 22px;
}

.panel-app-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.panel-app-sub {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

.panel-app-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.panel-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.panel-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.panel-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 0;
}

.panel-stats div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
}

.panel-stats dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.panel-stats dd {
  margin: 5px 0 0;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
}

/* ============================ SECTIONS ============================ */

.section {
  padding: 96px 0;
  scroll-margin-top: var(--header-h);
}

.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-600);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(1.72rem, 2.7vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.028em;
}

.section-lead {
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.76;
  color: var(--body);
}

/* ============================ CAPABILITY CARDS ============================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy-100);
  box-shadow: var(--shadow-md);
}

.cap-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--navy-050);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  border: 1px solid var(--navy-100);
}

.cap-icon svg {
  width: 24px;
  height: 24px;
}

.cap-title {
  font-size: 1.09rem;
  font-weight: 700;
  margin-top: 22px;
  letter-spacing: -0.014em;
}

.cap-text {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.66;
  color: var(--body);
}

/* ============================ PRODUCTS ============================ */

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.product-card--featured {
  border-color: var(--navy-100);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: var(--navy-050);
  border: 1px solid var(--navy-100);
  border-radius: 6px;
  padding: 5px 10px;
}

.badge--muted {
  color: var(--body);
  background: var(--tint);
  border-color: var(--line-strong);
}

.product-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-top: 16px;
  letter-spacing: -0.026em;
}

.product-glyph {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(10, 37, 71, 0.2);
}

.product-glyph svg {
  width: 26px;
  height: 26px;
}

.product-text {
  margin-top: 16px;
  font-size: 0.99rem;
  line-height: 1.72;
  color: var(--body);
}

.product-points {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.product-points li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--body);
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--navy-050);
  border: 1.4px solid var(--navy-600);
}

.product-points li::after {
  content: "";
  position: absolute;
  left: 4.4px;
  top: 0.72em;
  width: 5px;
  height: 3px;
  border-left: 1.6px solid var(--navy-800);
  border-bottom: 1.6px solid var(--navy-800);
  transform: rotate(-45deg);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 3px;
  align-self: flex-start;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.product-link:hover {
  color: var(--navy-950);
  border-bottom-color: var(--navy-800);
}

.product-link:hover .btn-icon {
  transform: translate(2px, -2px);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.product-tags li {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--navy-700);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ============================ CORPORATE ============================ */

.corporate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 52px;
  align-items: start;
}

.corporate-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius);
  padding: 8px 32px 12px;
  box-shadow: var(--shadow-sm);
}

.corporate-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}

.corporate-box-head h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy-900);
}

.corporate-seal {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f6b47;
  background: #eaf7f0;
  border: 1px solid #c6e9d7;
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

.corporate-list {
  margin: 0;
}

.corporate-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.corporate-row:last-child {
  border-bottom: 0;
}

.corporate-row dt {
  font-family: var(--font-head);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.corporate-row dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.6;
}

.corporate-row dd a {
  color: var(--navy-700);
  border-bottom: 1px solid var(--navy-100);
  transition: border-color 0.18s ease;
}

.corporate-row dd a:hover {
  border-bottom-color: var(--navy-600);
}

.contact-card {
  background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-950) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.contact-card h3 {
  color: #fff;
  font-size: 1.24rem;
  letter-spacing: -0.018em;
}

.contact-text {
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.68;
}

.contact-list {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 18px;
}

.contact-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.contact-list a,
.contact-list span:not(.contact-label) {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.55;
}

.contact-list a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
  transition: border-color 0.18s ease;
}

.contact-list a:hover {
  border-bottom-color: #fff;
}

.contact-card .btn-primary {
  margin-top: 28px;
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.contact-card .btn-primary:hover {
  background: var(--navy-050);
}

/* ============================ ACCORDION ============================ */

.accordion {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  transition: background-color 0.18s ease;
}

.accordion-trigger:hover {
  background: #fbfcfe;
}

.accordion-index {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  flex-shrink: 0;
}

.accordion-label {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.014em;
}

.accordion-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  background: var(--navy-700);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::before,
.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  background: #fff;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.accordion-panel.is-open {
  grid-template-rows: 1fr;
}

.accordion-content {
  overflow: hidden;
  padding: 0 28px;
  min-height: 0;
}

.accordion-panel.is-open .accordion-content {
  padding-bottom: 28px;
}

.accordion-content p {
  font-size: 0.96rem;
  line-height: 1.74;
  color: var(--body);
  max-width: 82ch;
}

.accordion-content p + p {
  margin-top: 13px;
}

.legal-list {
  margin: 18px 0 0;
  display: grid;
  gap: 9px;
}

.legal-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--body);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--navy-600);
}

.legal-contact {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-contact a {
  color: var(--navy-800);
  font-weight: 500;
  border-bottom: 1px solid var(--navy-100);
}

.legal-contact a:hover {
  border-bottom-color: var(--navy-600);
}

.accordion-content a {
  font-weight: 500;
}

/* ============================ FOOTER ============================ */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 46px;
}

.brand--footer .brand-mark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #fff;
}

.brand--footer .brand-name {
  color: #fff;
}

.brand--footer .brand-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-note {
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.68;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.56);
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-address {
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.74);
  max-width: 32ch;
}

.footer-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.93rem;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.18s ease;
}

.footer-link:hover {
  border-bottom-color: #fff;
}

.footer-nav {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.footer-nav a {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.01em;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .hero-title {
    max-width: 20ch;
  }

  .hero-panel {
    max-width: 520px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid .cap-card:last-child {
    grid-column: span 2;
  }

  .product-grid,
  .corporate-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 12px 26px 22px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    display: block;
    padding: 13px 6px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-link:hover {
    background: transparent;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--navy-800);
  }

  .nav-cta-item {
    margin: 16px 0 0;
  }

  .nav-cta-item .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 68px 0;
  }

  .hero-inner {
    padding-top: 46px;
    padding-bottom: 60px;
    gap: 40px;
  }

  .hero-title {
    margin-top: 20px;
    font-size: clamp(1.95rem, 8.6vw, 2.5rem);
    max-width: none;
  }

  .hero-sub {
    font-size: 1rem;
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-chips {
    gap: 10px 18px;
    margin-top: 30px;
    padding-top: 22px;
  }

  .hero-panel {
    padding: 20px;
    border-radius: var(--radius);
  }

  .panel-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .panel-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
  }

  .panel-stats dd {
    margin: 0;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 38px;
  }

  .card-grid .cap-card:last-child {
    grid-column: auto;
  }

  .cap-card,
  .product-card,
  .contact-card {
    padding: 24px 22px;
  }

  .product-title {
    font-size: 1.42rem;
  }

  .product-glyph {
    width: 44px;
    height: 44px;
  }

  .corporate-box {
    padding: 6px 22px 10px;
  }

  .corporate-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 15px 0;
  }

  .accordion-trigger {
    padding: 20px 20px;
    gap: 14px;
  }

  .accordion-label {
    font-size: 0.99rem;
  }

  .accordion-content {
    padding: 0 20px;
  }

  .accordion-panel.is-open .accordion-content {
    padding-bottom: 22px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 34px;
  }

  .footer-bottom {
    padding-bottom: 26px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
