/* =========================================================
   EWO 2000 – Human Workshop Editorial
   Design system: warm off-white, graphite, deep olive, rust
   ========================================================= */

/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f2ee;
  color: #2c2c2c;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Design tokens ────────────────────────────────────── */
:root {
  --clr-bg:          #f5f2ee;
  --clr-bg-warm:     #ede9e3;
  --clr-bg-dark:     #2a2a27;
  --clr-surface:     #ffffff;
  --clr-border:      #d8d2c8;
  --clr-text:        #2c2c2c;
  --clr-text-muted:  #6b6560;
  --clr-heading:     #1a1a18;
  --clr-olive:       #3d5a40;
  --clr-olive-light: #4e7253;
  --clr-olive-bg:    #eaf0ea;
  --clr-rust:        #b84c2b;
  --clr-rust-light:  #d4603e;
  --clr-graphite:    #3a3a38;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);

  --max-w: 1140px;
  --section-py: 80px;
}

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--clr-heading);
  line-height: 1.25;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: 'Segoe UI', Arial, sans-serif; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--clr-olive); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-rust); }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; }

strong { font-weight: 600; }

/* ── Layout helpers ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section--warm { background-color: var(--clr-bg-warm); }
.section--dark { background-color: var(--clr-bg-dark); color: #e8e4de; }
.section--dark h2, .section--dark h3 { color: #f0ece6; }
.section--dark p, .section--dark li { color: #c8c2b8; }
.section--white { background-color: var(--clr-surface); }
.section--olive { background-color: var(--clr-olive); color: #e8f0e8; }
.section--olive h2, .section--olive h3 { color: #f0f5f0; }
.section--olive p { color: #c8dcc8; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-rust);
  margin-bottom: 12px;
}

.section-intro {
  max-width: 680px;
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-top: .75rem;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary {
  background-color: var(--clr-olive);
  color: #fff;
  border-color: var(--clr-olive);
}
.btn--primary:hover {
  background-color: var(--clr-olive-light);
  border-color: var(--clr-olive-light);
  color: #fff;
}

.btn--secondary {
  background-color: transparent;
  color: var(--clr-olive);
  border-color: var(--clr-olive);
}
.btn--secondary:hover {
  background-color: var(--clr-olive);
  color: #fff;
}

.btn--rust {
  background-color: var(--clr-rust);
  color: #fff;
  border-color: var(--clr-rust);
}
.btn--rust:hover {
  background-color: var(--clr-rust-light);
  border-color: var(--clr-rust-light);
  color: #fff;
}

.btn--ghost-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--ghost-light:hover {
  background-color: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

.btn--sm { padding: 9px 20px; font-size: .875rem; }

/* ── Top bar ──────────────────────────────────────────── */
.topbar {
  background-color: var(--clr-bg-dark);
  color: #b0a898;
  font-size: .8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__info a { color: #b0a898; }
.topbar__info a:hover { color: #e8e4de; }

.topbar__sep { color: #4a4a46; }

/* ── Header / Nav ─────────────────────────────────────── */
.site-header {
  background-color: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.logo__name {
  font-family: 'Georgia', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clr-heading);
  letter-spacing: -.02em;
}

.logo__sub {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 6px 12px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-graphite);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--clr-olive-bg);
  color: var(--clr-olive);
}

.header-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: var(--clr-graphite);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 16px 24px 20px;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 10px 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--clr-graphite);
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background-color: var(--clr-olive-bg);
  color: var(--clr-olive);
}

.mobile-nav .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background-color: var(--clr-bg-warm);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,.012) 40px,
    rgba(0,0,0,.012) 41px
  );
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.hero__content { position: relative; z-index: 1; }

.hero__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-rust);
  margin-bottom: 16px;
}

.hero__h1 { margin-bottom: 20px; }

.hero__sub {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  font-size: .8rem;
  color: var(--clr-text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__trust span { display: flex; align-items: center; gap: 5px; }
.hero__trust span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--clr-olive);
  border-radius: 50%;
}

.hero__visual {
  position: relative;
  z-index: 1;
}

.img-placeholder {
  background-color: #ddd8d0;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #7a7470;
  font-size: .8rem;
  line-height: 1.5;
  border: 1px dashed #b8b0a6;
}

.img-placeholder__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: .5;
}

.img-placeholder--hero { height: 380px; }
.img-placeholder--sm { height: 180px; }
.img-placeholder--md { height: 260px; }
.img-placeholder--lg { height: 340px; }

