:root {
  --brand: #c8102e;
  --brand-dark: #9a0c23;
  --ink: #1a1a1a;
  --muted: #5b6470;
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --maxw: 1000px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}

.site-header a { display: inline-block; }
.site-header img { max-width: 220px; height: auto; }

.language-switcher {
  max-width: var(--maxw);
  margin: 16px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.language-switcher button {
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  border-radius: 6px;
  line-height: 0;
  opacity: 0.45;
  filter: grayscale(0.85);
  transition: opacity .15s ease, filter .15s ease, transform .15s ease;
}

.language-switcher button:hover {
  opacity: 0.9;
  filter: grayscale(0.2);
  transform: translateY(-1px);
}

.language-switcher button.active {
  opacity: 1;
  filter: none;
  cursor: default;
}

.language-switcher button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.language-switcher button img {
  width: 48px;
  height: auto;
  display: block;
}

@media (max-width: 480px) {
  .language-switcher { gap: 10px; }
  .language-switcher button img { width: 40px; }
}

.container {
  max-width: var(--maxw);
  margin: 22px auto 40px;
  padding: 28px 26px 32px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .container { padding: 20px 16px; margin: 14px 10px 90px; border-radius: 10px; }
}

.job-header { margin-bottom: 18px; }

.job-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 6px;
}

.job-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.job-title span { color: var(--brand); }

.job-description {
  font-size: 1rem;
  margin: 14px 0 22px;
}

.job-description p { margin: 0 0 12px; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: var(--brand-dark);
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge::before {
  content: "✓";
  font-weight: 700;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 8px;
}

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

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1rem;
  transition: background .15s ease, transform .15s ease;
  text-align: center;
  line-height: 1.2;
}

.cta-button:hover {
  background: var(--brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-button .small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.9;
}

.cta-button svg { flex-shrink: 0; }

.image-gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .image-gallery { grid-template-columns: 1fr; }
}

.image-block {
  display: flex;
  flex-direction: column;
}

.image-block img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  display: block;
}

.image-block p {
  margin: 8px 2px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  text-align: center;
  padding: 18px 20px 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a { color: var(--muted); }

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  gap: 8px;
  z-index: 50;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.06);
}

.sticky-cta a {
  flex: 1;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 8px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .sticky-cta { display: flex; }
}

.stub-notice {
  margin: 22px 0;
  padding: 18px 20px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: #7c2d12;
  font-size: 0.95rem;
}

.stub-notice.muted {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.plant-hero {
  position: relative;
  margin: -28px -26px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.plant-hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.plant-hero-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
}

.plant-hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.95;
}

.plant-hero-addr {
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .plant-hero { margin: -20px -16px 18px; }
  .plant-hero img { height: 160px; }
}

.section-heading {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin: 4px 0 16px;
}

.job-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.job-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  position: relative;
}

.job-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.08);
  text-decoration: none;
}

.job-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.job-card-title span { color: var(--brand); }

.job-card-summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.job-card .badges { margin: 8px 0 12px; }

.job-card-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.back-link:hover { color: var(--ink); text-decoration: underline; }

.contacts-secondary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

body { padding-bottom: 0; }
@media (max-width: 600px) {
  body { padding-bottom: 76px; }
}
