/* =============================================
   KINICH IT LABS — STYLES
   Teal: #4AB9B7  |  Gold: #F6C546  |  BG: #020202
   Fonts: Space Grotesk + Manrope
============================================= */

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

:root {
  --teal:    #4AB9B7;
  --teal-dk: #096C6A;
  --gold:    #F6C546;
  --gold-dk: #DD8716;
  --bg:      #020202;
  --bgalt:   #101010;
  --bgcard:  #0a1414;
  --border:  #332C27;
  --text:    #D2D2CF;
  --muted:   #B6B6B3;
  --white:   #FFFFFF;
  --maxw:    1280px;
  --ease:    0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; color: var(--white); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* helpers */
.text-gold { color: var(--gold); }

/* label pill */
.label-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: var(--bgalt);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  box-shadow: 0 -1px 1px rgba(255,255,255,0.25);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* section header block */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 56px;
}
.sec-title {
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.1;
}
.sec-sub {
  font-size: 18px;
  color: var(--text);
  max-width: 520px;
}

/* ---- BUTTONS ---- */
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  background: linear-gradient(70deg, var(--teal-dk) 0%, var(--teal) 70%);
  color: #042C29;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(255,255,255,0.15);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  line-height: 1;
}
.btn-teal:hover {
  background: linear-gradient(70deg, var(--gold) 0%, var(--gold-dk) 70%);
  color: var(--bg);
  transform: translateX(4px);
  box-shadow: 0 4px 36px rgba(255,255,255,0.25);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  background: var(--bg);
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(255,255,255,0.1);
  transition: background var(--ease), color var(--ease), transform var(--ease);
  line-height: 1;
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: translateX(4px);
}


/* ================================================
   HEADER
================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background var(--ease);
}
.site-header.scrolled {
  background: rgba(2,2,2,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51,44,39,0.5);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo img { height: 44px; width: auto; }
.header-logo:hover { opacity: 0.85; }

/* Nav pill */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  background: rgba(14,14,14,0.88);
  border: 1px solid rgba(60,55,50,0.8);
  border-radius: 999px;
  padding: 6px 8px;
  gap: 2px;
  backdrop-filter: blur(10px);
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 999px;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.chevron {
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform var(--ease);
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
  box-shadow: 0 24px 48px rgba(0,0,0,0.65);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
  transition: color var(--ease), background var(--ease);
}
.dropdown a:hover { color: var(--teal); background: rgba(74,185,183,0.08); }

/* Header CTA */
.header-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--teal);
  color: #042C29;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  transition: background var(--ease), transform var(--ease);
}
.header-cta:hover { background: var(--gold); color: var(--bg); transform: translateX(2px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}


/* ================================================
   HERO — full-bleed bg, ALL content centered
================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background: the large abstract 3D wave image */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero-bg.webp') center center / cover no-repeat;
  z-index: 0;
}
/* subtle dark overlay so text pops */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,2,2,0.35) 0%, rgba(2,2,2,0.55) 100%);
}

/* All hero content: center column */
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 900px;
  padding: 120px 40px 80px;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,16,16,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 5px 14px 5px 6px;
  backdrop-filter: blur(8px);
}
.badge-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: linear-gradient(120deg, var(--white), var(--gold));
  color: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 999px;
}
.badge-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* Hero H1 — large, white fading to gold, ONE line */
.hero-title {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.0;
  /* white → gold gradient */
  background: linear-gradient(135deg, var(--white) 0%, var(--white) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.55;
  max-width: 620px;
  opacity: 0.92;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ================================================
   TRUST SECTION
================================================ */
.trust {
  padding: 100px 0 120px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* Top: centered label + big text + button */
.trust-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  margin-bottom: 80px;
}

.trust-quote {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.2;
  color: var(--white);
  max-width: 820px;
}

/* Bottom: image left + 2×2 grid right */
.trust-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-img-col { display: flex; align-items: center; justify-content: center; }
.trust-3d-img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  object-fit: cover;
}

/* 2×2 grid with teal border dividers */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}
.trust-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--ease);
}
.trust-cell:hover { background: rgba(74,185,183,0.04); }
.trust-icon { display: block; flex-shrink: 0; }
.trust-cell h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.3px; }
.trust-cell p  { font-size: 15px; color: var(--text); line-height: 1.6; }


/* ================================================
   SERVICES
================================================ */
.services { padding: 80px 0 120px; }

/* 3-column grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}

/* Card: dark bg with wave image at right/bottom */
.svc-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(74,185,183,0.25);
  background-color: var(--bgcard);
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center right;
  overflow: hidden;
  min-height: 260px;
  transition: border-color var(--ease), transform var(--ease);
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

/* dark gradient overlay — text always legible */
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(10,20,20,0.92) 45%, rgba(10,20,20,0.25) 100%);
  border-radius: inherit;
  pointer-events: none;
}

