:root {
  --color-cream: #f6f0ea;
  --color-sand: #d9c3ad;
  --color-terracotta: #b06a4f;
  --color-forest: #2c4735;
  --color-ink: #1c1b20;
  --color-light: #ffffff;
  --color-muted: #7a7269;
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", "Helvetica Neue", sans-serif;
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(246, 240, 234, 0.9);
  border-bottom: 1px solid rgba(44, 71, 53, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

nav a {
  font-weight: 600;
  color: var(--color-forest);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  border-color: var(--color-terracotta);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 4rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-card {
  background: var(--color-light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(28, 27, 32, 0.08);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin-top: 0;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.button-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-light);
  box-shadow: 0 18px 30px rgba(176, 106, 79, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-forest);
  border: 1px solid var(--color-forest);
}

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

.section {
  padding: 4rem 2rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--color-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(28, 27, 32, 0.06);
}

.card svg {
  width: 36px;
  height: 36px;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
}

.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(44, 71, 53, 0.1);
  color: var(--color-forest);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.step {
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: rgba(44, 71, 53, 0.2);
  font-weight: 700;
}

.quote {
  background: var(--color-forest);
  color: var(--color-light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 55%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--color-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(28, 27, 32, 0.08);
}

.portfolio-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.portfolio-card .content {
  padding: 1.5rem;
}

.contact-wrapper {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 18px 36px rgba(28, 27, 32, 0.08);
}

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

label {
  font-weight: 600;
  color: var(--color-forest);
}

input,
textarea,
select {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(28, 27, 32, 0.1);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

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

footer {
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag-list {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(176, 106, 79, 0.12);
  color: var(--color-terracotta);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-card {
    padding: 2rem;
  }
}
