/* My Father's House Cleaners — shared styles
   Soft, warm, mobile-first. No external fonts or trackers. */

:root {
  --cream: #f6f1e8;
  --cream-dark: #ebe3d4;
  --paper: #fffdf8;
  --ink: #2b2926;
  --ink-muted: #5c574f;
  --sage: #3f6f5c;
  --sage-dark: #2f5546;
  --sage-mid: #4f826c;
  --sage-light: #e6efea;
  --gold: #b8954f;
  --gold-soft: #e8d9b0;
  --border: #e4dccf;
  --shadow: 0 8px 24px rgba(43, 41, 38, 0.08);
  --radius: 16px;
  --max: 1080px;
  --header-h: 4.25rem;
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sage-dark); }
a:hover { color: var(--sage); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sage-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.logo svg { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.logo-tag {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--sage-light); }
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav { display: flex; align-items: center; gap: 0.25rem 1.15rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0.15rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--sage-dark);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover { background: var(--sage-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}
.btn-ghost:hover { background: var(--sage-light); color: var(--sage-dark); }
.btn-gold {
  background: var(--gold);
  color: #2b2926;
  border-color: var(--gold);
}
.btn-gold:hover { background: #a68343; color: #2b2926; }

.header-cta { margin-left: 0.5rem; padding: 0.5rem 0.95rem; font-size: 0.88rem; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-dark);
  margin: 0 0 0.7rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); }
h3 { font-size: 1.2rem; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
  max-width: 38rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.1rem; }

.trust-line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.trust-line strong { color: var(--ink); font-weight: 650; }

.hero-photo {
  margin: 0;
  background: linear-gradient(165deg, var(--sage-light) 0%, #dce8e1 48%, var(--gold-soft) 100%);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(63, 111, 92, 0.12);
  overflow: hidden;
  position: relative;
}
.hero-photo-placeholder {
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--sage-dark);
}
.hero-photo-placeholder svg {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.85rem;
  opacity: 0.85;
}
.hero-photo-placeholder p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-photo-placeholder span {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

/* Homepage photo gallery */
.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: stretch;
}
.gallery-slides {
  position: absolute;
  inset: 0;
}
.gallery-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.gallery-slides img.is-active { opacity: 1; }
.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 2;
  margin: 0;
  padding: 0;
}
.gallery-dots[hidden] { display: none; }
.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.75);
  box-shadow: 0 0 0 1px rgba(47, 85, 70, 0.4);
  cursor: pointer;
}
.gallery-dot[aria-current="true"] { background: var(--sage-dark); }
.gallery.has-photos .hero-photo-placeholder { display: none; }

@media (prefers-reduced-motion: reduce) {
  .gallery-slides img { transition: none; }
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
}
.section-intro { color: var(--ink-muted); max-width: 40rem; margin: 0 0 1.5rem; }

.band {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--sage);
  color: inherit;
}
.card-icon {
  width: 42px;
  height: 42px;
  color: var(--sage);
  margin-bottom: 0.35rem;
}
.card h3 { margin-bottom: 0.15rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: 0.98rem; }
.card .more {
  margin-top: 0.55rem;
  font-weight: 650;
  color: var(--sage-dark);
  font-size: 0.9rem;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.area-list li {
  background: var(--sage-light);
  color: var(--sage-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { margin: 0.2rem 0 0; opacity: 0.92; }
.cta-banner .btn-gold { }

/* Service list */
.service-list { display: grid; gap: 1rem; }
.service {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  box-shadow: var(--shadow);
}
.service svg {
  width: 40px;
  height: 40px;
  color: var(--sage);
}
.service h2 { font-size: 1.3rem; margin: 0 0 0.35rem; }
.service p { margin: 0; color: var(--ink-muted); }
.addons { margin: 0.6rem 0 0; padding: 0 0 0 1.15rem; color: var(--ink); }
.addons li { margin: 0.2rem 0; }

/* About */
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.quote-verse {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-verse p { margin: 0 0 0.35rem; font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; }
.quote-verse cite { color: var(--ink-muted); font-style: normal; font-size: 0.9rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: 1.25rem; }
.contact-methods { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-methods li { margin: 0.7rem 0; }
.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-methods a:hover { text-decoration: underline; }
.contact-methods svg { width: 22px; height: 22px; color: var(--sage); }
.note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
}

form { display: grid; gap: 0.85rem; }
label { font-weight: 650; font-size: 0.92rem; display: grid; gap: 0.35rem; }
input, textarea, select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--gold-soft);
  border-color: var(--gold);
}
textarea { min-height: 8rem; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
button.btn { border-style: solid; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.1rem 1.25rem 0.5rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--sage-dark);
  color: #e8efe9;
  padding: 2rem 1.25rem 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.15rem; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.verse {
  font-family: var(--font-serif);
  font-style: italic;
  margin: 0.4rem 0 0;
  color: #d5e0d8;
  max-width: 36rem;
}
.verse cite { font-style: normal; font-size: 0.9rem; color: var(--gold-soft); }
.legal {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: #c5d0c8;
}

/* Page title bar for inner pages */
@media (max-width: 860px) {
  .hero, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-photo { min-height: 240px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.35rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.55rem 0.2rem; border-bottom: 1px solid var(--border); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .header-cta { margin: 0.5rem 0 0; align-self: flex-start; }
  .service { grid-template-columns: 1fr; }
}

@media (min-width: 620px) and (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.85rem 0.85rem 0.7rem;
}
.gallery-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--sage-dark);
}
.gallery-frame {
  overflow: hidden;
  border-radius: 12px;
  background: #d7cbb8;
}
.gallery-slides img {
  object-fit: contain;
  object-position: center;
  z-index: 1;
}

/* Property feature and guest review grid */
.property-feature .section-intro { max-width: 46rem; }
.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 2rem;
}
.reviews-subhead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--sage-dark);
  margin: 0 0 1.1rem;
  font-weight: 700;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.review-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.review-name {
  margin: 0;
  font-weight: 650;
  color: var(--ink);
}
.review-stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  line-height: 1;
}
.review-title {
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--sage-dark);
}
.review-quote {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}
.review-quote.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-more {
  background: none;
  border: 0;
  color: var(--sage-dark);
  font-weight: 650;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: 0.9rem;
  align-self: flex-start;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.review-more:hover { color: var(--sage); }
.review-meta {
  margin: auto 0 0;
  padding-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.reviews-attribution {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 46rem;
}

@media (min-width: 620px) {
  .review-grid { grid-template-columns: 1fr 1fr; }
}

/* Luxury cabin slideshow (homepage section) */
.cabin-feature { scroll-margin-top: 5rem; }
.cabin-feature .section-intro { max-width: 42rem; }

.cabin-slideshow {
  position: relative;
  margin: 0;
  background: #1c1a17;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(63, 111, 92, 0.18);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  min-height: 260px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.cabin-slides {
  position: absolute;
  inset: 0;
}

.cabin-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: #1c1a17;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.cabin-slides img.is-active { opacity: 1; }

.cabin-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 241, 232, 0.92);
  color: var(--sage-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  line-height: 1;
  font-family: var(--font-sans);
}

.cabin-nav:hover { background: #fff; color: var(--sage); }
.cabin-prev { left: 0.7rem; }
.cabin-next { right: 0.7rem; }

.cabin-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cabin-counter {
  pointer-events: auto;
  background: rgba(28, 26, 23, 0.72);
  color: #f6f1e8;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 217, 176, 0.28);
}

@media (max-width: 860px) {
  .cabin-slideshow {
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }
  .cabin-nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cabin-slides img { transition: none; }
}
