/* ================================
   VARIABLES & RESET
   ================================ */

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

:root {
  --bg:             #111318;
  --accent:         #2F5DA8;
  --accent-light:   #4577cc;
  --accent-glow:    rgba(47, 93, 168, 0.16);
  --text:           #ffffff;
  --text-muted:     rgba(255, 255, 255, 0.52);
  --text-dim:       rgba(255, 255, 255, 0.28);
  --card-bg:        rgba(255, 255, 255, 0.042);
  --card-bg-hover:  rgba(47, 93, 168, 0.09);
  --border:         rgba(255, 255, 255, 0.08);
  --border-accent:  rgba(47, 93, 168, 0.32);
  --radius:         14px;
  --radius-lg:      22px;
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --transition:     0.32s var(--ease);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ================================
   BACKGROUND GLOW
   ================================ */

.bg-glow {
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(47, 93, 168, 0.13) 0%,
    rgba(47, 93, 168, 0.05) 38%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

/* ================================
   LAYOUT
   ================================ */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* ================================
   TYPOGRAPHY
   ================================ */

.accent {
  color: var(--accent-light);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 28px rgba(47, 93, 168, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 40px rgba(47, 93, 168, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ================================
   NAVBAR
   ================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10001;
  padding: 22px 0;
  transition: padding var(--transition), background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(17, 19, 24, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  flex-shrink: 0;
  z-index: 10002;
  position: relative;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.nav__cta {
  margin-left: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10002;
  position: relative;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Hero-local radial glow — stronger than the global bg-glow */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 960px;
  height: 960px;
  background: radial-gradient(
    circle,
    rgba(47, 93, 168, 0.22) 0%,
    rgba(47, 93, 168, 0.09) 38%,
    transparent 65%
  );
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: 22px 22px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 75%);
}

.hero__content {
  text-align: center;
  max-width: 820px;
  position: relative;
}

/* ── Hero entrance animations ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge { animation: heroFadeUp 0.7s var(--ease) 0.05s both; }
.hero__sub   { animation: heroFadeUp 0.7s var(--ease) 0.38s both; }
.hero__btns  { animation: heroFadeUp 0.7s var(--ease) 0.52s both; }

/* Hero heading — JS splits words; this is the CSS fallback */
.hero__heading { animation: heroFadeUp 0.75s var(--ease) 0.2s both; }

/* Word-by-word reveal (applied by JS) */
@keyframes wordSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__word {
  display: inline-block;
  animation: wordSlideUp 0.6s var(--ease) both;
}

/* Parallax glow layer inside hero */
.hero__parallax-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 860px;
  height: 860px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(47, 93, 168, 0.2) 0%,
    rgba(47, 93, 168, 0.07) 40%,
    transparent 65%
  );
  pointer-events: none;
  will-change: transform;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(47, 93, 168, 0.1);
  border: 1px solid rgba(47, 93, 168, 0.25);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px rgba(69, 119, 204, 0.8);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.hero__heading {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(47, 93, 168, 0.55));
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ================================
   GLASSMORPHISM CARD
   ================================ */

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.28);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--card-bg-hover);
  border-color: rgba(47, 93, 168, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 16px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(47, 93, 168, 0.25),
    0 0 24px rgba(47, 93, 168, 0.3),
    0 0 60px rgba(47, 93, 168, 0.12);
  transform: translateY(-5px);
}

/* ================================
   SERVICES
   ================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  gap: 22px;
  justify-content: center;
}

.cards-grid .glass-card {
  transition:
    transform    0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background   var(--transition),
    border-color var(--transition),
    box-shadow   var(--transition);
}

.cards-grid .glass-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.cards-grid .glass-card {
  padding: 2.25rem 2rem;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(47, 93, 168, 0.12);
  border: 1px solid rgba(47, 93, 168, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-light);
  transition: var(--transition);
}

.glass-card:hover .card-icon {
  background: rgba(47, 93, 168, 0.18);
  border-color: rgba(47, 93, 168, 0.35);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.card-body {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 20px;
}

.card-subs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-sub__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}

.card-sub__body {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ================================
   WHY US
   ================================ */

.why {
  background: rgba(255, 255, 255, 0.012);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why .section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why__item {
  padding: 40px 40px 40px 0;
  border-right: 1px solid var(--border);
}

.why__item:first-child {
  padding-left: 0;
}

.why__item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 40px;
}

.why__item:nth-child(2) {
  padding-left: 40px;
}

.why__num {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 10px;
}

.why__bar {
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.why__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.why__body {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ================================
   BOOKING / CALENDLY
   ================================ */

.booking__widget {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.28);
}

/* ================================
   CONTACT
   ================================ */

.contact__card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
  padding: 3.5rem;
}

.contact__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 12px 0 36px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact__link:hover {
  color: var(--text);
}

.contact__link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(47, 93, 168, 0.1);
  border: 1px solid rgba(47, 93, 168, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact__link:hover .contact__link-icon {
  background: rgba(47, 93, 168, 0.18);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  transition: var(--transition);
  resize: none;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(47, 93, 168, 0.5);
  background: rgba(47, 93, 168, 0.05);
  box-shadow: 0 0 0 3px rgba(47, 93, 168, 0.1);
}

.btn-arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
  position: relative;
  z-index: 1;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer__nav a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  color: var(--text-dim);
}

/* ================================
   SCROLL REVEAL
   ================================ */

.reveal {
  opacity: 0;
  filter: blur(3px);
  transition:
    opacity   0.8s var(--ease),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter    0.75s var(--ease);
}

/* Perus alkutila — ei käytössä jos alla on spesifimpi sääntö */
.reveal:not(.visible) {
  transform: translateY(60px);
}

.reveal.visible {
  opacity: 1;
  transform: none !important;
  filter: none;
  clip-path: none !important;
}

/* Section label — wipe oikealta vasemmalle */
.section-label.reveal {
  transition:
    opacity   0.55s var(--ease),
    transform 0.55s var(--ease),
    clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter    0.55s var(--ease);
}
.section-label.reveal:not(.visible) {
  transform: translateX(-16px);
  clip-path: inset(0 100% 0 0);
  filter: none;
}

/* Section title */
.section-title.reveal {
  transition:
    opacity   0.9s var(--ease),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter    0.9s var(--ease);
}
.section-title.reveal:not(.visible) {
  transform: translateY(50px);
}

/* Service kortit — vasemmalta ja oikealta */
.cards-grid .glass-card.reveal:not(.visible):nth-child(1) {
  transform: translateX(-70px) translateY(30px) scale(0.96);
}
.cards-grid .glass-card.reveal:not(.visible):nth-child(2) {
  transform: translateX(70px) translateY(30px) scale(0.96);
}

/* Why-itemit — vasemmalta, alhaalta, oikealta */
.why__item.reveal:not(.visible):nth-child(1) {
  transform: translateX(-70px) translateY(20px);
}
.why__item.reveal:not(.visible):nth-child(2) {
  transform: translateY(70px);
}
.why__item.reveal:not(.visible):nth-child(3) {
  transform: translateX(70px) translateY(20px);
}

/* Yhteydenotto-kortti */
.contact__card.reveal {
  transition:
    opacity   0.85s var(--ease),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter    0.85s var(--ease);
}
.contact__card.reveal:not(.visible) {
  transform: translateY(50px) scale(0.97);
}

/* Stagger */
.cards-grid .glass-card.reveal:nth-child(2) { transition-delay: 0.13s; }
.why__grid .why__item.reveal:nth-child(2)   { transition-delay: 0.13s; }
.why__grid .why__item.reveal:nth-child(3)   { transition-delay: 0.26s; }

/* ================================
   VISUAL ATMOSPHERE
   ================================ */

/* ── Film grain ── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grainShift 0.18s steps(1) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  15%  { transform: translate(-4%, -9%); }
  30%  { transform: translate(-12%, 5%); }
  45%  { transform: translate(8%, -18%); }
  60%  { transform: translate(-6%, 22%); }
  75%  { transform: translate(14%, 4%); }
  90%  { transform: translate(-3%, -14%); }
  100% { transform: translate(0, 0); }
}

/* ── Edge vignette ── */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(
    ellipse 85% 75% at 50% 50%,
    transparent 40%,
    rgba(6, 8, 13, 0.75) 100%
  );
}

/* ── Hero geometric rings ── */
.hero__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47, 93, 168, 0.25);
}

