/* Peach State Rental Properties — warm, trustworthy vacation-rental design */
:root {
  --peach: #c96f4a;
  --peach-dark: #a8552f;
  --peach-light: #f7e8dc;
  --cream: #faf6f1;
  --paper: #ffffff;
  --charcoal: #2e2a26;
  --muted: #6f655c;
  --line: #e8ddd2;
  --green: #2e7d4f;
  --green-bg: #e6f2ea;
  --grey-bg: #f0ede9;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(46, 42, 38, 0.08);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, .brand {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
img { max-width: 100%; display: block; }
a { color: var(--peach-dark); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }

/* Sticky header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 241, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand { font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 600; font-size: 1.35rem; letter-spacing: 0.05em; color: var(--charcoal); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.brand .peach-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--peach); flex: none; }
.main-nav { margin-left: auto; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--charcoal); text-decoration: none; padding: 0.45rem 0.7rem;
  border-radius: 8px; font-size: 0.92rem; font-weight: 500;
}
.main-nav a:hover { background: var(--peach-light); }
.main-nav a.active { background: var(--peach); color: #fff; }
.btn {
  display: inline-block; background: var(--peach); color: #fff; border: 0;
  padding: 0.8rem 1.6rem; border-radius: 10px; font-size: 1rem; font-weight: 700;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--peach-dark); }
.btn:disabled { background: #b9aea4; cursor: not-allowed; }
.btn-secondary { background: var(--paper); color: var(--charcoal); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--peach-light); }
.btn-block { width: 100%; }

main { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1rem 3rem; }
section { margin-bottom: 2.5rem; }

/* Hero */
.hero {
  text-align: center; padding: 4rem 1rem 3.5rem;
  background: linear-gradient(180deg, var(--peach-light), var(--cream));
  border-radius: var(--radius); margin-bottom: 2.5rem;
}
.hero h1 { font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif; font-size: 3rem; margin: 0 0 0.75rem; letter-spacing: 0.08em; font-weight: 500; }
@media (min-width: 720px) { .hero h1 { font-size: 3.9rem; } }
.hero .btn { margin: 0.3rem 0.35rem; }
.hero-logo {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: contain; background: #ffffff; padding: 14px;
  margin: 0 auto 1.5rem; display: block;
  box-shadow: var(--shadow); border: 3px solid var(--paper);
}
@media (min-width: 720px) { .hero-logo { width: 220px; height: 220px; } }
.hero .tagline-rule {
  width: 64px; height: 2px; background: var(--peach);
  margin: 0 auto 1.25rem; border: 0;
}
.hero p.tagline { font-size: 1.15rem; font-weight: 300; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 2rem; text-transform: uppercase; }
.hero .btn { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; padding: 1rem 2.2rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.unit-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.unit-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--grey-bg); }
.unit-card .card-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.unit-card h3 { margin: 0; font-size: 1.15rem; }
.unit-card .subtitle { color: var(--muted); font-size: 0.9rem; margin: 0; }
.unit-card .stats { font-size: 0.9rem; color: var(--muted); margin: 0.25rem 0; }
.unit-card .rating { font-size: 0.88rem; color: var(--peach-dark); font-weight: 600; }
.unit-card .price { font-size: 1.05rem; font-weight: 700; margin-top: auto; padding-top: 0.5rem; }
.unit-card .price small { font-weight: 400; color: var(--muted); }
.unit-card .btn { margin-top: 0.75rem; }

/* Why book direct strip */
.why-strip { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 720px) { .why-strip { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.why-item h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--peach-dark); }
.why-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Area highlights */
.area-list { display: grid; grid-template-columns: 1fr; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .area-list { grid-template-columns: repeat(3, 1fr); } }
.area-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.area-list strong { display: block; }
.area-list span { color: var(--muted); font-size: 0.92rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); margin-top: 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1rem; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.footer-inner strong { color: var(--charcoal); }

