/* ==========================================================================
   OMKUMAR PLACEMENTS — Main Stylesheet
   Career & Recruitment Consulting — Germany • Europe • Dubai • Middle East
   Brand system: Red / White / Black only. No other hues are introduced.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors — red / white / black family only */
  --color-black: #0b0b0c;
  --color-black-soft: #17171a;
  --color-ink: #17171a;
  --color-ink-muted: #55555c;
  --color-ink-faint: #6e6e75;
  --color-red: #c8102e;
  --color-red-dark: #970c22;
  --color-red-light: #fbe9eb;
  --color-white: #ffffff;
  --color-off-white: #f7f6f6;
  --color-line: #e7e5e5;
  --color-line-dark: #2a2a2c;

  /* Typography */
  --font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container-width: 1240px;
  --container-pad: 1.25rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 160ms var(--ease);
  --transition-med: 260ms var(--ease);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.06), 0 1px 1px rgba(11, 11, 12, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 11, 12, 0.08), 0 2px 6px rgba(11, 11, 12, 0.05);
  --shadow-lg: 0 20px 45px rgba(11, 11, 12, 0.14);

  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background-color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-black);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.375rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  color: var(--color-ink-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-ink-muted);
  max-width: 46ch;
}

main:focus {
  outline: none;
}

:focus-visible {
  outline: 2.5px solid var(--color-red);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-alt {
  background-color: var(--color-off-white);
}

.section-black {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-black p {
  color: rgba(255, 255, 255, 0.72);
}

.section-black h2,
.section-black h3 {
  color: var(--color-white);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-red);
  display: inline-block;
}

.section-black .eyebrow,
.on-dark .eyebrow,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.section-black .eyebrow::before,
.on-dark .eyebrow::before,
.cta-band .eyebrow::before {
  background: var(--color-red);
}

.text-red {
  color: var(--color-red);
}

.text-muted {
  color: var(--color-ink-muted);
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.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: 1rem;
  top: -60px;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition-fast);
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.divider {
  height: 1px;
  background: var(--color-line);
  border: none;
  margin: 0;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Reveal / count animation helpers
   -------------------------------------------------------------------------- */
/* Content is visible by default and NEVER depends on JavaScript or scroll
   position to appear — the fade-up is a purely cosmetic CSS animation that
   plays once on paint. If animations are unsupported, unavailable, or a
   screenshot/crawler captures the page before the animation completes,
   the element is still fully visible (the "to" keyframe matches the
   element's normal, static appearance). */
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-in 700ms var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

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

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-dark:hover {
  background-color: var(--color-black-soft);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn-whatsapp {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-whatsapp:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-black);
  margin-top: 1.25rem;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-red);
  transition: color var(--transition-fast);
}

.whatsapp-inline:hover {
  color: var(--color-red);
}

.whatsapp-inline .icon {
  width: 1.15em;
  height: 1.15em;
  color: var(--color-red);
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(11, 11, 12, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  gap: 0.35em;
  flex-shrink: 0;
}

.logo-primary {
  color: var(--color-black);
}

.logo-accent {
  color: var(--color-red);
}

.main-nav {
  display: flex;
}

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

.nav-list a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
  position: relative;
  padding: 0.35rem 0.1rem;
  transition: color var(--transition-fast);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-red);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.nav-list a:hover {
  color: var(--color-red);
}

.nav-list a:hover::after {
  opacity: 1;
}

.nav-list a[aria-current="page"] {
  color: var(--color-red);
}

.nav-list a[aria-current="page"]::after {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-black);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .header-actions .btn-whatsapp.btn-sm span.btn-text-full {
    display: none;
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--color-white);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), transform var(--transition-med), visibility var(--transition-med);
    overflow-y: auto;
    padding: 1.5rem 0 3rem;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: var(--container-pad);
    max-width: var(--container-width);
    margin-inline: auto;
    width: 100%;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-line);
  }

  .nav-list a {
    display: block;
    padding: 1.1rem 0.2rem;
    font-size: 1.05rem;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }
}

@media (min-width: 861px) {
  .nav-mobile-whatsapp {
    display: none;
  }
}