.hero__ring--1 {
  width: 680px;
  height: 680px;
  top: 50%;
  left: -220px;
  transform: translateY(-50%);
  animation: ringDrift1 28s ease-in-out infinite alternate;
}

.hero__ring--2 {
  width: 460px;
  height: 460px;
  top: -80px;
  right: -120px;
  border-color: rgba(47, 93, 168, 0.18);
  animation: ringDrift2 20s ease-in-out infinite alternate;
}

.hero__ring--3 {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: 10%;
  border-color: rgba(47, 93, 168, 0.14);
  animation: ringDrift3 16s ease-in-out infinite alternate;
}

@keyframes ringDrift1 {
  from { transform: translateY(-50%) scale(1) rotate(0deg); }
  to   { transform: translateY(-44%) scale(1.05) rotate(12deg); }
}
@keyframes ringDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-18px, 28px) scale(0.94); }
}
@keyframes ringDrift3 {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(12px, -20px) rotate(-10deg); }
}

/* ── Hero corner crosshairs ── */
.hero__crosshair {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  opacity: 0.5;
}

.hero__crosshair::before,
.hero__crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent-light);
}

.hero__crosshair::before { width: 1px; height: 100%; left: 50%; }
.hero__crosshair::after  { width: 100%; height: 1px; top: 50%; }

