/* ============================================================
   PT. Adi Jaya Mandirindo (AJM) — Refrigeration Engineering
   Design tokens: Blueprint-industrial. Cold/hot thermodynamic
   contrast drives the palette; a refrigeration-cycle schematic
   is the signature motif, echoed in the process timeline.
   ============================================================ */

:root {
  /* Color */
  --ink:        #0A1F2B;  /* near-black navy — headings, high-contrast text */
  --deep:       #0E2C3D;  /* dark plant-room navy — dark section backgrounds */
  --brand:      #0F5C82;  /* engineering blue — primary brand color */
  --brand-dark: #0B4964;  /* pressed / hover state of brand blue */
  --frost:      #3DCBEB;  /* refrigerant frost cyan — cold-side accent */
  --amber:      #E8762C;  /* compressor amber — decorative warm-side accent (schematic, underlines) */
  --copper:     #B4591F;  /* copper piping — CTA buttons; darker than --amber so white text stays AA-accessible */
  --copper-dark:#944919;
  --slate:      #55707D;  /* secondary text on light backgrounds */
  --mist:       #F3F8FA;  /* page background, cool-tinted off-white */
  --surface:    #FFFFFF;  /* card / panel surface */
  --line:       #DCE6EA;  /* hairline borders */
  --line-dark:  rgba(255,255,255,0.14);

  /* Type */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --fs-hero: clamp(2.07rem, 1.17rem + 3.78vw, 3.69rem);
  --fs-h2: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Shape / elevation */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,31,43,0.06), 0 1px 1px rgba(10,31,43,0.04);
  --shadow-md: 0 12px 32px rgba(10,31,43,0.10);
  --shadow-lg: 0 24px 60px rgba(10,31,43,0.18);

  --container: 1220px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

@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;
  }
}