/* Unit page */
.gallery { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.gallery .main-photo { border-radius: var(--radius); overflow: hidden; background: var(--grey-bg); }
.gallery .main-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.5rem; }
.thumbs button { border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; background: var(--grey-bg); }
.thumbs button img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.thumbs button.selected { border-color: var(--peach); }
.unit-title h1 { margin: 0 0 0.25rem; font-size: 1.7rem; }
.unit-title .subtitle { color: var(--muted); margin: 0 0 0.5rem; }
.quick-stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0.75rem 0; font-size: 0.95rem; }
.quick-stats .rating { color: var(--peach-dark); font-weight: 700; }
.prose-section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.prose-section h2 { margin: 0 0 0.6rem; font-size: 1.15rem; }
.prose-section p { margin: 0; white-space: pre-line; }
.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1rem; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
@media (min-width: 720px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); } }
.amenities-grid li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.rules-summary { list-style: none; padding: 0; margin: 0 0 0.75rem; display: grid; gap: 0.3rem; font-size: 0.95rem; }
.rules-summary li::before { content: "• "; color: var(--peach-dark); font-weight: 700; }
details.rules-full summary { cursor: pointer; font-weight: 600; color: var(--peach-dark); }
details.rules-full .full-text { white-space: pre-line; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; margin-top: 0.6rem; font-size: 0.92rem; max-height: 320px; overflow-y: auto; }
.cta-bar { position: sticky; bottom: 0; background: rgba(250,246,241,0.97); border-top: 1px solid var(--line); padding: 0.9rem 1rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.cta-bar .from { font-size: 0.9rem; color: var(--muted); }
.cta-bar .from strong { display: block; font-size: 1.15rem; color: var(--charcoal); }

/* Calendars */
.cal-nav { display: flex; justify-content: flex-end; gap: 0.5rem; margin-bottom: 0.6rem; }
.cal-nav-btn { width: 2.4rem; height: 2.4rem; font-size: 1.3rem; line-height: 1; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer; }
.cal-nav-btn:hover:not(:disabled) { background: var(--line); }
.cal-nav-btn:disabled { opacity: 0.35; cursor: default; }
/* Cancellation policy */
.cancel-policy { margin-top: 1rem; padding: 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.cancel-policy h3 { margin: 0 0 0.4rem; font-size: 0.95rem; }
.cancel-policy p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .cal-grid { grid-template-columns: repeat(3, 1fr); } }
.month { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem; }
.month h3 { margin: 0 0 0.6rem; text-align: center; font-size: 1rem; }
.dow-row, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dow-row span { text-align: center; font-size: 0.72rem; color: var(--muted); padding: 0.2rem 0; }
.day {
  aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 0.78rem; border: 1px solid transparent; padding: 0;
}
.day .p { font-size: 0.62rem; color: var(--green); font-weight: 600; }
.day.empty { visibility: hidden; }
.day.available { background: var(--green-bg); border-color: #bcd9c6; }
.day.available .d { font-weight: 600; }
.day.booked { background: var(--grey-bg); color: #a39a90; text-decoration: line-through; }
button.day { cursor: pointer; font: inherit; color: inherit; }
button.day:hover:not(:disabled) { border-color: var(--peach); }
button.day:disabled { cursor: not-allowed; }
button.day.selected { background: var(--peach); color: #fff; border-color: var(--peach-dark); }
button.day.selected .p { color: #fff; }
button.day.in-range { background: var(--peach-light); border-color: var(--peach); }
.day.past { background: var(--grey-bg); color: #c3bab1; }
.cal-legend { display: flex; gap: 1.25rem; font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.3rem; vertical-align: -1px; }
.swatch.avail { background: var(--green-bg); border: 1px solid #bcd9c6; }
.swatch.booked { background: var(--grey-bg); }

/* Booking page */
.book-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 960px) { .book-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.book-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.book-step h2 { margin: 0 0 0.9rem; font-size: 1.15rem; }
.book-step h2 .n { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--peach); color: #fff; font-size: 0.9rem; align-items: center; justify-content: center; margin-right: 0.5rem; }
.stepper { display: flex; align-items: center; gap: 1rem; }
.stepper button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.3rem; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--peach-light); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper .count { font-size: 1.4rem; font-weight: 700; min-width: 2rem; text-align: center; }
.stepper .max-note { font-size: 0.85rem; color: var(--muted); }
.price-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: sticky; top: 72px; }
.price-box h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.nightly-rows { max-height: 220px; overflow-y: auto; margin-bottom: 0.75rem; border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }
.nightly-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 0.15rem 0; color: var(--muted); }
.price-line { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.95rem; }
.price-line.discount { color: var(--green); }
.price-line.total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 0.75rem; }
.tax-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.field input:focus { border-color: var(--peach); outline: none; box-shadow: 0 0 0 2px var(--peach-light); }
.field .err { color: #b3261e; font-size: 0.82rem; margin-top: 0.25rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: #b3261e; }
.rules-box {
  border: 1px solid var(--line); border-radius: 8px; background: var(--cream);
  padding: 1rem; max-height: 260px; overflow-y: auto; white-space: pre-line; font-size: 0.88rem; margin-bottom: 0.9rem;
}
.checkline { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.9rem; font-size: 0.95rem; }
.checkline input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--peach); flex: none; }
.alert { border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1rem; font-size: 0.95rem; }
.alert.error { background: #fdecea; border: 1px solid #f5c6c0; color: #8f1d17; }
.alert.info { background: var(--peach-light); border: 1px solid var(--line); color: var(--charcoal); }
.alert.success { background: var(--green-bg); border: 1px solid #bcd9c6; color: #1e5a35; }
.loading { text-align: center; padding: 2rem; color: var(--muted); }
.spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--peach); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -5px; margin-right: 0.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* Result / success-cancellation pages */
.result-page { text-align: center; padding: 4rem 1rem; max-width: 560px; margin: 0 auto; }
.result-page .icon { font-size: 3.5rem; margin-bottom: 1rem; }
.result-page h1 { margin: 0 0 0.75rem; }
.result-page p { color: var(--muted); margin-bottom: 1.75rem; }

/* Guest reviews */
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.6rem;
}
.review-stars { color: var(--peach-dark); font-size: 1.15rem; letter-spacing: 2px; }
.review-text { margin: 0; font-style: italic; color: var(--charcoal); font-size: 0.98rem; flex: 1; }
.review-meta { font-size: 0.85rem; color: var(--muted); }
.review-date, .review-unit { white-space: nowrap; }
.tour-video { width: 100%; max-width: 960px; margin: 0 auto; display: block; border-radius: var(--radius); background: #000; }

/* Superhost badge — bottom of homepage */
.superhost-section { text-align: center; margin-bottom: 1rem; }
.superhost-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid #c9a45c; border-radius: 999px;
  padding: 0.6rem 1.6rem; background: var(--paper);
  box-shadow: var(--shadow);
}
.superhost-star { color: #c9a45c; font-size: 1.3rem; line-height: 1; }
.superhost-text {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--charcoal);
}
.superhost-text strong { font-weight: 600; }
