/* =========================================================
   Tondak Group — Clean Corporate Stylesheet
   Simple · White · Sans-serif
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --border: #e5e7eb;
  --text: #111111;
  --muted: #555555;
  --accent: #076283;
  --accent-hover: #054d66;
  --success: #0d8a5a;
  --danger: #c62828;
  --radius: 10px;
  --nav-h: 68px;
  --container: 1120px;
  --font: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

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

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - 40px));
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}


.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.loader-logo {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.loader-bar {
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: load 0.9s ease-in-out infinite;
}

.loader-inner p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

/* Hide decorative extras if present */
.cursor-glow,
.blob {
  display: none !important;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}


.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--container), calc(100% - 40px));
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}

.brand-logo-footer {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login-mobile {
  display: none;
}

.login-menu {
  position: relative;
}

.login-menu-trigger {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.login-menu-trigger::-webkit-details-marker {
  display: none;
}

.login-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 4px;
  z-index: 40;
}

.login-menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.login-menu-panel a:hover,
.login-menu-panel a:focus-visible {
  background: var(--bg-soft);
  color: var(--accent);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--bg-soft);
}


.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--border);
}


.btn-ghost:hover {
  background: var(--bg-soft);
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}

.hero-bg {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.brand-lockup {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.hero-line {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--text);
  max-width: 22ch;
}

.lead,
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-top: 14px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-soft);
}

.hero-meta a {
  color: inherit;
  font-weight: 600;
}

.hero-meta a:hover,
.hero-meta a:focus-visible {
  color: var(--accent);
}

.hero-visual {
  width: 100%;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 560;
  min-height: 320px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid #b6d4e3;
  box-shadow: 0 18px 48px rgba(7, 98, 131, 0.16);
  background: #071626;
}

.hero-stage-sky {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, #d9f1ff 0%, #a8ddff 30%, #7cc7f5 52%, #4e9ccd 70%, #274e73 100%),
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.55) 0 12%, transparent 28%),
    linear-gradient(168deg, transparent 64%, rgba(255, 255, 255, 0.2) 64% 65%, transparent 65%),
    linear-gradient(148deg, transparent 58%, rgba(255, 255, 255, 0.14) 58% 59%, transparent 59%);
}

.hero-cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(1px);
  pointer-events: none;
}

.hero-cloud--a {
  width: 120px;
  height: 28px;
  top: 14%;
  left: -10%;
  box-shadow: 36px 10px 0 -4px rgba(255, 255, 255, 0.4), 70px 4px 0 -8px rgba(255, 255, 255, 0.3);
  animation: heroCloudDrift 18s linear infinite;
}

.hero-cloud--b {
  width: 90px;
  height: 22px;
  top: 24%;
  left: 40%;
  opacity: 0.75;
  box-shadow: 28px 8px 0 -4px rgba(255, 255, 255, 0.35);
  animation: heroCloudDrift 26s linear infinite reverse;
}

.hero-ridge {
  position: absolute;
  left: -8%;
  width: 116%;
  bottom: 0;
  pointer-events: none;
}

.hero-ridge--far {
  height: 48%;
  clip-path: polygon(0 100%, 9% 74%, 18% 86%, 30% 56%, 42% 80%, 54% 46%, 66% 78%, 78% 58%, 90% 82%, 100% 66%, 100% 100%);
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0 11%, rgba(255, 255, 255, 0.14) 11% 19%, transparent 19%),
    linear-gradient(to bottom, #597fa1 0%, #2e5375 48%, #1b3955 100%);
  animation: heroRidgeDrift 16s ease-in-out infinite alternate;
}

.hero-ridge--near {
  height: 34%;
  clip-path: polygon(0 100%, 7% 84%, 18% 94%, 28% 70%, 40% 88%, 52% 62%, 63% 84%, 74% 68%, 86% 90%, 100% 74%, 100% 100%);
  background: linear-gradient(to bottom, #27496a 0%, #17324c 65%, #0a1f33 100%);
  animation: heroRidgeDrift 11s ease-in-out infinite alternate-reverse;
}

.hero-float {
  position: absolute;
  z-index: 2;
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(147, 197, 253, 0.55);
  box-shadow: 0 12px 28px rgba(5, 18, 36, 0.18);
  backdrop-filter: blur(4px);
}

.hero-float strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #0c4a6e;
}