.nav-mobile-whatsapp {
  margin: 1.5rem var(--container-pad) 0;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--color-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-content h1 {
  margin-bottom: 1.15rem;
}

.hero-content .lead {
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  max-width: 480px;
}

/* Rotating regional showcase (Germany / Europe / Dubai / Middle East).
   Ships with hand-illustrated placeholder art in assets/images/hero/*.svg so
   the panel is never a broken image out of the box. To use real photography
   instead: drop square-ish JPG/WebP files into assets/images/hero/, then in
   index.html change each .hero-slide's inline background-image URL from the
   .svg placeholder to your photo's filename — nothing else needs to change,
   the crossfade/zoom animation works identically with photos or art. */
.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-black);
  box-shadow: var(--shadow-lg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-slide-cycle 16s ease-in-out infinite;
}

/* Slide 1 defaults to visible with no animation dependency, so the panel
   always shows a correct, complete image even if animations never run. */
.hero-slide-1 { opacity: 1; animation-delay: 0s; }
.hero-slide-2 { animation-delay: 4s; }
.hero-slide-3 { animation-delay: 8s; }
.hero-slide-4 { animation-delay: 12s; }

@keyframes hero-slide-cycle {
  0%   { opacity: 0; transform: scale(1); }
  2%   { opacity: 1; transform: scale(1); }
  23%  { opacity: 1; transform: scale(1.08); }
  25%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1); }
}

.hero-slideshow-caption {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(11, 11, 12, 0.65);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-slide-cycle 16s ease-in-out infinite;
}

.hero-slideshow-caption.hero-caption-1 { opacity: 1; animation-delay: 0s; }
.hero-slideshow-caption.hero-caption-2 { animation-delay: 4s; }
.hero-slideshow-caption.hero-caption-3 { animation-delay: 8s; }
.hero-slideshow-caption.hero-caption-4 { animation-delay: 12s; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slideshow-caption {
    animation: none;
  }
}

.hero-badge {
  position: absolute;
  bottom: 6%;
  left: 4%;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-black);
  line-height: 1.1;
}

.hero-badge span {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}

.hero-badge .icon-dot {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-red-light);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge .icon-dot svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: 1;
    text-align: left;
  }

  .hero-visual {
    order: 2;
    max-width: 380px;
    margin-inline: auto;
  }

  .hero-slideshow {
    max-width: 380px;
  }

  .hero-badge {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.12), transparent 60%);
  pointer-events: none;
}

.stats-inner {
  text-align: center;
  position: relative;
}

.stat-figure {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 1;
  color: var(--color-white);
  display: inline-flex;
  align-items: flex-start;
}

.stat-number {
  color: var(--color-red);
}

.stat-plus {
  color: var(--color-red);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-top: 0.3em;
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-white);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.stat-support {
  margin: 0.9rem auto 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition-med);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-red-light);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

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

.card--dark .icon-badge {
  background: rgba(200, 16, 46, 0.16);
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p {
  margin-bottom: 1.1rem;
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-black);
}

.card-link .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--color-red);
  transition: transform var(--transition-fast);
}

.card-link:hover .icon {
  transform: translateX(3px);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.feature-list .icon-badge {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.feature-list .icon-badge svg {
  width: 20px;
  height: 20px;
}

.feature-list h4 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.feature-list p {
  font-size: 0.92rem;
  margin: 0;
}

.on-dark .feature-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.on-dark .feature-list h4 {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   10. Split bands (candidates / employers preview, about, etc.)
   -------------------------------------------------------------------------- */
.split-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-band.reverse .container {
  direction: rtl;
}

.split-band.reverse .container > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .split-band .container {
    grid-template-columns: 1fr;
  }

  .split-band.reverse .container {
    direction: ltr;
  }
}

.stat-recap {
  display: flex;
  gap: 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-line);
}

.stat-recap .figure {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--color-red);
  line-height: 1;
}

.stat-recap .figure-label {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-black);
  margin-bottom: 0.45rem;
}

.form-label .optional {
  color: var(--color-ink-faint);
  font-weight: 500;
  text-transform: none;
}

.form-required {
  color: var(--color-red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-light);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--color-red);
}

.form-error-msg {
  display: none;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-file {
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--color-off-white);
}

