:root {
  --ink: #102117;
  --muted: #3d5348;
  --paper: #f4f1ea;
  --white: #ffffff;
  --green: #0f6b45;
  --forest: #0c3d2c;
  --bar: #102117;
  --gold: #f3d48a;
  --line: #d9e2da;
  --wa: #25d366;
  --wa-ink: #042416;
  --shadow: 0 8px 20px rgba(16, 33, 23, 0.12);
  --font: "Noto Sans", "Segoe UI", "Nirmala UI", "Kohinoor Devanagari", sans-serif;
  --font-hi: "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Noto Sans", sans-serif;
  --font-kn: "Noto Sans Kannada", "Nirmala UI", "Kannada MN", "Noto Sans", sans-serif;
  --font-ta: "Noto Sans Tamil", "Nirmala UI", "Tamil MN", "Noto Sans", sans-serif;
  --font-te: "Noto Sans Telugu", "Nirmala UI", "Telugu MN", "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.fj-home {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.35;
  overflow-x: hidden;
  padding-bottom: calc(5.6rem + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}

body.lang-hi { font-family: var(--font-hi); }
body.lang-kn { font-family: var(--font-kn); }
body.lang-ta { font-family: var(--font-ta); }
body.lang-te { font-family: var(--font-te); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, a { touch-action: manipulation; }
button { font: inherit; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  min-height: 56px;
}

.skip:focus { transform: none; }

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

.frame {
  width: min(440px, 100%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 234, 0.96);
  padding: 0.35rem 0.75rem 0.45rem;
  border-bottom: 1px solid var(--line);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 56px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand span { white-space: nowrap; }

.lang {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.15rem;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lang::-webkit-scrollbar { display: none; }

.lang button {
  flex: 1 0 auto;
  min-height: 56px;
  min-width: 56px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.3rem 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
}

.lang button.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  height: 48vh;
  max-height: 460px;
  overflow: hidden;
  background: var(--forest);
  color: #f7fbf8;
}

.hero__track {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero__slide.is-on {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero__slide--team .hero__img {
  object-position: center 36%;
}

.hero__persona {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 56px;
  max-width: calc(100% - 1.4rem);
  padding: 0.28rem 0.8rem 0.28rem 0.28rem;
  border-radius: 16px;
  background: rgba(16, 33, 23, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.hero__persona-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.hero__persona-icon svg { width: 26px; height: 26px; }

.hero__persona-text { min-width: 0; }

.hero__persona-text strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 800;
}

.hero__local {
  display: block;
  margin-top: 0.05rem;
  color: #e7f6ee;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 22, 14, 0.94) 0%, rgba(6, 22, 14, 0.72) 28%, rgba(6, 22, 14, 0.28) 52%, rgba(6, 22, 14, 0.08) 100%);
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0.85rem 0.9rem 0.7rem;
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0.2rem;
}

.hero__dots button {
  flex: 1 1 0;
  max-width: 48px;
  min-width: 36px;
  height: 44px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hero__dots button::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__dots button.is-on::after {
  width: 22px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}

.kicker {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: #3a2a08;
  font-size: 1rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.5rem, 12vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

body.lang-hi .hero h1,
body.lang-kn .hero h1,
body.lang-ta .hero h1,
body.lang-te .hero h1 {
  letter-spacing: 0;
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.12;
}

.hero__sub {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 72px;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: var(--wa);
  color: var(--wa-ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.btn-wa:active { transform: translateY(1px); }

.btn-wa__icon { width: 34px; height: 34px; flex: 0 0 auto; }

.header-wa {
  min-height: 56px;
  min-width: 56px;
  width: auto;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: none;
  gap: 0.4rem;
}

.header-wa .btn-wa__icon { width: 26px; height: 26px; }

.how {
  padding: 0.85rem 0.55rem 0.35rem;
}

.how__list {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 0;
}

.how__list li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
}

.how__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -7px;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--forest);
  border-right: 3px solid var(--forest);
  transform: rotate(45deg);
}

.how__mark {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--white);
  color: var(--forest);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
}

.how__mark svg { width: 30px; height: 30px; }

.how__n {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.band {
  padding: 0.85rem 0.75rem 0.2rem;
}

.band h2 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.jobs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.job {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--bar);
  box-shadow: var(--shadow);
}

.job:active { transform: scale(0.985); }

.job__photo {
  width: 100%;
  height: 118px;
  object-fit: cover;
  background: #d5ddd6;
}

.job__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 72px;
  padding: 0.45rem 0.5rem 0.55rem;
  background: var(--bar);
}

.job__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.job__icon svg { width: 26px; height: 26px; }

.job__text { min-width: 0; display: block; }

.job__text strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 800;
}

.job__hint {
  display: block;
  margin-top: 0.08rem;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.job__local {
  display: block;
  margin-top: 0.08rem;
  color: #e7f6ee;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.job--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 156px;
}

.job--lead .job__photo {
  height: 100%;
  min-height: 156px;
}

.job--lead .job__text strong { font-size: 1.28rem; }
.job--lead .job__icon { width: 48px; height: 48px; }
.job--lead .job__icon svg { width: 28px; height: 28px; }
.job--lead .job__bar { padding-right: 0.7rem; }

.job:not(.job--lead) { position: relative; }

.job:not(.job--lead) .job__icon {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.job:not(.job--lead) .job__bar {
  display: block;
  min-height: 64px;
  padding: 0.55rem 0.65rem 0.65rem;
}

.job:not(.job--lead) .job__text strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.note {
  margin: 0.85rem 0.9rem 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  padding: 1.1rem 0.9rem 0.6rem;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer p { margin: 0 0 0.65rem; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 56px;
  min-width: 56px;
  padding: 0 0.85rem;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.icon-btn svg { width: 26px; height: 26px; flex: 0 0 auto; }

.icon-btn--wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }

.privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  margin-top: 0.15rem;
  font-weight: 800;
  color: var(--forest);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(244, 241, 234, 0.96);
  border-top: 1px solid var(--line);
}

.dock .btn-wa { box-shadow: none; min-height: 64px; }

.dock__call {
  width: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 18px;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.dock__call svg { width: 30px; height: 30px; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #e0b15a;
  outline-offset: 3px;
}

@media (max-width: 359px) {
  .header-wa span { 
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .header-wa { width: 56px; padding: 0; }
  .job__text strong { font-size: 1rem; }
}

@media (hover: hover) and (pointer: fine) {
  .job:hover { transform: translateY(-2px); }
}

@media (min-width: 960px) {
  body.fj-home {
    background:
      radial-gradient(circle at 8% 0%, #e5f3ea, transparent 34%),
      #e6eee8;
    padding-bottom: 2.5rem;
  }

  .frame {
    width: min(1080px, calc(100% - 2.5rem));
    padding-top: 0.8rem;
  }

  .topbar {
    border: 1px solid var(--line);
    border-radius: 20px;
    margin-bottom: 0.8rem;
  }

  .topbar__row { align-items: center; }
  .lang { margin: 0; justify-content: flex-end; }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0.8rem;
  }
  .topbar__row { flex: 0 0 auto; }
  .lang { flex: 0 0 auto; }

  .hero {
    height: 520px;
    max-height: none;
    border-radius: 28px;
  }

  .hero__copy { padding: 2rem; max-width: 640px; }
  .hero .btn-wa { max-width: 420px; }

  .how { padding: 1.1rem 0 0.2rem; }
  .how__list { max-width: 720px; margin: 0 auto; }
  .how__list li { font-size: 1.15rem; }

  .band { padding: 1.2rem 0 0.4rem; }
  .band h2 { font-size: 2rem; }

  .jobs { grid-template-columns: repeat(12, 1fr); gap: 0.85rem; }

  .job { grid-column: span 3; }

  .job--lead {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .job--lead .job__photo,
  .job__photo { height: 168px; min-height: 0; }

  .job--lead .job__text strong { font-size: 1.2rem; }

  .note, .site-footer { padding-left: 0.15rem; padding-right: 0.15rem; margin-left: 0; margin-right: 0; }

  .dock { display: none; }
}
