:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --surface-soft: #f8f6f2;
  --text: #1a1f1d;
  --muted: #5d655f;
  --brand: #9b6a3e;
  --brand-dark: #7b5230;
  --line: #e5ddd3;
  --shadow: 0 18px 40px rgba(26, 31, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top right, #f9f7f4 0%, var(--bg) 45%, #f0ede7 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 242, 238, 0.96); /* also raise opacity so header stays solid */
  border-bottom: 1px solid rgba(155, 106, 62, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  line-height: 0; /* prevents extra vertical space from inline/text line-height */
}

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

.nav-links {
  display: flex;
  gap: 1.7rem;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #a97648, var(--brand-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 20px rgba(123, 82, 48, 0.22);
}

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

.btn-small {
  padding: 0.62rem 1.05rem;
  white-space: nowrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(155, 106, 62, 0.34);
  color: var(--text);
  box-shadow: none;
}

.btn-outline:hover {
  background: #fff;
}

.hero {
  padding: 5rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(155, 106, 62, 0.18);
  border-radius: 24px;
  padding: 2.1rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: #161a18;
}

h1 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin: 0.3rem 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  margin: 0.35rem 0 1.4rem;
}

h3 {
  margin: 0.15rem 0 0.65rem;
}

.lead,
p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.hero-card,
.about-box,
.card,
.project-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.hero-card {
  background: linear-gradient(165deg, #ffffff 0%, #faf7f2 100%);
}

.hero-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.hero-image,
.project-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.hero-image {
  max-height: 240px;
  margin-bottom: 0.95rem;
}

.project-image {
  height: 200px;
  margin-bottom: 0.85rem;
}

.hero-card li + li {
  margin-top: 0.55rem;
}

.partners {
  padding: 3.4rem 0 1.4rem;
}

.partner-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0 0.9rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.partner-grid::-webkit-scrollbar {
  display: none;
}

.partner-card {
  flex: 0 0 auto;
  min-width: 140px;
  text-align: center;
}

.partner-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.55rem;
}

.partner-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--muted);
}

.stats {
  border-top: 1px solid rgba(155, 106, 62, 0.2);
  border-bottom: 1px solid rgba(155, 106, 62, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  padding: 2rem 0;
}

.stats-grid article {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.9rem;
}

.metric-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4ece3;
}

.metric-icon svg {
  width: 23px;
  height: 23px;
  stroke: var(--brand-dark);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-grid h3 {
  margin: 0.15rem 0 0;
  color: var(--brand-dark);
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.section {
  padding: 4.4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f7f4ef 0%, #f1eee8 100%);
}

.cards-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card,
.project-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(26, 31, 29, 0.12);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.3rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input {
  border: 1px solid #ddcfbf;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: #fffdfb;
}

input:focus {
  outline: 2px solid rgba(155, 106, 62, 0.26);
  border-color: var(--brand);
}

textarea {
  border: 1px solid #ddcfbf;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: #fffdfb;
  resize: vertical;
  min-height: 110px;
}

textarea:focus {
  outline: 2px solid rgba(155, 106, 62, 0.26);
  border-color: var(--brand);
}

.form-note {
  font-size: 0.9rem;
  margin: 0;
}

.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .btn-small {
    display: inline-block;
    padding: 0.58rem 0.9rem;
    font-size: 0.85rem;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    gap: 1.4rem;
  }

  .hero-content {
    padding: 1.45rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .partner-grid {
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.4rem;
  }
}
.logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain; /* don't crop the updated logo */
  object-position: left center;
}