.hero__crosshair--tl { top: 60px; left: 40px; }
.hero__crosshair--br { bottom: 80px; right: 40px; }

/* ── Ghost numbers in Why section ── */
.why__item {
  position: relative;
}

.why__item::after {
  content: attr(data-num);
  position: absolute;
  bottom: -12px;
  right: 0;
  font-size: 6.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(47, 93, 168, 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.why__num,
.why__bar,
.why__title,
.why__body {
  position: relative;
  z-index: 1;
}

/* ── Section label dash accent ── */
.section-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-header .section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

/* ── Contact card top-edge blue accent ── */
.contact__card {
  position: relative;
}

.contact__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 3.5rem;
  right: 3.5rem;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(47, 93, 168, 1) 25%,
    rgba(69, 119, 204, 1) 50%,
    rgba(47, 93, 168, 1) 75%,
    transparent
  );
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(47, 93, 168, 0.6);
}

/* ── Services section top-right corner mark ── */
.services::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 24px;
  height: 24px;
  border-top: 1.5px solid rgba(47, 93, 168, 0.5);
  border-right: 1.5px solid rgba(47, 93, 168, 0.5);
  pointer-events: none;
}

/* ── Why section bottom-left corner mark ── */
.why::after {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 24px;
  height: 24px;
  border-bottom: 1.5px solid rgba(47, 93, 168, 0.5);
  border-left: 1.5px solid rgba(47, 93, 168, 0.5);
  pointer-events: none;
}

/* ================================
   RESPONSIVE — TABLET
   ================================ */

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cards-grid .glass-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 1.75rem;
  }

  .card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why__item {
    padding: 28px 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .why__item:last-child {
    border-bottom: none;
    padding-left: 0;
  }

  .why__item:nth-child(2) {
    padding-left: 0;
  }

  .contact__card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 2.5rem;
  }
}

/* ================================
   RESPONSIVE — MOBILE
   ================================ */

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(17, 19, 24, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 10000;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 28px;
  }

  .nav__cta {
    margin-left: 0;
    padding: 14px 36px;
    font-size: 1rem;
    margin-top: 8px;
  }

  .nav__burger {
    display: flex;
  }

  /* Hero */
  .hero__heading {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__top,
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__btns {
    flex-direction: column;
    width: 100%;
  }

  .hero__btns .btn {
    width: 100%;
    justify-content: center;
  }

  .contact__card {
    padding: 1.75rem;
  }
}
