/* KynectX site styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #05070a;
  --bg-2: #0a0e14;
  --card: #0e131b;
  --card-2: #121925;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6f8;
  --muted: #9aa5b4;
  --blue: #138edd;
  --blue-bright: #4db8ff;
  --blue-soft: #8fd9ff;
  --grad: linear-gradient(90deg, #2b8fd6 0%, #4db8ff 50%, #8fd9ff 100%);
  --radius: 16px;
  --max: 1160px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.02em; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 28px rgba(19, 142, 221, 0.35);
}
.btn-primary:hover { background: #1a9cf0; box-shadow: 0 10px 34px rgba(19, 142, 221, 0.5); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); }
.btn-sm { font-size: 14px; padding: 10px 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.15s ease; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: rgba(5, 7, 10, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(19, 142, 221, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(0, 124, 226, 0.12), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; margin-bottom: 24px; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 540px; }
.hero-proof strong { font-family: var(--head); font-size: 34px; font-weight: 800; line-height: 1; }
.hero-proof span { font-size: 15px; color: var(--muted); line-height: 1.45; }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .link { stroke: url(#lineGrad); stroke-width: 1.5; fill: none; opacity: 0.55; }
.hero-art .pulse { stroke: var(--blue-soft); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 10 400; animation: travel 4.5s linear infinite; }
.hero-art .node { fill: var(--card-2); stroke: rgba(77, 184, 255, 0.55); stroke-width: 1.5; }
.hero-art .node-dot { fill: var(--blue-bright); }
.hero-art .ring { fill: none; stroke: rgba(255, 255, 255, 0.06); }
@keyframes travel { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-art .pulse { animation: none; opacity: 0; } }

.booked-card {
  position: absolute;
  right: 0;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(14, 19, 27, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.booked-card .check {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(19, 142, 221, 0.18);
  color: var(--blue-bright);
  flex-shrink: 0;
}
.booked-card b { display: block; font-family: var(--head); font-size: 14px; }
.booked-card small { color: var(--muted); font-size: 13px; }

@media (max-width: 920px) {
  .hero { padding: 64px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { justify-self: center; max-width: 420px; }
}

/* Sections */
section { position: relative; }
.section { padding: 112px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 18px; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

/* Why referrals */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-copy h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-bottom: 22px; }
.why-copy p { color: var(--muted); font-size: 18px; margin-bottom: 16px; }
.points { display: grid; gap: 16px; }
.point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.point .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(19, 142, 221, 0.12);
  color: var(--blue-bright);
}
.point h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.point p { color: var(--muted); font-size: 16px; }
@media (max-width: 920px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  padding: 36px 30px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.85;
}
.step-num {
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; }
.steps-after {
  margin-top: 40px;
  padding: 26px 30px;
  border: 1px dashed rgba(77, 184, 255, 0.35);
  border-radius: var(--radius);
  text-align: center;
  font-size: 18px;
}
.steps-after b { font-family: var(--head); }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }

/* Results */
.big-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: -16px auto 56px;
  text-align: center;
}
.big-stat strong { font-family: var(--head); font-size: clamp(56px, 8vw, 88px); font-weight: 900; line-height: 1; }
.big-stat span { font-size: 18px; color: var(--muted); max-width: 300px; text-align: left; line-height: 1.45; }
@media (max-width: 560px) { .big-stat span { text-align: center; } }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stars { display: flex; gap: 3px; color: #f5b83d; margin-bottom: 18px; }
.stars svg { width: 18px; height: 18px; }
.quote h3 { font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.quote blockquote { color: #c9d1dc; font-size: 16.5px; flex: 1; margin-bottom: 26px; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote figcaption img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(77, 184, 255, 0.4); }
.quote figcaption b { font-family: var(--head); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } .quote { padding: 28px; } }

/* Booking */
.book {
  padding: 112px 0;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(19, 142, 221, 0.25), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #03111f 100%);
  border-top: 1px solid var(--line);
}
.book .section-head h2 { font-size: clamp(34px, 4.6vw, 52px); }
.calendar-shell {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  min-height: 640px;
}
.calendar-shell iframe { width: 100%; border: 0; overflow: hidden; min-height: 640px; border-radius: 14px; display: block; }
.calendar-fallback { text-align: center; margin-top: 22px; color: var(--muted); font-size: 15px; }
.calendar-fallback a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .book { padding: 80px 0; } .calendar-shell { padding: 4px; border-radius: 16px; } }

/* Footer */
.site-footer { background: #030405; border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-grid h4 { font-family: var(--head); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: 13px; line-height: 1.6; }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Legal pages */
.legal-page { padding: 80px 0 104px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 800; margin-bottom: 40px; }
.legal-page h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; }
.legal-page p, .legal-page li { color: #c9d1dc; font-size: 16.5px; margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 12px; }
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Simple centered pages (404, redirects) */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.simple-page h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-bottom: 16px; }
.simple-page p { color: var(--muted); margin-bottom: 28px; }
