/* LBL Pet Resort — site styles
   Mobile-first. Edit colors in :root if you want a different look. */

:root {
  --bg: #f4efe6;
  --bg-deep: #e8dfd0;
  --paper: #fffdf9;
  --ink: #1a2b22;
  --ink-soft: #3d4e44;
  --muted: #66726b;
  --line: #ddd3c3;
  --forest: #1f4a36;
  --forest-mid: #2c5d45;
  --forest-deep: #153628;
  --moss: #4c7a5c;
  --leaf: #9bb58a;
  --sand: #ead9b8;
  --terracotta: #b85a32;
  --gold: #c99a4a;
  --shadow: 0 20px 50px rgba(26, 43, 34, 0.1);
  --shadow-sm: 0 8px 24px rgba(26, 43, 34, 0.07);
  --radius: 20px;
  --radius-sm: 12px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 72rem;
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--forest);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

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

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

a {
  color: var(--forest);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--terracotta); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--forest);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(26, 43, 34, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-open { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.nav.is-open { display: block; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
}
.nav a:hover,
.nav a:focus-visible {
  background: var(--bg-deep);
  color: var(--forest);
  box-shadow: none;
}
.nav .nav-cta {
  margin-top: 0.5rem;
  background: var(--forest);
  color: var(--paper) !important;
  text-align: center;
}
.nav .nav-cta:hover { background: var(--forest-deep); color: var(--paper) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--forest);
  color: var(--paper) !important;
}
.btn-primary:hover { background: var(--forest-deep); color: var(--paper) !important; }
.btn-ghost {
  background: transparent;
  color: var(--paper) !important;
  border-color: rgba(255, 253, 249, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 253, 249, 0.12);
  color: var(--paper) !important;
}
.btn-secondary {
  background: var(--paper);
  color: var(--forest) !important;
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--forest); }
.hero-actions .btn-ghost {
  color: var(--ink) !important;
  border-color: var(--line);
  background: var(--paper);
}
.hero-actions .btn-ghost:hover {
  background: var(--bg-deep);
  color: var(--forest) !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 1rem 0 2.5rem;
}
.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 22rem;
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-media .photo-note {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  padding: 0.25rem 0.55rem;
  background: rgba(26, 43, 34, 0.55);
  color: #f6f1e8;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-copy {
  margin-top: -3.5rem;
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  margin-inline: 0.75rem;
  border: 1px solid rgba(221, 211, 195, 0.7);
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.6rem;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
  color: var(--forest-deep);
}
.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 1.35rem;
  max-width: 38rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta svg { width: 1.05rem; height: 1.05rem; color: var(--moss); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-header {
  max-width: 38rem;
  margin-bottom: 2rem;
}
.section-header h2,
.section h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: var(--forest-deep);
}
.section-header p,
.intro {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Feature cards ---------- */
.features { padding-top: 1.5rem; }
.feature-grid {
  display: grid;
  gap: 1rem;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: #eaf2ea;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.feature-icon svg { width: 1.35rem; height: 1.35rem; }
.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Split story / photos ---------- */
.story {
  background: var(--forest);
  color: #e8efe9;
  padding: 3.5rem 0;
  border-radius: 0;
}
.story h2 { color: #f4efe6; }
.story .intro { color: #c9d6ce; }
.story a { color: #f0d3a8; text-decoration-color: rgba(240, 211, 168, 0.75); }
.story a:hover { color: #fff; }
.story-grid {
  display: grid;
  gap: 1.5rem;
}
.story-copy p { margin: 0 0 1rem; color: #d5e0d8; }
.story-copy p:last-of-type { margin-bottom: 0; }
.story-photos {
  display: grid;
  gap: 0.75rem;
}
.photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 14rem;
}
.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}
.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(15, 28, 22, 0.75));
  color: #f6f1e8;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.25rem 1.2rem 1.25rem 4.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--terracotta);
}
.step h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Requirements ---------- */
.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.req-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  align-items: start;
}
.req-list .check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #eaf2ea;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.req-list .check svg { width: 0.9rem; height: 0.9rem; }
.req-list strong { display: block; font-weight: 600; color: var(--ink); }
.req-list span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Rates (easy to edit) ---------- */
.rates { background: var(--bg-deep); }
.rates-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.rates-pending {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rates-pending .price-line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--forest-deep);
  margin: 0 0 0.4rem;
}
.rates-pending p { margin: 0; color: var(--ink-soft); }
.rate-grid {
  display: grid;
  gap: 1rem;
}
.rate-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}
.rate-card h3 { margin: 0 0 0.35rem; }
.rate-card .price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
}
.rate-card .price span {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}
.rate-card p { margin: 0; color: var(--ink-soft); }

/* ---------- Booking form ---------- */
.book .section-header { max-width: 42rem; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-grid.two,
.form-row {
  display: grid;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field span,
.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--terracotta); }
.hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233d4e44' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 74, 54, 0.18);
}
.service-options {
  display: grid;
  gap: 0.6rem;
}
.service-options label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  font-weight: 500;
  background: #fff;
}
.service-options input { accent-color: var(--forest); width: 1.05rem; height: 1.05rem; }
.service-options label:has(input:checked) {
  border-color: var(--forest);
  background: #eaf2ea;
}

.dogs-wrap { display: grid; gap: 1rem; }
.dog-card {
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: #fbf8f2;
}
.dog-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  color: var(--forest);
}
.file-field input[type="file"] {
  padding: 0.55rem;
  background: #fbf8f2;
  font-size: 0.9rem;
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.form-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.honey {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ---------- Footer / thanks ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #d5e0d8;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h2,
.site-footer .logo-name { color: #f4efe6; }
.site-footer p, .site-footer a { color: #c9d6ce; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 0.5rem 0 0; max-width: 22rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: #9aada1;
}
.photo-credit { font-size: 0.78rem; }

/* Thank-you page */
.thanks-page { min-height: 100vh; display: flex; flex-direction: column; }
.thanks-page main { flex: 1; display: flex; align-items: center; padding: 3rem 0; }
.thanks-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 36rem;
  margin: 0 auto;
}
.thanks-card .mark {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1rem;
}
.thanks-card h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.thanks-card p { color: var(--ink-soft); }
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .wrap { width: min(100% - 3rem, var(--max)); }
  .nav-toggle { display: none; }
  .nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .nav a { padding: 0.45rem 0.7rem; font-size: 0.95rem; }
  .nav .nav-cta {
    margin-top: 0;
    margin-left: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
  }
  .hero-media img { height: 36rem; }
  .hero-copy {
    margin-top: -6rem;
    margin-inline: 2rem;
    padding: 2.1rem 2rem 1.85rem;
    max-width: 40rem;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .form-grid.two,
  .form-row { grid-template-columns: 1fr 1fr; }
  .service-options { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .form-card { padding: 2rem; }
}

@media (min-width: 1040px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .story-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: center;
  }
  .story-photos { grid-template-columns: 1fr 1fr; }
  .story-photos .photo-card:first-child { grid-row: span 2; min-height: 100%; }
  .story-photos .photo-card:first-child img { min-height: 100%; height: 100%; object-position: 50% 30%; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 1.5rem 1.25rem 1.4rem; }
  .step::before { position: static; display: block; margin-bottom: 0.8rem; }
  .req-list { grid-template-columns: 1fr 1fr; }
  .hero-copy { margin-left: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
