*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f5f2;
  --bg-alt: #ece8e2;
  --surface: #ffffff;
  --text: #2c2a28;
  --text-muted: #5c5854;
  --accent: #8b6f47;
  --accent-dark: #6d5636;
  --border: rgba(44, 42, 40, 0.12);
  --shadow: 0 12px 40px rgba(44, 42, 40, 0.08);
  --header-h: 64px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.offer-section {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.offer-section iframe {
  display: block;
  width: 100%;
  min-height: 100vh;
  border: 0;
}

body.has-offer .site-header {
  position: sticky;
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent-dark);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background:
    linear-gradient(180deg, rgba(28, 24, 20, 0.72) 0%, rgba(28, 24, 20, 0.55) 45%, rgba(28, 24, 20, 0.78) 100%),
    url("assets/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4b896;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.hero-lead {
  max-width: 42rem;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 3.5rem 0;
}

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

.section h2,
.policies h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
}

.section-intro {
  max-width: 46rem;
  margin: 0;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.split p,
.policies p {
  margin: 0;
  color: var(--text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

.card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

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

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

.site-footer {
  padding: 2.5rem 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links .footer-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  cursor: default;
}

.copyright {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .policies {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .site-header .header-inner {
    position: relative;
  }

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

  .hero {
    padding-top: 3rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1100px, 100% - 1.25rem);
  }

  .section {
    padding: 2.5rem 0;
  }
}