.form-file input[type="file"] {
  width: 100%;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
}

.form-file input[type="file"]::file-selector-button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--color-black);
  color: var(--color-white);
  margin-right: 0.85rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.form-file input[type="file"]::file-selector-button:hover {
  background: var(--color-red);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--color-ink-faint);
  margin-top: 0.4rem;
}

.form-privacy {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin: 1.5rem 0;
}

.form-privacy svg {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-privacy a {
  color: var(--color-black);
  font-weight: 600;
  text-decoration: underline;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-ink-faint);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-red);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.form-success.is-visible {
  display: block;
}

.form-success .icon-badge {
  margin-inline: auto;
  width: 62px;
  height: 62px;
}

.form-success .icon-badge svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin: 1.25rem 0 0.6rem;
}

.form-success p {
  max-width: 42ch;
  margin-inline: auto;
}

.form-wrapper.is-submitted .enquiry-form {
  display: none;
}

.disclaimer-box {
  border-left: 3px solid var(--color-red);
  background: var(--color-red-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-ink);
  margin: 1.5rem 0;
}

.disclaimer-box strong {
  color: var(--color-black);
}

/* Contact page toggle */
.form-toggle {
  display: inline-flex;
  background: var(--color-off-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  padding: 0.3rem;
  margin-bottom: 2rem;
  gap: 0.3rem;
}

.form-toggle button {
  border: none;
  background: transparent;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.form-toggle button[aria-pressed="true"] {
  background: var(--color-black);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   12. Opportunities / job filters
   -------------------------------------------------------------------------- */
.filters-bar {
  background: var(--color-off-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

@media (max-width: 800px) {
  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .filters-grid {
    grid-template-columns: 1fr;
  }
}

.filters-grid .form-group {
  margin-bottom: 0;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.results-count {
  font-weight: 700;
  color: var(--color-black);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  display: flex;
  flex-direction: column;
}

.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.job-card h3 {
  margin-bottom: 0.3rem;
}

.job-location {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.job-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-off-white);
  color: var(--color-ink-muted);
  border: 1px solid var(--color-line);
}

.tag-red {
  background: var(--color-red-light);
  color: var(--color-red-dark);
  border-color: transparent;
}

.job-card p {
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.job-requirements {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.job-requirements li {
  margin-bottom: 0.3rem;
}

.job-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.empty-state {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  background: var(--color-off-white);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-lg);
}

.empty-state .icon-badge {
  margin-inline: auto;
  width: 64px;
  height: 64px;
}

.empty-state .icon-badge svg {
  width: 32px;
  height: 32px;
}

.empty-state h3 {
  margin: 1.5rem auto 0.75rem;
  max-width: 34ch;
}

.empty-state p {
  max-width: 46ch;
  margin: 0 auto 1.75rem;
}

.jobs-grid[hidden],
.empty-state[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(200, 16, 46, 0.35);
  border-radius: 50%;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.cta-band .btn-group {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   14. Page header (secondary pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-line);
}

.page-header .lead {
  margin-top: 1rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-ink-faint);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--color-ink-muted);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--color-red);
}

/* --------------------------------------------------------------------------
   15. Legal page content
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 74ch;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-ink-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-note {
  background: var(--color-off-white);
  border-left: 3px solid var(--color-red);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  margin-bottom: 2.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-ink-faint);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.72);
  border-top: 3px solid var(--color-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .logo {
  margin-bottom: 0.9rem;
}

.footer-brand .logo-primary {
  color: var(--color-white);
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.6rem;
}

.footer-region {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav-list a,
.footer-contact-list a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover,
.footer-contact-list a:hover {
  color: var(--color-red);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer-contact-list .icon {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* --------------------------------------------------------------------------
   17. Floating WhatsApp button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-float:hover {
  background: var(--color-red);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

/* --------------------------------------------------------------------------
   18. 404 page
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
}

.error-page .stat-figure {
  color: var(--color-red);
  font-size: clamp(4rem, 12vw, 7rem);
}

/* --------------------------------------------------------------------------
   19. Misc responsive guards
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .btn-lg {
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }

  .section {
    padding-block: 3rem;
  }
}

.table-responsive {
  overflow-x: auto;
}
