/* =========================================================
   Global styles — shared by all pages
   ========================================================= */

:root {
  --cream: #fffaf2;
  --cream-2: #f8f1e6;
  --white: #ffffff;
  --terracotta: #c95b3d;
  --terracotta-dark: #b84a32;
  --terracotta-soft: #f5d5c9;
  --green: #2b625b;
  --green-dark: #225149;
  --green-soft: #dce7d4;
  --sage: #b9c9a8;
  --gold: #c6924f;
  --ink: #1f302d;
  --muted: #54655f;
  --border: #d9bba7;
  --shadow: 0 18px 45px rgba(50, 38, 24, 0.08);
  --radius: 18px;
  --script: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --body: "Nunito", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  background: #efe7dc;
}

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

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.page-shell {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 2%, rgba(247, 229, 205, 0.75), transparent 25%),
    radial-gradient(circle at 94% 8%, rgba(224, 232, 206, 0.65), transparent 25%),
    var(--cream);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 0 0 1px rgba(109, 82, 48, 0.12);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 24px 42px 12px;
  background: rgba(255, 253, 247, 0.96);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 120px;
  max-width: 220px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 28px);
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: var(--terracotta);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav .active::after {
  transform: scaleX(1);
}

.main-nav .active {
  color: var(--terracotta-dark);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: var(--terracotta);
  box-shadow: 0 8px 14px rgba(179, 78, 54, 0.16);
}

.header-cta {
  min-height: 52px;
  margin-left: 12px;
  padding-inline: 31px;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--terracotta-dark);
}

.btn-secondary {
  color: var(--terracotta);
  background: var(--white);
  border-color: var(--terracotta);
}

.btn-secondary:hover {
  color: #fff;
  background: var(--terracotta);
}

.btn-green {
  min-height: 44px;
  color: #fff;
  background: var(--green);
}

.btn-green:hover {
  background: var(--green-dark);
}

.btn-outline-green {
  min-height: 42px;
  color: var(--green);
  background: #fff;
  border-color: var(--green);
}

.btn-outline-green:hover {
  color: #fff;
  background: var(--green);
}

.btn-small {
  min-height: 42px;
  padding-inline: 22px;
  font-size: 0.86rem;
}

.section-full {
  padding-inline: 58px;
}

.section-padded {
  padding: 32px 34px;
}

.section-band {
  background:
    radial-gradient(circle at 50% 8%, rgba(248, 222, 196, 0.38), transparent 30%),
    linear-gradient(90deg, #fffaf4 0%, #f7f0e7 50%, #fffaf4 100%);
}

.site-footer {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  min-height: 120px;
  padding: 15px 65px;
  color: #fff;
  background: linear-gradient(90deg, #265d55, #316c63, #265d55);
}

.footer-brand img {
  width: 190px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin-top: 18px;
  font-weight: 800;
}

.footer-village {
  display: flex;
  justify-content: flex-end;
}

.footer-village img {
  width: 190px;
}

@media (max-width: 1180px) {
  .site-header {
      flex-wrap: wrap;
      justify-content: center;
    }

  .brand {
      width: 100%;
    }

  .brand img {
      margin: 0 auto;
    }

  .main-nav {
      order: 3;
      width: 100%;
      margin-left: 0;
      overflow-x: auto;
      justify-content: flex-start;
      padding-bottom: 4px;
    }

  .header-cta {
      margin-left: 0;
    }
}

@media (max-width: 820px) {
  body {
      font-size: 15px;
    }

  .site-header {
      padding: 20px 20px 12px;
    }

  .brand img {
      width: 220px;
    }

  .header-cta {
    width: 100%;
  }

  .section-padded {
    padding-inline: 20px;
  }

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

  .site-footer {
      gap: 20px;
      padding: 24px 20px;
      text-align: center;
    }

  .footer-brand img,
    .footer-village img {
      margin: 0 auto;
    }

  .footer-village {
      justify-content: center;
    }
}

@media (max-width: 520px) {
  .main-nav {
      font-size: 0.82rem;
    }
}
