:root {
  --forest: #2f4438;
  --forest-dark: #202f26;
  --forest-light: #4f7864;
  --sage: #8fa88f;
  --sand: #faf6ee;
  --sand-dark: #eee3d0;
  --terracotta: #c17a53;
  --terracotta-dark: #a8623f;
  --text: #2b2620;
  --text-muted: #5e574a;
  --success: #2f7d4f;
  --error: #b3402a;
  --shadow: 0 12px 30px rgba(32, 47, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--forest-dark);
  margin: 0 0 14px;
}

p {
  margin: 0 0 16px;
}

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

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

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

/* Header */
header.site-header {
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--sand-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--forest-dark);
  letter-spacing: 0.2px;
}

.logo .mark {
  margin-right: 8px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-size: 15px;
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--forest-dark);
  border-color: var(--terracotta);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 29px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 47, 38, 0.55) 0%, rgba(32, 47, 38, 0.72) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--sand-dark);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  font-size: 46px;
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page header (non-home hero) */
.page-header {
  position: relative;
  padding: 120px 0 70px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 47, 38, 0.6), rgba(32, 47, 38, 0.75));
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--sand-dark);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terracotta-dark);
  margin-bottom: 12px;
}

.section h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.section .lead {
  color: var(--text-muted);
  font-size: 16px;
}

/* Split layout (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split.reverse .split-media {
  order: 2;
}

.split.reverse .split-text {
  order: 1;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card .card-media {
  height: 190px;
  overflow: hidden;
}

.card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .card-body {
  padding: 24px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 0;
}

.card .icon {
  font-size: 30px;
  margin-bottom: 6px;
}

/* Simple icon cards (no image) */
.icon-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.icon-card {
  background: #fff;
  border: 1px solid var(--sand-dark);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
}

.icon-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.icon-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.icon-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Banner CTA */
.banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 47, 38, 0.5), rgba(32, 47, 38, 0.78));
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 20px;
}

.banner h2 {
  color: #fff;
  font-size: 28px;
}

.banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--sand-dark);
  padding: 22px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--sand-dark);
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--forest-dark);
}

.faq-item p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 15px;
}

/* Gallery (masonry via CSS columns) */
.masonry {
  column-count: 3;
  column-gap: 18px;
}

.masonry figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-dark);
}

.masonry img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .masonry {
    column-count: 1;
  }
}

/* Forms */
.form-box {
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--forest-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sand-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--sand);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

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

.alert {
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 22px;
  font-size: 14px;
}

.alert-success {
  background: #e5f4ea;
  color: var(--success);
  border: 1px solid #bfe4cc;
}

.alert-error {
  background: #fbe9e5;
  color: var(--error);
  border: 1px solid #f0c3b8;
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  text-align: center;
}

.contact-details .detail .label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--terracotta-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-details .detail .value {
  color: var(--text);
  font-size: 15px;
}

/* Footer + newsletter */
footer.site-footer {
  background: var(--forest-dark);
  color: var(--sand-dark);
  padding: 60px 0 26px;
}

.newsletter-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.newsletter-box h3 {
  margin-top: 0;
  color: #fff;
  font-size: 24px;
}

.newsletter-box p {
  color: rgba(255, 255, 255, 0.75);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 20px auto 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 14px;
}

.newsletter-form .btn {
  white-space: nowrap;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  max-width: 280px;
  margin-top: 10px;
}

.footer-links h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media,
  .split.reverse .split-text {
    order: initial;
  }
  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }
  nav.main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .hero {
    min-height: 520px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .page-header {
    padding: 100px 0 50px;
  }
}
