:root {
  --cream: #fbf1e4;
  --terracotta: #a8502a;
  --brown: #4a2e20;
  --wheat: #d9a653;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--brown);
  background: var(--cream);
}

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(74, 46, 32, 0.15);
}

.brand {
  font: 700 1.3rem Georgia, serif;
  color: var(--brown);
}

.logo {
  display: block;
  height: 44px;
  width: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.lang [aria-current] {
  font-weight: 700;
}

main > section {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

main > section.hero {
  position: relative;
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: clamp(320px, 50vw, 460px);
  object-fit: cover;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.5rem, 6vw, 4rem);
  color: #fff;
  background: linear-gradient(90deg, rgba(74, 46, 32, 0.7) 0%, rgba(74, 46, 32, 0.15) 70%);
}

.hero-text h1 {
  max-width: 32rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero-text p {
  max-width: 30rem;
  margin: 0 0 0.5rem;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about img,
.services .banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.services .banner {
  max-height: 260px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards li {
  display: flex;
}

.cards li > div {
  flex: 1;
  padding: 1.25rem;
  background: #fff;
  border-top: 4px solid var(--wheat);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(74, 46, 32, 0.08);
}

.cards h3 {
  margin-top: 0;
}

.site-footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #fbf1e4;
  background: var(--brown);
}

/* Phones: the header wraps instead of scrolling sideways, the hero text gets a solid backdrop. */
@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.75rem 1rem;
  }

  .site-header nav {
    gap: 1rem;
  }

  .logo {
    height: 36px;
  }

  .hero-text {
    background: rgba(74, 46, 32, 0.72);
  }
}
