/* ── VARIABLES ─────────────────────────────────────────────────────── */
:root {
  --black:      #000000;
  --black-mid:  #1a1a1a;
  --green:      #30a521;
  --green-hover:#27891b;
  --green-light:#63d611;
  --orange:     #e76615;
  --light:      #f4f6f9;
  --border:     #dee2e8;
  --text:       #1e2532;
  --muted:      #6b7280;
  --white:      #ffffff;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --transition: .2s ease;
  --max-w:      1160px;
}

/* ── RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.65; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }
ul { list-style: none; }

/* ── LAYOUT ────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4.5rem 0; }
.bg-light   { background: var(--light); }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-top: .5rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
h4 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
p  { margin-bottom: 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: .4rem;
}

/* ── BUTTONS ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); text-decoration: none; }
.btn-full { width: 100%; text-align: center; }

/* ── HEADER ────────────────────────────────────────────────────────── */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo img { height: 42px; width: auto; }
.logo-text { color: var(--white); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green-light);
  border-bottom-color: var(--green-light);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: url('/images/hero-bg.jpg') center/cover no-repeat var(--black-mid);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.50) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
}
.hero-content h1 { color: var(--orange); margin-bottom: 1.25rem; }
.hero-content p   { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ───────────────────────────────────────── */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0;
  border-bottom: 4px solid var(--green);
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-top: .5rem; }

/* ── CARDS ─────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }

/* ── CTA BAND ──────────────────────────────────────────────────────── */
.cta { background: var(--green); color: var(--white); text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-inner p  { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }

/* ── ABOUT IMG ─────────────────────────────────────────────────────── */
.about-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ── CONTACT ───────────────────────────────────────────────────────── */
.contact-info-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}
.contact-info-item { display: flex; flex-direction: column; gap: .2rem; }
.info-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.staff-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.staff-avatar { flex-shrink: 0; }
.staff-avatar img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.staff-initials {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}
.staff-info { display: flex; flex-direction: column; }
.staff-info strong { font-size: .95rem; color: var(--text); }
.staff-info span   { font-size: .82rem; color: var(--muted); margin-top: .1rem; }
.staff-info a      { font-size: .8rem; margin-top: .25rem; }

/* ── FACILITIES ────────────────────────────────────────────────────── */
.facility-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.facility-gallery img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* ── SERVICES ──────────────────────────────────────────────────────── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-img img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.service-img.img-missing {
  background: var(--light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
}
.service-text h2 { margin: .5rem 0 1rem; }
.service-text p  { margin-bottom: 1.5rem; }

/* ── JOBS FORM ─────────────────────────────────────────────────────── */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.form-intro h2 { margin: .5rem 0 1rem; }
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(48,165,33,.15);
}
.req { color: var(--red); }
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── FOOTER ────────────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); border-top: 4px solid var(--green); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 1.5rem;
}
.footer-logo-text { display: block; color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.footer-col p { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-col h4 { color: rgba(255,255,255,.5); }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col, .service-row, .form-layout { grid-template-columns: 1fr; }
  .two-col.reverse, .service-row.reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-row { padding: 2rem 0; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--black);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .form-row { grid-template-columns: 1fr; }
  .facility-gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 420px; }
  .contact-info-bar { flex-direction: column; gap: 1rem; }
}