.hero-float span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.hero-float--a {
  top: 12%;
  left: 8%;
  animation: heroFloatA 5.5s ease-in-out infinite;
}

.hero-float--b {
  top: 18%;
  right: 8%;
  animation: heroFloatB 6.2s ease-in-out infinite;
}

.hero-float--c {
  bottom: 28%;
  right: 10%;
  animation: heroFloatC 5.8s ease-in-out infinite;
}

.hero-pulse-card {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 10%;
  width: min(58%, 240px);
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(239, 248, 255, 0.94);
  border: 1px solid rgba(147, 197, 253, 0.5);
  box-shadow: 0 14px 34px rgba(5, 18, 36, 0.22);
  backdrop-filter: blur(4px);
  animation: heroPulseIn 0.8s ease both;
}

.hero-pulse-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0c4a6e;
}

.hero-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: heroLivePulse 1.8s ease-out infinite;
}

.hero-bars {
  display: grid;
  gap: 8px;
}

.hero-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.hero-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #076283, #0ea5e9);
  animation: heroBarFill 2.4s ease forwards;
  animation-delay: 0.35s;
}

.hero-bar:nth-child(1)::after { width: var(--fill); animation-delay: 0.35s; }
.hero-bar:nth-child(2)::after { width: var(--fill); animation-delay: 0.55s; }
.hero-bar:nth-child(3)::after { width: var(--fill); animation-delay: 0.75s; }

@keyframes heroCloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(120%); }
}

@keyframes heroRidgeDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-2.5%); }
}

@keyframes heroFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes heroFloatC {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(-4px); }
}

@keyframes heroLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes heroPulseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBarFill {
  from { transform: scaleX(0); transform-origin: left center; }
  to { transform: scaleX(1); transform-origin: left center; }
}

/* Stats */
.stats-strip {
  padding: 0 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card,
.glass,
.service-card,
.compliance-card,
.why-card,
.erp-feature,
.timeline-item,
.apply-form,
.contact-form,
.faq-item,
.logo-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}


.stat-card {
  padding: 20px 16px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-tight {
  padding-top: 8px;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 32px;
  max-width: 640px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.erp-copy h2,
.careers-copy h2,
.contact-info h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 10px;
}

.section-head.center .section-desc {
  margin-inline: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.about-content p {
  color: var(--muted);
}

.about-content p + p {
  margin-top: 12px;
}

.about-content strong {
  color: var(--text);
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.about-pills span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.85rem;
  color: var(--muted);
}


/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.timeline-item {
  padding: 24px 20px;
}

.timeline-year {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Grids */
.services-grid,
.compliance-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card,
.compliance-card,
.why-card,
.erp-feature {
  padding: 22px 20px;
  transition: border-color 0.15s ease;
}

.service-card:hover,
.compliance-card:hover,
.why-card:hover,
.erp-feature:hover {
  border-color: #9bc4d2;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--accent);
  background: #e8f4f7;
  border: 1px solid #cde4eb;
}


.service-card h3,
.compliance-card h3,
.why-card h3,
.erp-feature h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.service-card p,
.compliance-card p,
.why-card p,
.erp-feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.why-num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

/* Clients */
.logo-marquee {
  overflow: hidden;
  margin-top: 8px;
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.logo-chip {
  flex: 0 0 auto;
  min-width: 180px;
  padding: 18px 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ERP / Everest */
.everest-section {
  position: relative;
  overflow: hidden;
  background: #071626;
  color: #f8fcff;
}

.everest-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.everest-sky {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, #d9f1ff 0%, #a8ddff 30%, #7cc7f5 52%, #4e9ccd 70%, #274e73 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.5) 0 14%, transparent 30%),
    linear-gradient(168deg, transparent 64%, rgba(255, 255, 255, 0.2) 64% 65%, transparent 65%),
    linear-gradient(148deg, transparent 58%, rgba(255, 255, 255, 0.14) 58% 59%, transparent 59%),
    linear-gradient(to top, rgba(4, 26, 52, 0.72), rgba(4, 26, 52, 0.3) 45%, transparent 75%);
  background-size: cover;
  background-position: center;
}

.everest-ridge {
  position: absolute;
  left: -8%;
  width: 116%;
  bottom: 0;
}

.everest-ridge--far {
  height: 45%;
  clip-path: polygon(0 100%, 9% 74%, 18% 86%, 30% 56%, 42% 80%, 54% 46%, 66% 78%, 78% 58%, 90% 82%, 100% 66%, 100% 100%);
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0 11%, rgba(255, 255, 255, 0.14) 11% 19%, transparent 19%),
    linear-gradient(to bottom, #597fa1 0%, #2e5375 48%, #1b3955 100%);
  opacity: 0.95;
  animation: everestDrift 18s ease-in-out infinite alternate;
}

.everest-ridge--near {
  height: 32%;
  clip-path: polygon(0 100%, 7% 84%, 18% 94%, 28% 70%, 40% 88%, 52% 62%, 63% 84%, 74% 68%, 86% 90%, 100% 74%, 100% 100%);
  background: linear-gradient(to bottom, #27496a 0%, #17324c 65%, #0a1f33 100%);
  opacity: 0.98;
  animation: everestDrift 12s ease-in-out infinite alternate-reverse;
}

.everest-section .container {
  position: relative;
  z-index: 1;
}

.everest-section .eyebrow {
  color: #e0f2fe;
}

.everest-section .erp-copy h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(4, 26, 52, 0.35);
}

.everest-section .section-desc {
  color: rgba(248, 252, 255, 0.9);
}

.erp-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.erp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.erp-copy .btn {
  margin-top: 20px;
}

.everest-section .erp-feature {
  background: rgba(239, 248, 255, 0.92);
  border-color: rgba(147, 197, 253, 0.45);
  backdrop-filter: blur(4px);
  animation: everestCardIn 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 80ms);
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.everest-section .erp-feature:hover {
  border-color: #7dd3fc;
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(5, 18, 36, 0.28);
}

.everest-section .erp-feature h3 {
  color: #0c4a6e;
}

.everest-section .erp-feature p {
  color: #334155;
}

.everest-section .everest-card {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.95), rgba(14, 165, 233, 0.92) 55%, rgba(2, 132, 199, 0.95));
  border-color: rgba(186, 230, 253, 0.55);
  color: #f8fcff;
}

.everest-section .everest-card h3,
.everest-section .everest-card p {
  color: #f8fcff;
}

@keyframes everestDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-2.5%); }
}

