/* Post & Property marketing site. Palette and type match the booking app (frontend/src/app/index.css). */
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2');
}

:root {
  --forest-950: #0f2925;
  --forest-900: #173b35;
  --forest-800: #1f4a43;
  --cream: #f5f1e8;
  --cream-dark: #ece8dc;
  --line: #e2dccd;
  --surface: #fffdf8;
  --brass: #c6a15b;
  --brass-light: #d9bf8a;
  --charcoal: #26312f;
  --muted: #4f5a56;
  --display: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font: 400 1.0625rem/1.6 var(--sans);
}

.sprite {
  position: absolute;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}

.button-small {
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
}

.button-brass {
  background: var(--brass);
  color: var(--forest-950);
}

.button-brass:hover {
  background: var(--brass-light);
}

.button-ghost {
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
}

.button-ghost:hover {
  border-color: #fff;
}

a:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

.logo-word {
  font: 800 1.25rem/1 var(--display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.amp {
  color: var(--brass);
}

/* Hero */
.hero {
  background: var(--forest-900);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nav-links a,
.nav-signin {
  color: rgb(255 255 255 / 0.8);
  text-decoration: none;
}

.nav-links a:hover,
.nav-signin:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-signin {
  display: none;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero-body {
  display: grid;
  gap: 2.5rem;
  padding-block: 2.5rem 0;
}

.hero-copy {
  align-self: center;
}

.lede {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: rgb(255 255 255 / 0.85);
  font-size: 1.1875rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--brass-light);
  font-size: 0.9375rem;
}

.hero-photo img {
  width: 100%;
  height: 20rem;
  border-radius: 1rem 1rem 0 0;
  object-fit: cover;
  object-position: 50% 62%;
}

/* Sections */
.section {
  padding-block: 4rem;
}

.section-tint {
  background: var(--cream-dark);
}

.section-forest {
  background: var(--forest-900);
  color: #fff;
}

.steps {
  display: grid;
  gap: 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.step-number {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--brass);
  font: 800 1.125rem/1 var(--display);
}

.steps p,
.card p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 0.75rem;
  background: var(--surface);
}

/* Pricing */
.pricing {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.pricing table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  overflow: hidden;
}

.pricing th,
.pricing td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.pricing tr:last-child th,
.pricing tr:last-child td {
  border-bottom: 0;
}

.pricing th {
  font-weight: 600;
}

.pricing th span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.pricing td {
  color: var(--forest-900);
  font: 800 1.375rem/1 var(--display);
  text-align: right;
  white-space: nowrap;
}

.pricing-notes {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  list-style: none;
}

.pricing-notes li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--brass);
}

/* Service area */
.area {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.area p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1rem;
  color: rgb(255 255 255 / 0.85);
}

.cities {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font: 800 clamp(1.75rem, 5vw, 2.5rem) / 1.1 var(--display);
  letter-spacing: -0.02em;
  list-style: none;
}

.cities li {
  padding-left: 1rem;
  border-left: 4px solid var(--brass);
}

.cities .cities-more {
  border-color: transparent;
  color: var(--brass-light);
  font: 600 1rem/1.4 var(--sans);
  letter-spacing: 0;
}

/* FAQ */
.faq {
  max-width: 46rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  color: var(--brass);
  font: 700 1.5rem/1 var(--display);
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  padding-bottom: 1.25rem;
  color: var(--muted);
}

/* Closing call to action */
.cta {
  padding-block: 4rem;
  background: var(--forest-950);
  color: #fff;
  text-align: center;
}

.cta p {
  margin: 0.75rem 0 2rem;
  color: rgb(255 255 255 / 0.85);
}

/* Footer */
.footer {
  padding-block: 2.5rem 2rem;
  background: var(--forest-900);
  color: rgb(255 255 255 / 0.8);
  font-size: 0.9375rem;
}

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

.footer-tag {
  margin-top: 0.6rem;
  color: var(--brass-light);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  overflow-wrap: anywhere;
}

.footer-legal {
  margin-top: 2rem;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.8125rem;
}

@media (min-width: 40rem) {
  .nav-signin {
    display: inline;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .nav-links {
    display: flex;
  }

  .hero-body {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    padding-block: 3.5rem 0;
  }

  .hero-copy {
    padding-bottom: 4rem;
  }

  .hero-photo img {
    height: 100%;
    max-height: 34rem;
    object-position: 50% 50%;
  }

  .section,
  .cta {
    padding-block: 6rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing {
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
  }

  .area {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
