/* Minimal starter styles for migration scaffolding */

:root {
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

a {
  color: inherit;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: .5rem .75rem;
  background: #fff;
  border: 1px solid #111;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.brand a {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 88px;
  width: auto;
}

.brand-accreditation {
  display: block;
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  justify-self: center;
}

.brand-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  justify-self: end;
}

.brand-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  font-size: .85rem;
}

.site-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
  line-height: 1.05;
}

.site-phone {
  font-weight: 700;
  text-decoration: none;
}

.site-phone:hover {
  text-decoration: underline;
}

.site-address {
  font-style: normal;
  line-height: 1.05;
  text-align: right;
  margin: 0;
}

.site-banner {
  display: block;
  height: 88px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

@media (max-width: 520px) {
  .brand {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .75rem;
  }

  .brand-right {
    width: 100%;
    justify-content: space-between;
    justify-self: stretch;
  }

  .brand-accreditation {
    height: 56px;
    max-width: 130px;
  }

  .site-banner {
    height: 64px;
    max-width: 220px;
  }
}

/* Mobile-only sticky call bar */
.mobile-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: .75rem 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.mobile-callbar-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.mobile-callbar-btn {
  width: 100%;
}

@media (min-width: 601px) {
  .mobile-callbar {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 92px;
  }

  /* Use the sticky bar as the prominent phone CTA on mobile */
  .site-phones {
    display: none;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  padding: .75rem 0 0;
}

.nav a {
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.hours-bar {
  margin-top: .75rem;
  padding: .6rem .85rem;
  border: 1px solid #d7ead7;
  background: #f3fbf3;
  border-radius: 12px;
  font-size: .95rem;
}

.callout {
  padding: .6rem .85rem;
  border: 1px solid #d7ead7;
  background: #f3fbf3;
  border-radius: 12px;
}

main {
  padding: 1rem 0 2rem;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .home-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .page-layout {
    /* Give the image gallery more room (2 columns) */
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
    gap: 1.5rem;
  }

  /* Variant used when the page needs more text space */
  .page-layout--textwide {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  }

  /* Homepage variant: reduce Kennels/Cattery blocks by ~30% */
  .page-layout--home {
    --home-block-scale: .7;

    /* Make the right column (blocks) ~30% narrower */
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.91fr);
  }

  .page-layout--home .home-aside {
    gap: calc(1rem * var(--home-block-scale));
  }

  .page-layout--home .card {
    padding: calc(1rem * var(--home-block-scale));
  }

  .page-layout--home .home-preview-grid {
    gap: calc(.75rem * var(--home-block-scale));
    margin-top: calc(.75rem * var(--home-block-scale));
  }
}

@media (min-width: 600px) {
  .page-gallery--two-col .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-gallery--three-col .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-gallery--three-col .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-aside {
  display: grid;
  gap: 1rem;
}

.hero {
  padding: 1rem 0 0;
}

.hero h1 {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
}

.contentBox {
  margin: .75rem 0;
  line-height: 1.35;
  max-width: 80ch;
}

.contentBox h2,
.contentBox h4 {
  margin: .85rem 0 .35rem;
}

.contentBox p {
  margin: .45rem 0;
}

/* Collapse double line-breaks in migrated CMS HTML */
.contentBox br + br {
  display: none;
}

.pricing {
  margin: 1rem 0 1.25rem;
}

.pricing-panel {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 12px;
}

.pricing-panel .pricing {
  margin: 0;
}

.pricing h2 {
  margin: 0 0 .5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 .75rem;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pricing-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: .85rem 1rem;
  border-radius: 12px;
}

.pricing-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.pricing-title {
  font-weight: 700;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.note {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.form {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.form-field {
  display: grid;
  gap: .35rem;
}

.form-field label {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  font: inherit;
  line-height: 1.25;
  background: #fff;
}

textarea {
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem .85rem;
  border: 1px solid #d7ead7;
  background: #f3fbf3;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  filter: brightness(.98);
}

.btn--block {
  width: 100%;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 0.75rem 0;
  z-index: 9999;
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent__text {
  font-size: 0.95rem;
  max-width: 70ch;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.5rem;
}

.map {
  margin-top: 1rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.map-embed {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-title {
  overflow: auto;
}

.title-icon {
  float: left;
  width: 44px;
  height: 44px;
  margin: .15rem .75rem .25rem 0;
}

.point {
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid #d7ead7;
  background: #eef9ee;
  color: #111;
  font-size: .95rem;
  line-height: 1.2;
}

.reviews-grid {
  margin-top: 1rem;

  /* Masonry-style tiling using columns */
  column-count: 2;
  column-gap: 1rem;
}

.review-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  break-inside: avoid;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
}

.review-title {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}

.review-quote {
  margin: 0;
  padding: .75rem 1rem;
  border: 1px solid #d7ead7;
  background: #f3fbf3;
  border-radius: 12px;
}

.review-quote p {
  margin: 0;
  line-height: 1.35;
}

.review-footer {
  margin-top: .75rem;
  display: flex;
  justify-content: flex-end;
}

.review-author {
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.random-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .75rem;
}

.random-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.home-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .75rem;
}

.gallery-figure {
  margin: 0;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.gallery-thumb {
  display: block;
  text-decoration: none;
}

.gallery-thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fafafa;
}

.gallery-caption {
  margin: 0;
  padding: .5rem .75rem;
  border-top: 1px solid #e5e5e5;
  font-size: .95rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Clamp to 5 lines (ellipsis) for long descriptions */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.65);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 1000;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(1100px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #e5e5e5;
}

.modal-title {
  margin: 0;
  font-size: 1.1rem;
}

.modal-close {
  padding: .5rem .75rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  color: #111;
  cursor: pointer;
}

.modal-body {
  padding: 1rem;
}

.modal-img {
  display: block;
  width: 100%;
  height: auto;
}

.modal-desc {
  margin: .75rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid #e5e5e5;
}

.card {
  border: 1px solid #e5e5e5;
  padding: 1rem;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 1rem 0;
  font-size: .95rem;
}

.small {
  font-size: .95rem;
  color: #333;
}

.text-danger {
  color: #8b0000;
}