:focus-visible {
  outline: 3px solid var(--frost);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

[id] { scroll-margin-top: var(--header-h); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
.eyebrow--on-dark { color: var(--frost); }

.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.section--alt { background: var(--surface); }
.section__head { max-width: 720px; margin-bottom: var(--sp-7); }
.section__head h2 { margin-top: var(--sp-3); }
.section__head p { margin-top: var(--sp-4); color: var(--slate); font-size: var(--fs-lead); }
.section__head--center { margin-inline: auto; text-align: center; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 1000; transition: top 0.2s ease;
  font-family: var(--font-mono); font-size: 0.85rem;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--copper); color: #fff; }
.btn--primary:hover { background: var(--copper-dark); }
.btn--ghost { background: transparent; color: var(--surface); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(243, 248, 250, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.brand-mark { display: flex; align-items: center; gap: var(--sp-3); }
.brand-mark img { height: 34px; width: auto; }
.brand-mark__text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  display: none;
}
@media (min-width: 560px) { .brand-mark__text { display: block; } }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__list {
  display: flex;
  gap: var(--sp-5);
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 2px;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transition: right 0.2s ease;
}
.nav__link:hover::after,
.nav__link.is-active::after { right: 0; }
.nav__link.is-active { color: var(--brand); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle__box { position: relative; width: 22px; height: 16px; }
.nav-toggle__box span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 7px; }
.nav-toggle__box span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-5) clamp(20px, 5vw, 48px) var(--sp-6);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: var(--sp-5); }
}
.nav__cta.btn { padding: 11px 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; /* fallback for browsers without svh support */
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--deep);
}
.hero__slider {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--deep);
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%;
}
.hero__scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,26,36,0.55) 0%, rgba(10,26,36,0.55) 30%, rgba(9,23,31,0.94) 92%),
    linear-gradient(90deg, rgba(6,17,24,0.75) 0%, rgba(6,17,24,0.15) 55%);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(10,26,36,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: rgba(10,26,36,0.7); border-color: #fff; }
.hero__arrow--prev { left: clamp(10px, 3vw, 28px); }
.hero__arrow--next { right: clamp(10px, 3vw, 28px); }
@media (max-width: 760px) {
  .hero__arrow { width: 38px; height: 38px; }
  .hero__arrow svg { width: 16px; height: 16px; }
}

/* Bottom-center slide indicator — the only visible hero "content" now;
   the headline stays in the DOM (see .visually-hidden in HTML) for SEO
   and screen readers, it's just not shown over the photos. */
.hero__indicators {
  position: absolute;
  z-index: 3;
  bottom: clamp(20px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(8,20,28,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 10px 18px;
}
.hero__playpause {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.hero__playpause:hover { background: rgba(255,255,255,0.12); }
.hero__playpause svg { width: 13px; height: 13px; }
.hero__dots { display: flex; align-items: center; gap: 8px; }
.hero__dot {
  width: 22px; height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.32);
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero__dot:hover { background: rgba(255,255,255,0.55); }
.hero__dot.is-active { background: var(--frost); width: 34px; }

/* ---- Refrigeration cycle schematic (signature element) ---- */
.cycle {
  position: relative;
  background: var(--deep);
  border-top: 1px solid var(--line-dark);
  padding-block: var(--sp-7);
}
.cycle__caption {
  max-width: 460px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}
.cycle__caption strong { color: #fff; }
.cycle__wrap {
  display: grid;
  grid-template-columns: minmax(0,0.85fr) minmax(0,1.5fr);
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 900px) {
  .cycle__wrap { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.cycle svg {
  width: 100%;
  min-width: 520px;
  height: auto;
  overflow: visible;
}
.cycle__diagram {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px 8px; /* room so focus/hover glows aren't clipped */
}
/* Thin, unobtrusive scrollbar for the rare case it's needed (narrow phones) */
.cycle__diagram::-webkit-scrollbar { height: 6px; }
.cycle__diagram::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 999px; }
/* Secondary annotation line is the least essential text (the prose caption
   already explains the cycle) — drop it first on tight viewports so the
   component names stay legible without forcing horizontal scroll. */
@media (max-width: 700px) {
  .cycle .node-sub { display: none; }
}
.cycle .flow-line {
  stroke-dasharray: 10 9;
  animation: flow 14s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -950; } }
.cycle .node-dot { fill: var(--deep); stroke-width: 3; }
.cycle .node-icon { stroke: rgba(255,255,255,0.92); }
.cycle .node-label {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: rgba(255,255,255,0.82);
  letter-spacing: 0.03em;
}
.cycle .node-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  fill: rgba(255,255,255,0.42);
  letter-spacing: 0.03em;
}

/* ============================================================
   TRUST / STATS STRIP
   ============================================================ */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-7);
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
.stat { text-align: left; border-left: 2px solid var(--line); padding-left: var(--sp-4); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 600;
  color: var(--brand);
  display: block;
}
.stat__label {
  font-size: 0.86rem;
  color: var(--slate);
  margin-top: 2px;
  display: block;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
}
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--frost);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about p + p { margin-top: var(--sp-4); }
.about p { color: var(--slate); font-size: 1.02rem; }
.spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
@media (max-width: 560px) { .spec-cards { grid-template-columns: 1fr; } }
.spec-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}
.spec-card .eyebrow { font-size: 0.7rem; }
.spec-card p { margin-top: var(--sp-3); color: var(--ink); font-size: 0.95rem; }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(9,23,31,0.93) 0%, rgba(9,23,31,0.97) 100%),
    url("../img/process-tunnel-freezer.jpg") center 30% / cover no-repeat;
  background-color: var(--deep);
}
.process .section__head p { color: rgba(255,255,255,0.7); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
  position: relative;
}
.process__grid::before {
  content: "";
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 10px, transparent 10px 18px);
  z-index: 0;
}
@media (max-width: 980px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }
}
@media (max-width: 560px) {
  .process__grid { grid-template-columns: 1fr; }
}
.step { position: relative; z-index: 1; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--deep);
  border: 2px solid var(--amber);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: var(--sp-4);
}
.step__title { font-size: 1.05rem; font-weight: 600; }
.step__text { margin-top: var(--sp-2); font-size: 0.9rem; color: rgba(255,255,255,0.68); }