@keyframes everestCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Forms / Careers / Contact */
.careers-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.careers-points {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.careers-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.careers-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.apply-form,
.contact-form {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row.two > div {
  display: grid;
  gap: 6px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}


input:focus,
textarea:focus {
  border-color: var(--accent);
}

input.is-invalid,
textarea.is-invalid {
  border-color: var(--danger);
}

.field-error {
  min-height: 1em;
  font-size: 0.78rem;
  color: var(--danger);
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px dashed #94a3b8;
  background: var(--bg-soft);
  cursor: pointer;
}

.form-success {
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 8px;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q span {
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}

.faq-item.is-open .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-a[hidden] {
  display: none;
}

/* Contact */
.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-list strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-list a,
.contact-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: #fff;
}


.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 20px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36ch;
}

.footer h3 {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.footer ul {
  display: grid;
  gap: 8px;
}

.footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Back to top */
.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}


.back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Reveal — subtle */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid,
  .about-grid,
  .erp-grid,
  .careers-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .compliance-grid,
  .why-grid,
  .erp-features,
  .stats-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .menu-btn { display: grid; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 16px auto;
    display: grid;
    gap: 2px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-actions .btn-sm,
  .nav-actions .login-menu {
    display: none;
  }

  .nav-login-mobile {
    display: block;
    font-weight: 600;
    color: var(--accent) !important;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .services-grid,
  .compliance-grid,
  .why-grid,
  .erp-features,
  .stats-grid,
  .timeline,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-float--c {
    display: none;
  }

  .hero-float {
    min-width: 96px;
    padding: 10px 12px;
  }

  .hero-float strong {
    font-size: 1.1rem;
  }

  .hero-pulse-card {
    width: min(70%, 220px);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .everest-ridge--far,
  .everest-ridge--near,
  .everest-section .erp-feature,
  .hero-cloud,
  .hero-ridge--far,
  .hero-ridge--near,
  .hero-float,
  .hero-pulse-dot,
  .hero-pulse-card,
  .hero-bar::after {
    animation: none;
  }
  .everest-section .erp-feature:hover {
    transform: none;
  }
  .hero-bar::after {
    width: var(--fill);
  }
}
