/* ============================================================
   LYNCARED — Design system v2
   ============================================================ */

:root {
  --navy-950: #050f1d;
  --navy-900: #081729;
  --navy-850: #0a1f38;
  --navy-800: #0e2744;
  --navy-700: #133258;
  --navy-600: #1c4575;
  --navy-line: rgba(255, 255, 255, 0.08);

  --cyan: #5EE9F2;
  --cyan-bright: #7CF0F7;
  --cyan-deep: #0FB7C2;
  --amber: #F5B547;
  --amber-bright: #FFC76A;
  --amber-deep: #C88A22;

  --text: #EEF3FA;
  --text-dim: #A6B4C7;
  --text-mute: #6B7B92;

  --font-display: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy-850);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============================================================
   Reveal animation system
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.16,.84,.3,1), transform 900ms cubic-bezier(.16,.84,.3,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-32px); }
.reveal-left.is-in { transform: translateX(0); }
.reveal-right { transform: translateX(32px); }
.reveal-right.is-in { transform: translateX(0); }
.reveal-scale { transform: scale(.94); }
.reveal-scale.is-in { transform: scale(1); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--cyan);
  color: var(--navy-900);
  box-shadow: 0 0 0 1px rgba(94, 233, 242, .4), 0 14px 40px -10px rgba(94, 233, 242, .55);
}
.btn-primary:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 0 1px rgba(94, 233, 242, .5), 0 18px 50px -10px rgba(94, 233, 242, .7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 16px; }

/* ============================================================
   Section primitives
   ============================================================ */
.section {
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  position: relative;
}
.container { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow .dash {
  width: 28px;
  height: 1px;
  background: var(--cyan);
  opacity: .7;
}

/* Section intros — eyebrows always left-aligned */
.section-head {
  margin-bottom: clamp(32px, 5vh, 56px);
  max-width: 760px;
  text-align: left;
}
.section-head .eyebrow {
  margin-bottom: clamp(16px, 2.5vh, 24px);
}
.section-head--in-center-block {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin-bottom: 24px;
}

.contact-phone-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

.h-hero {
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h-section {
  font-size: clamp(38px, 5.4vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.h-card {
  font-size: 22px;
  font-weight: 500;
}

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 60ch;
}

/* ============================================================
   Service card hover
   ============================================================ */
.service-card {
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.service-card:hover {
  border-color: rgba(94, 233, 242, 0.35) !important;
  box-shadow: 0 24px 60px -20px rgba(94, 233, 242, 0.25);
  background: linear-gradient(180deg, rgba(94, 233, 242, 0.04), rgba(255, 255, 255, 0.01)) !important;
}

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ============================================================
   Cookie banner — slim bottom strip
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  pointer-events: auto;
  width: min(700px, calc(100vw - 32px));
  background: rgba(8, 23, 41, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 14px 10px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  gap: 16px;
}
.cookie-banner.cookie-banner--visible {
  display: flex;
}
.cookie-banner.cookie-banner--dismissed,
.cookie-banner[hidden] {
  display: none !important;
  pointer-events: none;
}
.cookie-banner__actions {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.cookie-banner__text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-mute);
  border: 0;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.cookie-banner__close:hover { background: rgba(255,255,255,0.12); color: var(--text); }
@media (max-width: 540px) {
  .cookie-banner { border-radius: 16px; padding: 12px 14px; flex-wrap: wrap; }
  .cookie-banner__text { white-space: normal; }
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  height: 40px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
  border: 0;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }


.btn--primary {
  display: inline-flex;
  align-items: center;
  background: var(--cyan);
  color: var(--navy-900);
  border-radius: 999px;
  height: 40px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease;
  white-space: nowrap;
  border: 0;
}
.btn--primary:hover { background: var(--cyan-bright); }


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

/* ============================================================
   Hero — accent word + mobile title
   ============================================================ */
.hero-title {
  max-width: 18ch;
}
.hero-br-mobile {
  display: none;
}
.hero-accent-wrap {
  position: relative;
  display: inline-block;
}
.hero-accent {
  display: inline-block;
  color: var(--cyan);
  background: linear-gradient(95deg, #5EE9F2 0%, #F5B547 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
  .hero-accent {
    -webkit-text-fill-color: currentColor;
  }
}

/* ============================================================
   Nav — fixed header, safe-area, mobile scroll
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: max(20px, calc(12px + env(safe-area-inset-top, 0px))) var(--pad-x) 20px;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateZ(0);
  will-change: transform;
  transition:
    background 350ms ease,
    border-color 350ms ease,
    padding 350ms ease,
    backdrop-filter 350ms ease;
}
.nav-header.nav-scrolled,
.nav-header.nav-open {
  padding-top: max(12px, calc(8px + env(safe-area-inset-top, 0px)));
  padding-bottom: 12px;
  background: rgba(8, 23, 41, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
@media (max-width: 860px) {
  .nav-header.nav-scrolled,
  .nav-header.nav-open,
  .nav-header.nav-mobile-solid {
    background: rgba(8, 23, 41, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ============================================================
   WhyUs — sticky scroll section
   ============================================================ */
.why-sticky-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: max(88px, calc(72px + env(safe-area-inset-top, 0px))) var(--pad-x) 24px;
  box-sizing: border-box;
}
.why-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.why-eyebrow {
  margin-bottom: clamp(12px, 2vh, 20px);
  position: relative;
  z-index: 2;
}
.why-stage {
  position: relative;
  min-height: clamp(260px, 46vh, 400px);
  margin-bottom: clamp(12px, 2vh, 20px);
  overflow: hidden;
}
.why-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
  z-index: 1;
}
.why-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 28px;
  max-width: 16ch;
}
.why-pills {
  position: relative;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  justify-content: flex-start;
  gap: 8;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 0;
  align-self: stretch;
}
@media (min-width: 721px) {
  .why-pills {
    justify-content: center;
  }
}
.why-numeral {
  /* decorative background numeral */
}

/* Breakpoints: nav 860px | why 720px | hero/section 760px | pad 540px */
/* z-index: nav 100 > float CTA 80 > why-pills 5 */

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
  .section { padding-top: clamp(64px, 10vh, 96px); padding-bottom: clamp(64px, 10vh, 96px); }
  .hero-title {
    max-width: none;
  }
  .hero-br-mobile {
    display: block;
  }
  .hero-accent {
    color: var(--cyan);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: currentColor;
  }
  .hero-accent-reveal span,
  .hero-accent-reveal span span {
    overflow: visible !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}
@media (max-width: 720px) {
  .why-sticky-panel {
    align-items: stretch;
    padding-top: max(72px, calc(64px + env(safe-area-inset-top, 0px)));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }
  .why-stage {
    min-height: clamp(240px, 44vh, 340px);
    margin-bottom: 16px;
  }
  .why-title {
    font-size: clamp(36px, 10vw, 56px);
  }
  .why-pills {
    justify-content: center;
    padding-bottom: 4px;
  }
  .why-numeral {
    opacity: 0.22 !important;
  }
  .contact-phone-number {
    font-size: clamp(22px, 6.2vw, 32px);
    letter-spacing: -0.02em;
  }
}
@media (max-width: 540px) {
  .contact-phone-number {
    font-size: clamp(20px, 5.8vw, 28px);
  }
  .contact-phone-card {
    gap: 14px !important;
    padding: 14px 18px !important;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hero-accent-reveal span span {
    transform: none !important;
    opacity: 1 !important;
  }
}
@media (max-width: 540px) {
  :root { --pad-x: 18px; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }
  .cookie-banner { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