.svc-inner {
  position: relative;
  z-index: 1;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* Teal circle icon */
.svc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74,185,183,0.14);
  border: 1px solid rgba(74,185,183,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.svc-card:hover .svc-icon { background: rgba(74,185,183,0.24); }

.svc-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; }
.svc-card p  { font-size: 15px; color: var(--text); line-height: 1.6; }

/* Ready row */
.ready-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 20px;
}
.ready-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  color: var(--white);
}


/* ================================================
   WHY CHOOSE US
================================================ */
.why { padding: 60px 0 120px; }
.why-h2 { max-width: 680px; margin: 0 auto; text-align: center; }

/* Bento layout */
.bento-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.bento-row--1 { grid-template-columns: 380px 1fr; }
.bento-row--2 { grid-template-columns: 1fr 360px; margin-bottom: 0; }

/* Base cell */
.bento-cell {
  border-radius: 20px;
  border: 1px solid rgba(50,44,40,0.9);
  overflow: hidden;
  background-color: #080d0d;
  position: relative;
  min-height: 320px;
}

/* --- Cell A: photo card --- */
.bento-cell--photo {
  display: flex;
  flex-direction: column;
}
.bento-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.bento-photo-label {
  flex: 1;
  padding: 20px 24px 24px;
  background: #0d1111;
}
.bento-photo-label h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.bento-photo-label p  { font-size: 15px; color: var(--text); }

/* --- Cell B: Lower Dev Costs --- */
.bento-cell--lower {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 0;
}
.bento-cell--lower::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,13,13,0.88) 40%, rgba(8,13,13,0.2) 100%);
  pointer-events: none;
}
.bento-text { position: relative; z-index: 1; }
.bento-text h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.bento-text p  { font-size: 15px; color: var(--text); }

/* App UI mock */
.app-wrap { position: relative; z-index: 1; margin-top: 20px; }
.app-ui {
  display: flex;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom: none;
  font-size: 11px;
  font-family: 'Manrope', sans-serif;
}

.app-sidebar {
  width: 120px;
  flex-shrink: 0;
  background: #111;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.app-logo { padding: 0 4px 6px; }
.app-create {
  background: #fff;
  color: #111;
  border-radius: 20px;
  padding: 5px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 6px;
  cursor: pointer;
}
.app-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  cursor: pointer;
}
.app-nav.active { background: rgba(255,255,255,0.1); color: var(--white); }

.app-main {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.app-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.app-greeting small { display: block; font-size: 9px; color: rgba(255,255,255,0.35); }
.app-greeting strong { font-size: 13px; color: var(--white); }
.app-badges {
  display: flex;
  gap: 8px;
  font-size: 9px;
  color: rgba(255,255,255,0.35);
}
.app-tasks { display: flex; flex-direction: column; gap: 2px; }
.task-head {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 3px;
}
.task-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* --- Cell C: Scalable Architecture --- */
.bento-cell--scalable {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 0;
  justify-content: space-between;
}
.bento-cell--scalable::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,13,13,0.88) 40%, rgba(8,13,13,0.25) 100%);
  pointer-events: none;
}
.scalable-img-wrap {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.scalable-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px 12px 0 0;
}

/* --- Cell D: 3x Faster --- */
.bento-cell--faster {
  display: flex;
  flex-direction: column;
  background: #080d0d;
}

/* 2×2 stats grid at top */
.faster-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}
.stat-tile {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-tile:nth-child(2n) { border-right: none; }
.stat-tile:nth-child(3),
.stat-tile:nth-child(4) { border-bottom: none; }

.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-l {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.32);
}

/* 3x label at bottom */
.faster-label {
  padding: 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faster-label h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.faster-label p  { font-size: 14px; color: var(--text); line-height: 1.5; }


/* ================================================
   KINICH CAN HELP
================================================ */
.help {
  padding: 80px 0;
  overflow: hidden;
}
.help-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.help-rays { width: 36px; height: auto; flex-shrink: 0; }

.help-static {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Rotating slot */
.help-slot {
  position: relative;
  display: inline-block;
  min-width: 300px;
  height: 1.2em;
}
.help-word {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--gold);
  font-style: italic;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.help-word.active {
  opacity: 1;
  transform: translateY(0);
}
.help-word.exit {
  opacity: 0;
  transform: translateY(-10px);
}


/* ================================================
   FOOTER
================================================ */
.footer {
  position: relative;
  background-color: var(--bg);
  border-top: 1px solid rgba(51,44,39,0.6);
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  background: url('footer-bg.webp') bottom center / cover no-repeat;
  z-index: 0;
  opacity: 0.65;
}

/* Horizontal nav links — centered */
.footer-links {
  position: relative;
  z-index: 1;
  padding: 64px 0 40px;
}
.footer-links-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-links-inner a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  transition: color var(--ease);
}
.footer-links-inner a:hover { color: var(--teal); }

/* Bottom bar: logo | copyright | LinkedIn */
.footer-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(51,44,39,0.5);
  padding: 22px 0;
}
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo img { height: 46px; width: auto; }
.footer-copy {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.footer-copy a { color: var(--muted); transition: color var(--ease); }
.footer-copy a:hover { color: var(--teal); }
.footer-li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--white);
  transition: border-color var(--ease), color var(--ease);
  flex-shrink: 0;
}
.footer-li:hover { border-color: var(--teal); color: var(--teal); }


