@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --slate: #2c3e50;
  --slate-dark: #1a252f;
  --rust: #d35400;
  --rust-light: #e67e22;
  --cloud: #ecf0f1;
  --white: #ffffff;
  --text: #34495e;
  --muted: #7f8c8d;
  --font-sans: 'Work Sans', system-ui, sans-serif;
  --font-serif: 'Bitter', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rust-light); }

/* Layout shell with left accent */
.shell {
  display: grid;
  grid-template-columns: 6px 1fr;
  min-height: 100vh;
}

.accent-bar { background: var(--rust); }

/* Header */
header {
  background: var(--slate);
  color: var(--cloud);
}

.header-top {
  background: var(--slate-dark);
  padding: 0.5rem 1.5rem;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-top a { color: var(--rust-light); font-weight: 600; }

.header-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.brand img { width: 42px; height: 42px; }

.brand strong { display: block; font-size: 0.98rem; }
.brand span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.nav-toggle {
  display: none;
  background: var(--rust);
  color: var(--white);
  border: none;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.main-nav { display: flex; gap: 0.15rem; }

.main-nav a {
  color: rgba(236, 240, 241, 0.8);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active { color: var(--white); background: rgba(211, 84, 0, 0.25); }

.nav-email {
  background: var(--rust) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-email:hover { background: var(--rust-light) !important; }

/* Hero offset grid */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.hero-content {
  padding: 4rem 1.5rem 4rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cloud);
}

.hero-content .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--slate);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-content p { margin-bottom: 1rem; max-width: 32rem; }

.hero-mail { font-weight: 700; margin-bottom: 1.75rem !important; }

.hero-img img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.btn {
  display: inline-flex;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: background 0.2s;
}

.btn-rust { background: var(--rust); color: var(--white); }
.btn-rust:hover { background: var(--rust-light); color: var(--white); }

.btn-outline { border-color: var(--slate); color: var(--slate); }
.btn-outline:hover { background: var(--slate); color: var(--white); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Stats row */
.stats-row {
  background: var(--slate);
  color: var(--cloud);
  padding: 2rem 1.5rem;
}

.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-inner strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--rust-light);
}

.stats-inner span { font-size: 0.82rem; }

/* Sections */
section { padding: 4.5rem 1.5rem; }

.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--slate);
  margin-bottom: 1rem;
}

.section-lead { max-width: 620px; margin-bottom: 2rem; color: var(--muted); }

.bg-cloud { background: var(--cloud); }
.bg-slate { background: var(--slate); color: var(--cloud); }
.bg-slate a { color: var(--rust-light); }
.bg-slate .section-title { color: var(--white); }
.bg-slate .section-lead { color: rgba(236, 240, 241, 0.75); }

/* Service cards - staggered */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-top: 4px solid var(--rust);
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.08);
}

.bg-cloud .card { background: var(--white); }
.bg-slate .card { background: var(--slate-dark); border-top-color: var(--rust-light); }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.75rem; }
.bg-slate .card p { color: rgba(236, 240, 241, 0.7); }

.card-mail { font-size: 0.85rem; font-weight: 600; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split img { box-shadow: 0 12px 40px rgba(44, 62, 80, 0.15); }

.check-list { list-style: none; margin-top: 1.25rem; }
.check-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(127, 140, 141, 0.2);
  font-size: 0.95rem;
}
.check-list li::before { content: '▸'; color: var(--rust); margin-right: 0.5rem; font-weight: 700; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1rem; }
.team-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--slate); }
.bg-slate .team-card h3 { color: var(--white); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}

.contact-info p { margin-bottom: 0.75rem; }
.contact-info .email-big { font-size: 1.15rem; font-weight: 700; margin: 1rem 0; }

form { display: grid; gap: 1rem; }

label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--slate); }

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(44, 62, 80, 0.15);
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus, textarea:focus, select:focus { outline: 2px solid var(--rust); border-color: var(--rust); }

textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.82rem; color: var(--muted); }

/* Page banner */
.page-head {
  background: var(--slate);
  color: var(--cloud);
  padding: 5rem 1.5rem 2.5rem;
  text-align: center;
}

.page-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-head p { max-width: 560px; margin: 0 auto 0.75rem; color: rgba(236, 240, 241, 0.8); }

.prose { max-width: 740px; margin: 0 auto; padding: 3rem 1.5rem; }
.prose h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--slate); margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; color: var(--muted); }

.timeline { border-left: 3px solid var(--rust); padding-left: 1.25rem; margin: 1.5rem 0; }
.timeline div { margin-bottom: 1.25rem; }
.timeline strong { display: block; color: var(--rust); font-size: 0.85rem; }

/* Footer */
footer {
  background: var(--slate-dark);
  color: rgba(236, 240, 241, 0.75);
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

footer h4 { color: var(--white); font-family: var(--font-serif); margin-bottom: 0.75rem; }

.footer-links a { display: block; color: rgba(236, 240, 241, 0.65); padding: 0.2rem 0; font-size: 0.9rem; }
.footer-links a:hover { color: var(--rust-light); }

.footer-mail { color: var(--rust-light); font-weight: 600; word-break: break-all; }

.footer-bottom {
  max-width: 1140px;
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(236, 240, 241, 0.1);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .hero, .split, .contact-layout, .footer-grid, .card-grid, .team-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    flex-direction: column;
    background: var(--slate-dark);
    padding: 0.5rem;
    min-width: 220px;
    z-index: 50;
  }
  .main-nav.open { display: flex; }
  .header-main { position: relative; }
}

@media (max-width: 520px) {
  .stats-inner { grid-template-columns: 1fr; }
}