/* ============================================================
   SOLUTIONS — TABS
   ============================================================ */
.tabs__list {
  display: inline-flex;
  gap: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: var(--sp-7);
}
.tabs__btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate);
  transition: background 0.2s ease, color 0.2s ease;
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn[aria-selected="true"] { background: var(--brand); color: #fff; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 980px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3); } }

.tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,43,0) 45%, rgba(10,31,43,0.88) 100%);
}
.tile__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-4);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 1;
  line-height: 1.3;
}

.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.brand-note {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.brand-note img { height: 40px; width: auto; border-radius: 4px; }
.brand-note p { font-size: 0.92rem; color: var(--slate); }
.brand-note strong { color: var(--ink); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 900px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); } }
.brand-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-4);
  aspect-ratio: 3 / 2;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.brand-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.brand-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ============================================================
   COVERAGE (Where We Operate) — pin map only
   ============================================================ */
.coverage-map {
  position: relative;
  height: clamp(360px, 48vw, 520px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--mist);
}
.coverage-map__fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--sp-6);
  color: var(--slate);
  font-size: 0.9rem;
}
/* Once Leaflet mounts, it injects .leaflet-container; hide the noscript-style
   fallback text so it doesn't sit underneath the tiles. */
.coverage-map.is-ready .coverage-map__fallback { display: none; }

/* Static teardrop pin (no pulsing animation) — a subtle hover lift is the
   only motion, and only in response to the user, not on a timer. */
.coverage-pin-icon {
  transition: transform 0.15s ease, filter 0.15s ease;
  transform-origin: bottom center;
  cursor: pointer;
}
.coverage-pin-icon:hover,
.coverage-pin-icon:focus {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 6px 10px rgba(10,31,43,0.3));
}

.coverage-popup h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.coverage-popup__count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand);
  background: rgba(15,92,130,0.1);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-block;
}
/* Leaflet popup chrome, retuned to match the rest of the site */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.leaflet-popup-content {
  font-family: var(--font-body);
  margin: 12px 14px;
}
.leaflet-container {
  font-family: var(--font-body);
  background: var(--mist);
}

/* ============================================================
   CAREER
   ============================================================ */
.career__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 860px) { .career__grid { grid-template-columns: 1fr; text-align: center; } }
.career__grid img { max-width: 340px; margin-inline: auto; }
.career p { color: var(--slate); font-size: 1.02rem; margin-top: var(--sp-4); }
.career .btn { margin-top: var(--sp-6); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-8);
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-card iframe { width: 100%; height: 240px; border: 0; display: block; }
.contact-card__body { padding: var(--sp-6); }
.contact-card__body h3 { font-size: 1.15rem; }
.contact-card__row {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  font-size: 0.94rem;
  color: var(--slate);
}
.contact-card__row svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.contact-card__row a:hover { color: var(--brand); }

.form-grid { display: grid; gap: var(--sp-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--brand); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; top: -9999px; }

.form-status {
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(61,203,235,0.14); color: var(--brand-dark); }
.form-status--err { background: rgba(232,118,44,0.12); color: var(--copper-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--sp-7);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: var(--sp-6); } }
.footer__brand img { height: 30px; filter: brightness(0) invert(1); margin-bottom: var(--sp-4); }
.footer__brand p { font-size: 0.9rem; max-width: 320px; color: rgba(255,255,255,0.55); }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-4);
}
.footer__links li { margin-bottom: var(--sp-3); }
.footer__links a:hover { color: #fff; }
.footer__contact li { margin-bottom: var(--sp-3); font-size: 0.92rem; }
.footer__bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 400;
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Spinner (form submit) ---------- */
.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn[disabled] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