/* ================================================
   CONTACT POPUP
================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.open { opacity: 1; visibility: visible; }

.popup {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: #0e1414;
  border: 1px solid rgba(74,185,183,0.25);
  border-radius: 20px;
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.popup-overlay.open .popup { transform: translateY(0) scale(1); }

/* left image panel */
.popup-media {
  position: relative;
}
.popup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--ease), color var(--ease);
}
.popup-close:hover { background: rgba(255,255,255,0.14); color: var(--teal); }

.popup-inner {
  position: relative;
  z-index: 1;
  padding: 44px 44px 40px;
  overflow-y: auto;
  text-align: center;
}
.popup-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.popup-inner > p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 26px;
  line-height: 1.6;
}

.popup-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-group { display: flex; flex-direction: column; gap: 7px; }
.pf-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.pf-req { color: var(--orange); }
.pf-group input,
.pf-group select,
.pf-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.pf-group input::placeholder,
.pf-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.pf-group input:focus,
.pf-group select:focus,
.pf-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(74,185,183,0.12);
}
.pf-group select {
  color: var(--text);
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B6B6B3' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  cursor: pointer;
}
.pf-group select option { background: #0d0d0d; }
.pf-group textarea { resize: vertical; }
.popup-submit { align-self: flex-start; margin-top: 4px; }


/* ================================================
   SCROLL-TO-TOP
================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal);
  color: #042C29;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  box-shadow: 0 4px 16px rgba(74,185,183,0.4);
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); }


/* ================================================
   SCROLLBAR
================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #252525; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }


/* ================================================
   FADE-IN ANIMATION (JS adds .visible)
================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }


/* ================================================
   TABLET  ≤ 1180px
================================================ */
@media (max-width: 1180px) {
  .container { padding: 0 28px; }
  .header-inner { padding: 0 28px; }
  .nav-link { padding: 7px 10px; font-size: 13px; }

  /* Trust bottom: stack */
  .trust { padding-left: 28px; padding-right: 28px; }
  .trust-bottom { grid-template-columns: 1fr; gap: 40px; }
  .trust-3d-img { max-width: 400px; margin: 0 auto; }

  /* Services: 2 cols */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why bento: single column */
  .bento-row--1,
  .bento-row--2 { grid-template-columns: 1fr; }

  /* Help */
  .help-inner { padding: 0 28px; }
}


/* ================================================
   MOBILE  ≤ 767px
================================================ */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header-inner { padding: 0 18px; height: 64px; }

  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Open mobile nav */
  .main-nav.open {
    display: flex;
    position: fixed;
    inset: 64px 0 0;
    background: rgba(2,2,2,0.97);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    padding: 20px 18px;
    z-index: 998;
  }
  .main-nav.open .nav-list {
    flex-direction: column;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
    gap: 2px;
  }
  .main-nav.open .nav-item { width: 100%; }
  .main-nav.open .nav-link {
    border-radius: 10px;
    font-size: 17px;
    padding: 12px 14px;
    width: 100%;
    justify-content: space-between;
  }
  .main-nav.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 4px 16px;
  }
  .main-nav.open .dropdown a { font-size: 15px; padding: 9px 12px; }

  .hero-center { padding: 80px 20px 60px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-teal, .btn-dark { width: 100%; justify-content: center; }

  .trust { padding: 60px 18px; }
  .trust-quote { font-size: 28px; }
  .trust-grid { grid-template-columns: 1fr; border: none; border-top: 1px solid var(--teal); }
  .trust-cell { padding: 28px 4px; border-right: none; }

  .services { padding: 48px 0 80px; }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .ready-row { flex-direction: column; gap: 16px; }

  .why { padding: 40px 0 80px; }

  .help-inner { flex-wrap: wrap; padding: 0 18px; }
  .help-static, .help-word { font-size: 22px; }
  .help-slot { min-width: auto; width: 100%; }

  .footer-links-inner { gap: 20px; }
  .footer-links-inner a { font-size: 14px; }
  .footer-bar-inner { flex-direction: column; gap: 12px; text-align: center; }

  .popup { grid-template-columns: 1fr; }
  .popup-media { display: none; }
  .popup-inner { padding: 32px 24px 28px; }
  .pf-row { grid-template-columns: 1fr; }

  .scroll-top { bottom: 16px; right: 16px; }
}
