:root {
  --bg: #f5f8fe;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #11213f;
  --muted: #607293;
  --line: #dbe5f7;
  --primary: #1f68ff;
  --primary-dark: #0d3f9e;
  --deep: #071635;
  --deep-2: #0b2049;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(19, 46, 105, 0.10);
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(65,136,255,0.15), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 48%, #ffffff 100%);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 229, 247, 0.8);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}
.brand img { width: 220px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 0.97rem;
  font-weight: 600;
  color: #3a4d73;
}
.main-nav a:hover { color: var(--primary); }
.nav-cta { white-space: nowrap; }
.nav-toggle, .nav-burger { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2b84ff);
  color: #fff;
  box-shadow: 0 14px 24px rgba(31,104,255,0.22);
}
.btn-primary:hover { box-shadow: 0 18px 28px rgba(31,104,255,0.26); }
.btn-secondary {
  background: rgba(255,255,255,0.9);
  border-color: #b8cbf0;
  color: var(--primary-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 38px;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero::before {
  width: 580px;
  height: 580px;
  right: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(31, 104, 255, 0.20), transparent 65%);
}
.hero::after {
  width: 420px;
  height: 420px;
  left: -170px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(92, 173, 255, 0.16), transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #7d92b5;
}
.eyebrow-light { color: #90b3ff; }
.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero h1 span { color: var(--primary); }
.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #4b5d7d;
  margin: 22px 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
}
.hero-panther-card {
  background:
    linear-gradient(135deg, #ffffff 0%, #eef5ff 35%, #d7e7ff 100%);
  border: 1px solid rgba(193, 211, 246, 0.7);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 20px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panther-card img {
  width: 100%;
  max-width: 470px;
  filter: drop-shadow(0 32px 42px rgba(7,22,53,0.18));
}
.hero-side-copy {
  position: absolute;
  top: 36px;
  right: 16px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-size: 0.84rem;
  line-height: 1.8;
  color: #8ba2c8;
}

.service-strip { margin-top: -6px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.strip-grid article {
  background: rgba(255,255,255,0.88);
  border: 1px solid #dfe8f8;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(23,54,117,0.06);
}
.strip-grid h3,
.info-card h3,
.project-card h3,
.reason-card h3,
.process-step h3,
.contact-box h3,
.site-footer h3 { margin: 0 0 8px; }
.strip-grid p { margin: 0; color: var(--muted); line-height: 1.5; }

.section { padding: 86px 0; }
.section.muted { background: linear-gradient(180deg, rgba(239,244,255,0.8), rgba(255,255,255,0)); }
.section-head {
  margin-bottom: 32px;
}
.section-head.split {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  align-items: end;
}
.section h2, .cta-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.section-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.card-grid {
  display: grid;
  gap: 24px;
}
.services-grid { grid-template-columns: repeat(4, 1fr); }
.info-card {
  background: var(--surface);
  border: 1px solid #e4ebf8;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 33, 73, 0.06);
}
.info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-body { padding: 24px; }
.info-card p,
.project-card p,
.reason-card p,
.process-step p,
.cta-copy p,
.footer-brand p,
.contact-box p { margin: 0; color: var(--muted); line-height: 1.7; }

.project-grid {
  grid-template-columns: 1.18fr 1fr 1fr;
  align-items: stretch;
}
.project-card {
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid #dfE7F7;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
}
.project-card--wide { grid-template-columns: .95fr 1.05fr; }
.project-card:not(.project-card--wide) { grid-template-rows: auto auto; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 210px;
}
.project-copy { padding: 24px; }
.project-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--primary);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.reason-card {
  background: var(--surface);
  border: 1px solid #e4ebf8;
  border-radius: 20px;
  padding: 26px 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid #e4ebf8;
  border-radius: 20px;
  padding: 24px 20px 22px;
}
.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbe7ff, #f4f8ff);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-contact {
  padding: 24px 0 0;
}
.cta-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  background: linear-gradient(135deg, var(--deep) 0%, #0a2f7d 45%, var(--deep-2) 100%);
  border-radius: 28px 28px 0 0;
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-grid::before {
  content: '';
  position: absolute;
  inset: auto auto -120px -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(76,154,255,0.2), transparent 65%);
}
.cta-copy {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
}
.cta-mark img {
  width: 100%;
  border-radius: 24px;
}
.cta-copy h2 { margin-bottom: 14px; color: #fff; }
.cta-copy p:not(.eyebrow-light) { color: rgba(235,242,255,0.86); }
.contact-box {
  position: relative;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  border-radius: 24px;
  padding: 26px;
}
.contact-intro { margin-bottom: 18px !important; }
.contact-form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #495d82;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6e2f8;
  background: #fbfdff;
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #9fc0ff;
  box-shadow: 0 0 0 4px rgba(31,104,255,0.12);
}
.btn-submit { width: 100%; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.contact-status {
  display: none;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.contact-status.is-visible { display: block; }
.contact-status.success { background: #eaf8f0; color: #166534; }
.contact-status.error { background: #fff1f1; color: #a01818; }
.contact-status.info { background: #eef5ff; color: #16479c; }

.site-footer {
  background: linear-gradient(180deg, #081730 0%, #041121 100%);
  color: #d8e5ff;
  padding: 36px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr .9fr;
  gap: 32px;
  align-items: start;
}
.footer-brand img { width: 220px; margin-bottom: 12px; }

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-panther {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(40, 110, 255, 0.18));
  margin-bottom: 0 !important;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand-text strong {
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.03em;
}
.footer-brand-text span {
  color: #9fbaf0;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-footer h3 {
  font-size: 1rem;
  color: #ffffff;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.site-footer li,
.site-footer p,
.site-footer a { color: #c8d7f6; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(157, 185, 242, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}
.footer-bottom p { margin: 0; color: #a4b8de; }
.footer-bottom div { display: flex; align-items: center; gap: 10px; }
.footer-bottom span { color: #6d84af; }

@media (max-width: 1100px) {
  .hero-grid,
  .section-head.split,
  .cta-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-template-columns: 1fr; }
  .reasons-grid,
  .process-grid,
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-copy { grid-template-columns: 96px 1fr; }
  .hero-panther-card { min-height: 420px; }
}

@media (max-width: 820px) {
  .nav-burger {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #d9e6fb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
  }
  .nav-burger span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
  }
  .nav-cta { display: none; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.98);
    border: 1px solid #dfe8f8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .main-nav a { padding: 16px 18px; border-bottom: 1px solid #ecf2ff; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .brand img { width: 190px; }
  .hero,
  .section { padding: 68px 0; }
  .hero-panther-card { min-height: 340px; }
  .form-grid.two-col,
  .reasons-grid,
  .process-grid,
  .services-grid,
  .strip-grid { grid-template-columns: 1fr; }
  .cta-grid { padding: 28px 20px; }
  .cta-copy { grid-template-columns: 1fr; }
  .cta-mark img { width: 96px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .nav-wrap { min-height: 78px; }
  .brand img { width: 172px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-panther-card { padding: 16px; }
  .hero-side-copy {
    position: static;
    text-align: left;
    margin-top: 14px;
    letter-spacing: 0.12em;
  }
  .section h2, .cta-copy h2 { font-size: 1.9rem; }
  .footer-brand-top { align-items: flex-start; }
  .footer-panther { width: 62px; height: 62px; }
  .footer-brand-text strong { font-size: 1.02rem; }
  .footer-brand-text span { font-size: 0.78rem; letter-spacing: 0.16em; }
}


/* Legal pages */
.legal-hero {
  padding: 76px 0 34px;
  background:
    radial-gradient(circle at 85% 10%, rgba(31,104,255,.16), transparent 28%),
    linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid #dfe8f8;
}
.legal-hero .eyebrow { margin-bottom: 12px; }
.legal-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.legal-hero p.legal-lead {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 38px;
  padding: 54px 0 90px;
}
.legal-nav {
  position: sticky;
  top: 112px;
  align-self: start;
  background: #fff;
  border: 1px solid #e1e9f8;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(17,45,99,.06);
}
.legal-nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #7890b7;
}
.legal-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: #3f5277;
  font-size: .92rem;
}
.legal-nav a:hover { background: #f0f5ff; color: var(--primary); }
.legal-content {
  background: #fff;
  border: 1px solid #e1e9f8;
  border-radius: 24px;
  padding: clamp(26px, 5vw, 58px);
  box-shadow: 0 16px 44px rgba(17,45,99,.06);
}
.legal-content section {
  scroll-margin-top: 118px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e8eef9;
}
.legal-content section:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.legal-content h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -.025em;
}
.legal-content h3 { margin: 22px 0 10px; font-size: 1.04rem; }
.legal-content p,
.legal-content li { color: #536684; line-height: 1.78; }
.legal-content ul { padding-left: 1.2rem; margin: 12px 0 0; }
.legal-content li + li { margin-top: 7px; }
.legal-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  background: #eef5ff;
  border: 1px solid #d5e4ff;
  border-radius: 14px;
  color: #38557f;
  line-height: 1.65;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: #6f84a7;
  font-size: .92rem;
}
.legal-contact-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #f7faff;
  border: 1px solid #dfe8f8;
}
.legal-contact-card p { margin: 4px 0; }
.legal-top-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--primary);
  font-weight: 700;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}
