/* ============================================
   BRAND COLORS — extracted from the logo
   ============================================ */
:root {
  --navy: #1d3a5f;          /* wordmark + roof */
  --navy-dark: #142a45;
  --blue: #3a7ab0;          /* wave */
  --blue-light: #5a9bd1;
  --green: #6ab04c;         /* leaf */
  --green-dark: #4f8a36;
  --cream: #faf8f3;         /* warm off-white background */
  --paper: #ffffff;
  --ink: #1a1f2e;           /* primary text */
  --ink-soft: #4a5364;      /* secondary text */
  --rule: #e6e2d8;          /* subtle dividers */
  --header-bg: rgba(250, 248, 243, 0.92);
  --surface-shadow: 0 20px 40px rgba(29, 58, 95, 0.08);
  --hero-shadow: 0 30px 60px rgba(29, 58, 95, 0.18);
  --field-focus: rgba(58, 122, 176, 0.1);
  --logo-bg: #ffffff;
  --band: var(--navy);
}

:root[data-theme="dark"] {
  --navy: #bcd4ef;
  --navy-dark: #0d1a2b;
  --blue: #7eb6e0;
  --blue-light: #9ccbed;
  --green: #8fcb72;
  --green-dark: #a9dc8f;
  --cream: #101822;
  --paper: #172331;
  --ink: #f3f7fb;
  --ink-soft: #b8c4d0;
  --rule: #2d4052;
  --header-bg: rgba(16, 24, 34, 0.92);
  --surface-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  --hero-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  --field-focus: rgba(126, 182, 224, 0.18);
  --logo-bg: #f6f8fb;
  --band: #0d1a2b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  /* REPLACE THIS DIV with: <img src="logo.png" alt="Achraf Nettoyage"> */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--navy); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-toggle button {
  padding: 6px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-family: inherit;
  transition: all 0.2s;
}
.lang-toggle button.active {
  background: var(--navy);
  color: var(--paper);
}

.theme-toggle {
  width: 42px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.theme-toggle:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.theme-toggle .moon-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon-icon { display: block; }

:root[data-theme="dark"] .lang-toggle button.active,
:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .btn-secondary:hover {
  color: #0d1a2b;
}
:root[data-theme="dark"] .btn-primary:hover {
  background: var(--blue-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 880px) {
  nav ul { display: none; }
  nav.open ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--rule);
  }
  .menu-toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(106, 176, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58, 122, 176, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(106, 176, 76, 0.12);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-dark);
  font-weight: 500;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(29, 58, 95, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: white;
}

/* HERO VISUAL — abstract decorative panel (placeholder for hero photo) */
.hero-visual {
  position: relative;
  height: 460px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  box-shadow: var(--hero-shadow);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(106, 176, 76, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.hero-visual-text {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.4;
}

.hero-visual-stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*
  REPLACE the .hero-visual div with a real photo when you have one:
  <div class="hero-visual">
    <img src="hero-photo.jpg" alt="..." style="width:100%;height:100%;object-fit:cover;">
  </div>
*/

@media (max-width: 880px) {
  .hero { padding: 60px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 320px; }
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  padding: 36px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.trust-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--rule);
}
.trust-item:last-child { border-right: none; }

.trust-item-value {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-item-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item { border-right: none; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--rule); }
}

/* ============================================
   SECTIONS — common
   ============================================ */
section { padding: 100px 0; }

@media (max-width: 720px) {
  section { padding: 60px 0; }
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 24px;
  max-width: 720px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 60px;
}

/* ============================================
   SERVICES
   ============================================ */
#services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 36px 32px;
  border: 1px solid var(--rule);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--surface-shadow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-list {
  margin-top: 16px;
  list-style: none;
}
.service-list li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--green);
}

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   COVERAGE
   ============================================ */
#coverage {
  background: var(--band);
  color: white;
  position: relative;
  overflow: hidden;
}

#coverage::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(106, 176, 76, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

#coverage h2, #coverage .section-eyebrow { color: white; }
#coverage .section-eyebrow { color: var(--blue-light); }
#coverage .section-intro { color: rgba(255, 255, 255, 0.75); }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.coverage-region {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s;
}
.coverage-region:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--green);
  transform: translateY(-3px);
}