/* ── Trust section ────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  margin-top: 48px;
}

.trust-item { display: flex; gap: 16px; align-items: flex-start; }

.trust-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--clr-olive-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.trust-item__body h4 { margin-bottom: 4px; color: var(--clr-heading); }
.trust-item__body p { font-size: .9rem; color: var(--clr-text-muted); margin: 0; }

/* ── Service groups ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background-color: var(--clr-surface);
  padding: 36px 32px;
  border: none;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover { background-color: var(--clr-bg-warm); }

.service-card__tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-rust);
}

.service-card h3 { margin: 0; }

.service-card p { font-size: .9rem; color: var(--clr-text-muted); margin: 0; }

.service-card__link {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-olive);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card__link::after { content: '→'; }
.service-card__link:hover { color: var(--clr-rust); }

/* ── Differentiation ──────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  margin-top: 40px;
}

.diff-item { border-left: 3px solid var(--clr-olive); padding-left: 20px; }
.diff-item h4 { margin-bottom: 6px; }
.diff-item p { font-size: .9rem; color: var(--clr-text-muted); margin: 0; }

/* ── Process steps ────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.process-step {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
}

.process-step__num {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-border);
  line-height: 1;
  margin-bottom: 12px;
}

.process-step p { font-size: .875rem; color: var(--clr-text-muted); margin: 0; line-height: 1.55; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list { margin-top: 40px; }

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-item:first-child { border-top: 1px solid var(--clr-border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}

.faq-question:hover { color: var(--clr-olive); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--clr-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform .25s, background .2s;
  color: var(--clr-olive);
  font-weight: 700;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background-color: var(--clr-olive); color: #fff; }

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: .95rem;
  color: var(--clr-text-muted);
  max-width: 720px;
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* ── Final CTA ────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding: var(--section-py) 0;
}

.final-cta h2 { margin-bottom: 16px; }
.final-cta .lead { font-size: 1.1rem; color: var(--clr-text-muted); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

.final-cta__btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.final-cta__contact {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.final-cta__contact a { color: var(--clr-olive); font-weight: 500; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background-color: var(--clr-bg-dark);
  color: #8a8480;
  padding: 48px 0 32px;
  border-top: 3px solid var(--clr-olive);
}

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

.footer-brand .logo__name { color: #e8e4de; font-size: 1.3rem; }
.footer-brand .logo__sub { color: #6a6460; }
.footer-brand p { font-size: .875rem; color: #7a7470; margin-top: 12px; line-height: 1.6; }

.footer-col h5 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5a5a56;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .875rem; color: #7a7470; }
.footer-col ul a:hover { color: #e8e4de; }

.footer-col address { font-style: normal; font-size: .875rem; color: #7a7470; line-height: 1.8; }
.footer-col address a { color: #7a7470; }
.footer-col address a:hover { color: #e8e4de; }

.footer-bottom {
  border-top: 1px solid #3a3a36;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: #5a5a56;
}

/* ── Page hero (inner pages) ──────────────────────────── */
.page-hero {
  background-color: var(--clr-bg-dark);
  padding: 56px 0 48px;
  border-bottom: 3px solid var(--clr-olive);
}

.page-hero__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-rust);
  margin-bottom: 12px;
}

.page-hero h1 { color: #f0ece6; margin-bottom: 16px; }

.page-hero p { color: #9a9490; font-size: 1.05rem; max-width: 640px; }

/* ── Content prose ────────────────────────────────────── */
.prose h2 { margin-top: 2.2rem; margin-bottom: .75rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .6rem; }
.prose p { color: var(--clr-text-muted); }
.prose ul { color: var(--clr-text-muted); }
.prose ul li { margin-bottom: .5rem; }

/* ── Info boxes ───────────────────────────────────────── */
.info-box {
  background-color: var(--clr-olive-bg);
  border-left: 4px solid var(--clr-olive);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box h4 { color: var(--clr-olive); margin-bottom: 6px; }
.info-box p { font-size: .9rem; color: var(--clr-text-muted); margin: 0; }

.warn-box {
  background-color: #fdf3ef;
  border-left: 4px solid var(--clr-rust);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.warn-box h4 { color: var(--clr-rust); margin-bottom: 6px; }
.warn-box p { font-size: .9rem; color: var(--clr-text-muted); margin: 0; }

/* ── Detail list ──────────────────────────────────────── */
.detail-list { list-style: none; padding: 0; }
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: .95rem;
  color: var(--clr-text-muted);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '✓';
  color: var(--clr-olive);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Two-col layout ───────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.two-col--wide { grid-template-columns: 3fr 2fr; }
.two-col--narrow { grid-template-columns: 2fr 3fr; }

/* ── Contact page ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}

.contact-block h3 { margin-bottom: 16px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--clr-border);
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--clr-olive-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}

.contact-detail__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 2px;
}

.contact-detail__value {
  font-size: .95rem;
  color: var(--clr-heading);
  font-weight: 500;
}

.contact-detail__value a { color: var(--clr-heading); }
.contact-detail__value a:hover { color: var(--clr-olive); }

/* ── Map placeholder ──────────────────────────────────── */
.map-placeholder {
  background-color: #ddd8d0;
  border-radius: var(--radius-md);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #7a7470;
  font-size: .85rem;
  border: 1px dashed #b8b0a6;
  text-align: center;
  padding: 24px;
}

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb {
  font-size: .8rem;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: #7a7470; }
.breadcrumb a:hover { color: #e8e4de; }
.breadcrumb span { color: #4a4a46; }

/* ── Utility classes ──────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--clr-text-muted); }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col--wide, .two-col--narrow { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar__inner { justify-content: center; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .final-cta__btns { flex-direction: column; align-items: center; }
}
