@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────
   RESET & VARIABLES
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #1a1a1a;
  --bg2:      #222;
  --bg3:      #2a2a2a;
  --bg4:      #333;
  --text:     #f0ede8;
  --text2:    #a09d98;
  --text3:    #555;
  --accent:   #e05520;
  --accenth:  #f06030;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.13);
  --fs:       'DM Sans', system-ui, sans-serif;
  --fm:       'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #fff; }

/* ─────────────────────────────────────
   DESKTOP NAV
───────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(20,20,20,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(1);
  flex-shrink: 0;
}

.nav-divider {
  width: 1px;
  height: 30px;
  background: var(--border2);
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-brand-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.nav-brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text3);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--accenth); }

/* ─────────────────────────────────────
   MOBILE NAV (top bar — logo only)
───────────────────────────────────── */
.mobile-header { display: none; }

/* ─────────────────────────────────────
   BOTTOM NAV (mobile only)
───────────────────────────────────── */
.bottom-nav { display: none; }

/* ─────────────────────────────────────
   MAIN
───────────────────────────────────── */
main { padding-top: 68px; }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.hero-label {
  font-family: var(--fm);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text2);
  max-width: 440px;
  line-height: 1.65;
  font-weight: 300;
}

.hero-proof {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-proof-bar {
  width: 3px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-proof-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────
   PIPELINE SVG
───────────────────────────────────── */
.hero-graphic svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-primary:hover { background: var(--accenth); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-secondary:hover { border-color: var(--text2); }

.btn-outline {
  background: transparent;
  color: var(--text2);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-outline:hover { color: var(--text); border-color: var(--border2); }

.btn-accent {
  background: rgba(224,85,32,0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(224,85,32,0.25);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-accent:hover { background: rgba(224,85,32,0.2); }

.btn-sm { font-size: 0.78rem; padding: 0.5rem 0.9rem; }

/* ─────────────────────────────────────
   SECTIONS
───────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
.services-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 4rem 2rem;
}

.services-inner { max-width: 1140px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.svc-card {
  background: var(--bg2);
  padding: 2rem 1.75rem;
  transition: background 0.15s;
}
.svc-card:hover { background: var(--bg3); }

.svc-icon {
  width: 40px; height: 40px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.svc-num {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.svc-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.svc-desc {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.6;
  font-weight: 300;
}

/* ─────────────────────────────────────
   FEATURED PROJECT
───────────────────────────────────── */
.featured-wrap {
  border-top: 1px solid var(--border);
}

.featured-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.feat-tag {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feat-title {
  font-size: clamp(1.8rem,3vw,2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feat-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.feat-bullets li {
  font-size: 0.875rem;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 300;
}

.feat-bullets li::before {
  content: '—';
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.feat-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.feat-sidebar {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
}

.feat-sidebar-head {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.feat-sidebar-label {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feat-sidebar-body { padding: 1.25rem; }

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fm);
  font-size: 0.78rem;
  color: var(--text2);
}

.stack-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }

.tag {
  font-family: var(--fm);
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text2);
}

/* ─────────────────────────────────────
   DEMO CARD (homepage + demo page)
───────────────────────────────────── */
.demo-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.demo-card-head {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-card-title {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--text3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-card-body { padding: 1rem; }

textarea.demo-ta {
  width: 100%;
  min-height: 120px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--fm);
  font-size: 0.78rem;
  line-height: 1.65;
  resize: none;
  caret-color: var(--accent);
}
textarea.demo-ta::placeholder { color: var(--text3); }

.demo-card-foot {
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-hint {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--text3);
}

.demo-output {
  min-height: 120px;
  font-family: var(--fm);
  font-size: 0.75rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text3);
}

.demo-status-bar {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg3);
}

.demo-status-txt { font-family: var(--fm); font-size: 0.62rem; color: var(--text3); }
.demo-status-txt.done { color: var(--accent); }

.json-key    { color: #a78bfa; }
.json-string { color: var(--text); }
.json-number { color: var(--accent); }
.json-null   { color: var(--text3); }
.json-bool   { color: var(--accent); }

/* Full demo page grid */
.demo-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0;
}
.demo-page-grid textarea.demo-ta { min-height: 240px; }
.demo-page-grid .demo-output { min-height: 240px; }

.demo-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.demo-chip {
  font-family: var(--fm);
  font-size: 0.68rem;
  padding: 0.28rem 0.7rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.15s;
}
.demo-chip:hover { border-color: var(--accent); color: var(--accent); }

.btn-process {
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s;
}
.btn-process:hover { background: var(--accenth); }
.btn-process:disabled { opacity: 0.4; cursor: not-allowed; }

.loader {
  width: 10px; height: 10px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ─────────────────────────────────────
   WHY SECTION
───────────────────────────────────── */
.why-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 4rem 2rem;
}

.why-inner { max-width: 1140px; margin: 0 auto; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.why-card {
  background: var(--bg2);
  padding: 1.5rem;
  transition: background 0.15s;
}
.why-card:hover { background: var(--bg3); }

.why-icon {
  width: 36px; height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.why-desc {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.55;
  font-weight: 300;
}

/* ─────────────────────────────────────
   CTA BANNER
───────────────────────────────────── */
.cta-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg3);
  padding: 3rem 2rem;
}

.cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.2rem,3vw,1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cta-text p {
  font-size: 0.875rem;
  color: var(--text2);
  margin-top: 0.25rem;
  font-weight: 300;
}

/* ─────────────────────────────────────
   PAGE HEADER
───────────────────────────────────── */
.page-header {
  padding: 5rem 2rem 3.5rem;
  max-width: 1140px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem,5vw,3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-header p {
  font-size: 0.95rem;
  color: var(--text2);
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ─────────────────────────────────────
   PROJECTS
───────────────────────────────────── */
.projects-list { max-width: 1140px; margin: 0 auto; }

.project-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.project-card:hover { background: var(--bg2); }

.project-idx {
  font-family: var(--fm);
  font-size: 0.65rem;
  color: var(--text3);
  margin-bottom: 0.6rem;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 540px;
  font-weight: 300;
}

.project-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.project-bullets li {
  font-size: 0.875rem;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 300;
}

.project-bullets li::before {
  content: '—';
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.project-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.tags-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }

/* ─────────────────────────────────────
   CONTACT + FOOTER
───────────────────────────────────── */
.contact-section {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.contact-sub { font-size: 0.875rem; color: var(--text2); font-weight: 300; }

.contact-email {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  transition: color 0.15s;
}
.contact-email:hover { color: var(--accent); }

.contact-loc { font-size: 0.8rem; color: var(--text3); }

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  background: var(--bg);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.78rem; color: var(--text3); }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: var(--text3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* ─────────────────────────────────────
   ANIMATIONS
───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   SCROLLBAR
───────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ─────────────────────────────────────
   DESKTOP RESPONSIVE (900px)
───────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4rem 2rem 3rem; }
  .hero-graphic { display: none; }
  .featured-inner { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
}

/* ─────────────────────────────────────
   MOBILE (768px and below)
───────────────────────────────────── */
@media (max-width: 768px) {

  /* Hide desktop nav completely */
  .site-nav { display: none; }

  /* ── MOBILE HEADER (logo + tagline, full width) ── */
  .mobile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(26,26,26,0.97);
  }

  .mobile-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: invert(1);
    opacity: 1;
    margin-bottom: 1rem;
  }

  .mobile-brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.3rem;
  }

  .mobile-brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--text3);
  }

  /* ── Main content ── */
  main {
    padding-top: 0 !important;
    padding-bottom: 100px;
  }

  /* ── Hero ── */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2.5rem 1.25rem 2rem;
    gap: 2rem;
  }
  .hero-graphic { display: none; }
  .hero h1 { font-size: 2.4rem; }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--border); }
  .svc-card:last-child { border-bottom: none; }
  .services-wrap { padding: 3rem 1.25rem; }

  /* ── Featured ── */
  .featured-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem; }

  /* ── Projects ── */
  .project-card { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .project-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }

  /* ── Demo ── */
  .demo-page-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 1.25rem; }

  /* ── Why ── */
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-wrap { padding: 3rem 1.25rem; }

  /* ── CTA / Contact ── */
  .cta-inner { flex-direction: column; gap: 1.25rem; }
  .cta-wrap { padding: 2.5rem 1.25rem; }
  .contact-section { flex-direction: column; padding: 3rem 1.25rem; }

  /* ── Page headers ── */
  .page-header { padding: 3rem 1.25rem 2.5rem; }

  /* ─────────────────────────────────────
     FLOATING BOTTOM PILL NAV
  ───────────────────────────────────── */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(22,22,22,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 5px;
    gap: 2px;
    box-shadow:
      0 20px 60px rgba(0,0,0,0.7),
      0 4px 16px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.07);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 18px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s;
    min-width: 58px;
  }

  .bottom-nav-item.active {
    background: var(--accent);
  }

  .bottom-nav-item.active svg { stroke: #fff !important; }
  .bottom-nav-item.active .bn-label { color: #fff !important; }

  .bottom-nav-item svg {
    width: 18px; height: 18px;
    stroke: rgba(255,255,255,0.45);
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: stroke 0.15s;
    display: block;
  }

  .bn-label {
    font-family: var(--fs);
    font-size: 0.52rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.15s;
    display: block;
  }
}

@media (max-width: 420px) {
  .why-grid { grid-template-columns: 1fr; }
  .bottom-nav-item { padding: 9px 13px; min-width: 50px; }
  .mobile-logo { width: 72px; height: 72px; }
}
