/* TechPark24 — original design system
   Deep navy + electric blue + violet accents
   Campus-grid motif, not a generic agency template */

:root {
  --navy-950: #06101c;
  --navy-900: #0a1628;
  --navy-800: #12233d;
  --navy-700: #1b3154;
  --blue-600: #2158e8;
  --blue-500: #3b7bff;
  --violet-600: #6d4aff;
  --violet-500: #7c62ff;
  --ink: #132037;
  --muted: #5a6b82;
  --line: #d7e0ee;
  --surface: #f3f6fb;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(10, 22, 40, 0.08);
  --shadow-soft: 0 8px 24px rgba(10, 22, 40, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --header: 76px;
  --max: 1180px;
  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--navy-900);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  min-width: 0;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  max-width: 16ch;
  overflow-wrap: anywhere;
}

.section-lead {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.05rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(33, 88, 232, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--navy-900);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #b9c8e4;
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}

.btn-light:hover {
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.logo span {
  color: var(--blue-600);
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
}

.desktop-nav a {
  padding: 8px 9px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--navy-900);
  background: var(--surface);
}

.header-cta {
  justify-self: end;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

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

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.nav-backdrop {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 35, 61, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 35, 61, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(59, 123, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 4.1rem);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Campus visual */
.campus-visual {
  position: relative;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 8px 4px 8px 0;
}

.dash-frame {
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.dash-frame::before,
.dash-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue-500);
  pointer-events: none;
}

.dash-frame::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.dash-frame::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 14px;
}

.dash-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7deea;
}

.dash-chrome i:first-child {
  background: #c9d4ea;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.search-row strong {
  color: var(--navy-900);
  font-weight: 600;
}

.rank-list {
  margin: 16px 0 8px;
  display: grid;
  gap: 8px;
}

.rank-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #edf1f8;
  min-width: 0;
}

.rank-item b {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--white);
  background: var(--navy-800);
}

.rank-item:first-child b {
  background: var(--blue-600);
}

.bar {
  height: 6px;
  border-radius: 99px;
  background: #e8eef8;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.metric {
  padding: 12px;
  border-radius: 14px;
  background: var(--navy-900);
  color: #d7e2f5;
}

.metric strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.metric span {
  font-size: 0.78rem;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
}

.float-card small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.float-a {
  top: 18px;
  right: 8px;
  animation: floaty 5s ease-in-out infinite;
}

.float-b {
  left: 8px;
  bottom: 54px;
  animation: floaty 6s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.chart {
  margin-top: 12px;
  height: 72px;
}

/* Trust */
.trust {
  padding: 18px 0 70px;
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.trust-copy h2 {
  font-size: 1.45rem;
  max-width: 14ch;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy-900);
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat small {
  display: block;
  color: #7a879a;
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Cards / services */
.services {
  background: linear-gradient(180deg, #fff, var(--surface) 40%, #fff);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #c9d6ea;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef3ff, #e7ecfb);
  color: var(--blue-600);
  margin-bottom: 16px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.learn {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-600);
}

.learn:hover {
  color: var(--violet-600);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.why-panel {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #c9d6ec;
  border-radius: 28px;
  padding: 40px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.why-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -50px;
  bottom: -50px;
  background: radial-gradient(circle, rgba(59, 123, 255, 0.28), transparent 70%);
}

.why-panel h2,
.why-panel .section-kicker {
  color: #9ec0ff;
}

.why-panel h2 {
  color: var(--white);
  max-width: 10ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.why-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.why-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.why-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.why-tile strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 6px;
  color: var(--navy-900);
}

.why-tile p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.why-index {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.08em;
}

/* Process */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  position: relative;
  text-align: left;
}

.process-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.1rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* SEO block */
.seo-block {
  background: var(--navy-950);
  color: #c5d2e6;
  overflow: hidden;
}

.seo-block .section-title,
.seo-block h2 {
  color: var(--white);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.seo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.seo-pills li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.04);
}

.audit {
  background: linear-gradient(180deg, #13233f, #0d1a30);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.audit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.audit h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
}

.sample-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec0ff;
  border: 1px solid rgba(158, 192, 255, 0.35);
  padding: 4px 8px;
  border-radius: 999px;
}

.audit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
}

.score {
  font-family: var(--font-display);
  font-weight: 700;
  color: #9ec0ff;
}

/* Case studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.case-visual {
  height: 190px;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.08), rgba(10, 22, 40, 0.28));
  pointer-events: none;
}

.case-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
}

.case-body h3 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.case-body p {
  color: var(--muted);
  flex: 1;
}

.note {
  font-size: 0.8rem;
  color: #6e7c90;
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 10px;
}

/* Testimonials */
.slider {
  position: relative;
}

.slides {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.slide q {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--navy-900);
  quotes: none;
  margin-bottom: 18px;
}

.slide-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  color: var(--navy-900);
}

.dots {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #cdd6e6;
  cursor: pointer;
  padding: 0;
}

.dots button.is-active {
  background: var(--blue-600);
  width: 22px;
  border-radius: 99px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
}

.trio {
  display: grid;
  gap: 14px;
}

.trio article {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

.trio h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.trio p {
  margin: 0;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.faq-item .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] .icon,
.faq-item.is-open .icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card.featured {
  background: linear-gradient(180deg, #f7f9ff, #fff);
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cats a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.cats a:hover,
.cats a.is-active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
}

.contact-panel {
  background: var(--navy-900);
  color: #c9d6ec;
  border-radius: 28px;
  padding: 36px;
}

.contact-panel h2 {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a {
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
  position: relative;
  width: 100%;
}

.form .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fbfcfe;
  color: var(--ink);
  font-size: 16px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-msg {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.form-msg.ok {
  display: block;
  background: #e8f7ee;
  color: #146c3a;
}

.form-msg.err {
  display: block;
  background: #fdecec;
  color: #9b1c1c;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #d45c5c;
}

/* Page hero */
.page-hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(59, 123, 255, 0.12), transparent 30%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  max-width: 18ch;
  overflow-wrap: anywhere;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.breadcrumbs a:hover {
  color: var(--blue-600);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 1.4em;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.1em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  list-style: disc;
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.side-card {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.check-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  position: absolute;
  left: 0;
  top: 14px;
}

/* CTA band */
.band {
  padding: 28px 0 96px;
}

.band-inner {
  background: linear-gradient(135deg, var(--navy-900), #183056);
  color: #c9d6ec;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.band-inner h2 {
  color: var(--white);
  margin: 0 0 8px;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #a9bad4;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .logo {
  color: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: #a9bad4;
}

.site-footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 0;
}

.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.85rem;
}
  font-size: 0.85rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