.coverage-region-name {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.coverage-region-cities {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.coverage-promise {
  margin-top: 60px;
  padding: 32px;
  background: rgba(106, 176, 76, 0.1);
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.coverage-promise-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.coverage-promise p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}
.coverage-promise strong { color: white; font-weight: 600; }

@media (max-width: 880px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-promise { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   ABOUT / WHY US
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-points {
  list-style: none;
  margin-top: 32px;
}

.about-points li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.about-points li:last-child { border-bottom: none; }

.about-points-num {
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  width: 40px;
}

.about-points-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 600;
}

.about-points-text span {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.about-visual {
  position: relative;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--blue) 100%);
  box-shadow: var(--hero-shadow);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(29, 58, 95, 0.4) 0%, transparent 50%);
}

.about-visual-quote {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  color: white;
}

.about-visual-quote::before {
  content: '"';
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: 0.5;
  opacity: 0.3;
  display: block;
  margin-bottom: 16px;
}

.about-visual-quote p {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
}

/*
  REPLACE the .about-visual div with a real photo when you have one:
  <div class="about-visual"><img src="about-photo.jpg" alt="..." style="width:100%;height:100%;object-fit:cover;"></div>
*/

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 360px; }
}

/* ============================================
   CONTACT / QUOTE
   ============================================ */
#contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 24px; }

.contact-method {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-method:last-child { border-bottom: none; }

.contact-method-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(58, 122, 176, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact-method-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-method-value {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
}
.contact-method-value:hover { color: var(--green-dark); }

.quote-form {
  background: var(--cream);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--rule);
}

.quote-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.quote-form-intro {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s;
}

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

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

.quote-form button {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 24px; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 360px;
  margin-bottom: 24px;
}

.footer-creds {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-col h4 {
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 6px 0;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.8s ease-out backwards;
}

.hero-eyebrow { animation: fadeUp 0.6s ease-out backwards; }
.hero h1 { animation: fadeUp 0.7s 0.1s ease-out backwards; }
.hero p.lead { animation: fadeUp 0.7s 0.2s ease-out backwards; }
.hero-cta { animation: fadeUp 0.7s 0.3s ease-out backwards; }
.hero-visual { animation: fadeUp 0.9s 0.2s ease-out backwards; }

/* (Bilingual swapping is handled via JS innerHTML — no CSS hiding needed) */

/* ============================================
   CAREERS PAGE
   ============================================ */
.careers-hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(106, 176, 76, 0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.careers-hero > .container { position: relative; z-index: 1; }

.careers-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin-bottom: 22px;
  max-width: 820px;
  letter-spacing: -0.02em;
}

.careers-hero .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.careers-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Key facts card */
.facts {
  list-style: none;
  margin-top: 52px;
  max-width: 780px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.facts li {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 16px 26px;
  border-bottom: 1px solid var(--rule);
}
.facts li:last-child { border-bottom: none; }

.facts .facts-key {
  flex: 0 0 132px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.facts strong {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
}

/* Application form */
.apply-section { background: var(--paper); }

.apply-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.field-legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choices label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.choices input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.choices label:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--field-focus);
}

/* Honeypot — hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  display: none;
  padding: 28px 32px;
  background: rgba(106, 176, 76, 0.12);
  border-left: 3px solid var(--green);
  border-radius: 0 16px 16px 0;
}

.form-success h3 {
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.is-submitted .apply-form { display: none; }
.is-submitted .form-success { display: block; }

.form-error {
  display: none;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #b3261e;
}
:root[data-theme="dark"] .form-error { color: #f2b8b5; }
.has-error .form-error { display: block; }

/* Call-us callout */
.callout {
  padding: 32px;
  background: rgba(58, 122, 176, 0.1);
  border-left: 3px solid var(--blue);
  border-radius: 0 16px 16px 0;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.callout-tel {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.callout-tel:hover { color: var(--green-dark); }

.callout p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 46ch;
}

@media (max-width: 880px) {
  .careers-hero { padding: 56px 0 44px; }
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .facts li { flex-direction: column; gap: 4px; padding: 14px 20px; }
  .facts .facts-key { flex: none; }
  .callout { flex-direction: column; align-items: flex-start; gap: 12px; }
}
