:root {
  --primary: #7a2f2f;
  --primary-dark: #4c1d1d;
  --accent: #d8a24a;
  --background: #fffaf2;
  --surface: #ffffff;
  --text: #222222;
  --muted: #5f5f5f;
  --border: #eadfce;
  --shadow: 0 12px 30px rgba(50, 30, 20, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--text);
}

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

a {
  color: var(--primary);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.eyebrow {
  margin: 0 0 0.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-header h1 {
  margin: 0;
  font-size: 1.45rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--primary);
  color: #ffffff;
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 5rem 5%;
  background: linear-gradient(90deg, rgba(36, 20, 12, 0.78), rgba(36, 20, 12, 0.24)), url('../images/image1.jpg') center/cover no-repeat;
  color: #ffffff;
}

.hero-content {
  max-width: 760px;
}

.hero h2 {
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 620px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #1f1608;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
}

.button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.section {
  padding: 4rem 5%;
}

.section.narrow {
  max-width: 980px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.page-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 0.8rem;
  color: var(--primary-dark);
}

.section-heading p,
.page-banner p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-content {
  padding: 1.35rem;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.card p {
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature img,
.card img,
.page-banner img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.page-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 5%;
  background: #fff3dc;
}

.list-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.list-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.list-panel li + li {
  margin-top: 0.7rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  background: var(--surface);
  border-left: 6px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.form-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

form {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbbfae;
  border-radius: 12px;
  padding: 0.8rem;
  font: inherit;
  background: #ffffff;
}

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

button {
  cursor: pointer;
  border: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

button:hover,
button:focus {
  background: var(--primary-dark);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 2.5rem 5%;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
}

.site-footer p {
  color: #f3e7d6;
}

@media (max-width: 900px) {
  .site-header,
  .page-banner,
  .feature,
  .form-wrapper,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 480px;
    padding: 3.5rem 5%;
  }

  .grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    padding: 0.5rem 0.65rem;
    font-size: 0.95rem;
  }
}
