/* ===========================================================
   JAS NUTRI-FIT - COMPLETE CORE STYLESHEET
   =========================================================== */
:root {
  --jas-orange: #E35710;
  --jas-orange-dark: #BE470B;
  --jas-ink: #1E1E1E;
  --jas-body: #5f5f5f;
  --jas-cardgray: #7c7c7c;
  --jas-soft: #f4f3f2;
  --jas-line: #e6e3e0;
  --jas-bg: #ffffff;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--jas-ink);
  background: var(--jas-bg);
  line-height: 1.6;
  font-size: 16px;
}

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

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

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

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  border: 0;
  border-radius: 8px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s, transform .15s, color .2s;
  font-size: .95rem;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--jas-orange);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: var(--jas-orange-dark);
  transform: translateY(-1px);
}

.btn-light {
  background: #ffffff;
  color: var(--jas-ink) !important;
}

.btn-light:hover {
  background: #f0f0f0;
}

.btn-ghost-light {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, .6);
}

.btn-ghost-light:hover {
  background: #ffffff;
  color: var(--jas-ink) !important;
  border-color: #ffffff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--jas-ink) !important;
  border: 1.5px solid var(--jas-ink);
}

.btn-ghost-dark:hover {
  background: var(--jas-ink);
  color: #ffffff !important;
}

.btn-sm {
  padding: 7px 16px;
  font-size: .85rem;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* ---------- SECTION HEADERS & BADGES ---------- */
.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--jas-orange);
  margin-bottom: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: .5px;
  position: relative;
  padding-bottom: 10px;
  color: var(--jas-ink);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--jas-orange);
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.link-pill {
  font-weight: 600;
  color: var(--jas-orange);
  border: 1.5px solid var(--jas-orange);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.link-pill:hover {
  background: var(--jas-orange);
  color: #ffffff;
}

.strip {
  text-align: center;
  font-style: italic;
  color: var(--jas-orange);
  font-weight: 600;
  padding: 22px;
  background: var(--jas-soft);
}

.strip.tall {
  padding: 60px 22px;
  background: #ededed;
}

/* ===========================================================
   HEADER & NAVIGATION
   =========================================================== */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.topbar {
  background: var(--jas-orange);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 4px 0;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #ffffff;
  font-size: 0.8rem;
}

.searchbox {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 2px 4px 2px 12px;
  width: 220px;
  height: 28px;
}

.searchbox input {
  border: 0;
  outline: 0;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--jas-ink);
  background: transparent;
}

.searchbox button {
  border: 0;
  background: var(--jas-orange);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.nav {
  position: relative;
  background: rgba(14, 18, 24, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

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

.nav-links>a,
.nav-dropdown>a {
  color: #ffffff !important;
  opacity: 0.88;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links>a:hover,
.nav-dropdown>a:hover,
.nav-links>a.active,
.nav-dropdown>a.active {
  color: #ffffff !important;
  opacity: 1;
}

.has-caret::after {
  content: " \25BE";
  font-size: 0.7em;
  opacity: 0.7;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 1100;
}

@media (min-width: 961px) {
  .nav-dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--jas-orange);
  color: #ffffff !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-login {
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-login:hover {
  background: #ffffff;
  color: var(--jas-ink) !important;
}

/* ===========================================================
   HERO SECTION (FORCED WHITE TEXT FIX)
   =========================================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: #ffffff;
  background: #0e1218;
  background-image: linear-gradient(90deg, rgba(10, 12, 16, .95) 0%, rgba(10, 12, 16, .78) 42%, rgba(10, 12, 16, .30) 100%), url('/images/hero.webp');
  background-size: cover;
  background-position: right center;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 5;
}

.hero-content .hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jas-orange) !important;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.0;
  text-transform: uppercase;
  color: #ffffff !important;
  margin-bottom: 16px;
}

.hero-content h1 .accent {
  color: var(--jas-orange) !important;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.hero-dots i:first-child {
  background: var(--jas-orange);
}

.hero-social {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-social a {
  color: #ffffff;
  opacity: .8;
  font-size: 1.05rem;
  transition: opacity .2s, color .2s;
}

.hero-social a:hover {
  opacity: 1;
  color: var(--jas-orange);
}

/* ===========================================================
   PAGE CONTENT & CARDS
   =========================================================== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.card {
  border: 1px solid var(--jas-line);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.card-img {
  height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #cfcbc7;
}

.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 55%);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--jas-orange);
  color: #ffffff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--jas-ink);
}

.card-body p {
  color: var(--jas-body);
  font-size: .94rem;
  flex: 1;
}

.card-link {
  color: var(--jas-orange);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.split.reverse .split-media {
  order: -1;
}

.panel {
  background: var(--jas-cardgray);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
}

.panel p {
  font-size: .96rem;
  opacity: .95;
  color: #ffffff;
}

.split-media {
  border-radius: var(--radius);
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #cfcbc7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.tag {
  background: rgba(255, 255, 255, .9);
  color: var(--jas-ink);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jas-orange);
}

.reviews-section {
  background: var(--jas-soft);
}

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.review {
  background: var(--jas-orange);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.review .quote {
  font-style: italic;
  margin-bottom: 18px;
}

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

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
}

.stars {
  letter-spacing: 2px;
  color: #ffd27a;
}

.job {
  border: 1px solid var(--jas-line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

.job h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--jas-ink);
}

.job .exp {
  color: var(--jas-orange);
  font-weight: 700;
  font-size: .85rem;
}

.job p {
  color: var(--jas-body);
  font-size: .88rem;
  flex: 1;
}

.about-banner {
  position: relative;
  color: #ffffff;
  text-align: center;
  padding: 90px 24px;
  background-image: linear-gradient(rgba(20, 20, 20, .55), rgba(20, 20, 20, .55)), url('/images/about.webp');
  background-size: cover;
  background-position: center;
}

.about-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

/* ===========================================================
   SAFE REVEALS (CONTENT ALWAYS VISIBLE)
   =========================================================== */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* ===========================================================
   RESPONSIVE MEDIA QUERIES
   =========================================================== */
@media (max-width: 960px) {

  .cards-3,
  .cards-4,
  .split,
  .reviews {
    grid-template-columns: 1fr;
  }

  .hero-social,
  .hero-dots {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 28px;
    background: rgba(14, 18, 24, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links>a,
  .nav-dropdown>a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
  }
}