/* ============================================================================
   THE VILLAGE KENNELS — STYLES
   Pastel watercolor brand: soft off-white, lavender accents, spring-green CTAs,
   charcoal text. Script accent + wide-tracked serif headings + Montserrat body.
============================================================================ */

:root {
  /* Surfaces */
  --paper: #ffffff;
  --paper-soft: #faf8fd;      /* off-white, faint lavender tint */
  --tint-lav: #f5effb;        /* alternating section wash */

  /* Ink (charcoal, not pure black) */
  --ink: #3a3842;
  --ink-soft: #6b6875;
  --ink-faint: #9a97a4;

  /* Lavender (from logo top gradient) */
  --lav-50: #f5f0fb;
  --lav-100: #ece2f8;
  --lav-200: #ddccf2;
  --lav-300: #c7b2ea;
  --lav-400: #b49ce0;

  /* Spring green (from logo bottom gradient) */
  --green-100: #e6f5ea;
  --green-300: #a9dcb6;
  --green-400: #7fcb92;
  --green-500: #4faa6a;
  --green-600: #3a9a5c;       /* CTA background */
  --green-700: #2f7d4b;       /* CTA hover */

  /* Type */
  --f-script: "Dancing Script", "Segoe Script", cursive;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Form */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 40px -24px rgba(58, 56, 66, 0.35);
  --shadow-card: 0 14px 34px -22px rgba(80, 60, 120, 0.45);
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* --------------------------- Reset / base --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper-soft);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible {
  outline: 3px solid var(--lav-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------ Type ------------------------------- */
h1, h2, h3 { font-family: var(--f-serif); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0; }

.eyebrow {
  font-family: var(--f-serif);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--green-600);
  margin: 0 0 0.7rem;
}

.section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: 0.01em; }
.section__sub { color: var(--ink-soft); max-width: 56ch; margin: 0.8rem auto 0; font-size: 1.02rem; }

/* ------------------------------ Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 12px 26px -14px rgba(58, 154, 92, 0.9); }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--lav-200); }
.btn--ghost:hover { border-color: var(--lav-400); background: var(--lav-50); }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* --------------------------- Announcement -------------------------- */
/* Default (info) — lavender/green brand gradient */
.announcement {
  background: linear-gradient(90deg, var(--lav-300), var(--green-400));
  color: #2c2a33;
}
/* warning — amber, for important notices (holiday hours, closures, etc.) */
.announcement[data-level="warning"] {
  background: linear-gradient(90deg, #f5c842, #f0a500);
  color: #3a2a00;
}
/* urgent — red, for same-day or emergency notices */
.announcement[data-level="urgent"] {
  background: linear-gradient(90deg, #e05555, #b92020);
  color: #fff;
}
/* success — green, for positive news (new services, awards, etc.) */
.announcement[data-level="success"] {
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  color: #fff;
}
.announcement__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.55rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.announcement__icon { display: inline-flex; flex-shrink: 0; }
.announcement__text { margin: 0; font-size: 0.92rem; font-weight: 500; flex: 1; }
.announcement__text a { color: inherit; text-decoration: underline; }
.announcement__close {
  background: rgba(255, 255, 255, 0.4);
  border: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
}
.announcement__close:hover { background: rgba(255, 255, 255, 0.7); }

/* ------------------------------ Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lav-100);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand:hover { text-decoration: none; }
.brand__seal { display: inline-flex; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__script { font-family: var(--f-script); font-size: 1.5rem; color: var(--lav-400); font-weight: 700; }
.brand__word { font-family: var(--f-serif); letter-spacing: 0.34em; font-size: 0.74rem; font-weight: 600; color: var(--ink-soft); margin-left: 2px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.nav > a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--green-400); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ Blobs ------------------------------ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.blob--lav { background: var(--lav-300); }
.blob--green { background: var(--green-300); }
.blob--1 { width: 460px; height: 460px; top: -120px; left: -120px; }
.blob--2 { width: 520px; height: 520px; bottom: -180px; right: -140px; }

/* ------------------------------- Hero ------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__script { font-family: var(--f-script); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--lav-400); margin: 0; line-height: 1; }
.hero__title { font-size: clamp(2.6rem, 6.5vw, 4.4rem); margin: 0.1rem 0 0; letter-spacing: 0.005em; }
.hero__lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 46ch; margin: 1.3rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.hero__status { display: inline-flex; align-items: center; gap: 0.55rem; margin: 1.4rem 0 0; font-size: 0.92rem; font-weight: 600; color: var(--green-700); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100); }
.status-dot--off { background: var(--ink-faint); box-shadow: 0 0 0 4px var(--lav-100); }

.hero__media { position: relative; }
.hero__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width: 100%; }
.hero__badge {
  position: absolute; bottom: -18px; left: -14px;
  background: var(--paper); padding: 0.6rem 1.2rem;
  border-radius: 999px; box-shadow: var(--shadow-card);
  border: 1px solid var(--lav-100);
}
.hero__badge-script { font-family: var(--f-script); font-size: 1.35rem; color: var(--green-600); font-weight: 700; }

/* ----------------------------- Sections ---------------------------- */
.section { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint-lav); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); }
.section__foot { text-align: center; margin-top: 2.4rem; color: var(--ink-soft); }

/* ------------------------------ Cards ------------------------------ */
.cards { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--lav-100);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(80, 60, 120, 0.55); }

.service__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(150deg, var(--lav-100), var(--green-100));
  color: var(--ink-soft); margin-bottom: 1.1rem;
}
.service__icon svg { width: 38px; height: 38px; }
.service h3 { font-size: 1.4rem; margin-bottom: 0.45rem; }
.service p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ------------------------------ About ------------------------------ */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about__copy > p { color: var(--ink-soft); margin: 0.9rem 0; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a9a5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.note {
  margin-top: 1.6rem; padding: 1rem 1.2rem;
  background: var(--lav-50); border-left: 3px solid var(--lav-300);
  border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--ink-soft);
}

/* ----------------------------- Pricing ----------------------------- */
.price-card { display: flex; flex-direction: column; text-align: left; position: relative; }
.price-card h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.price-card__desc { color: var(--ink-soft); font-size: 0.95rem; flex: 1; margin: 0 0 1.2rem; }
.price-card__price { font-family: var(--f-serif); font-size: 1.9rem; font-weight: 700; color: var(--green-700); line-height: 1; }
.price-card--featured { border-color: var(--green-400); box-shadow: 0 20px 44px -22px rgba(58, 154, 92, 0.5); }
.price-tag {
  position: absolute; top: -12px; right: 16px;
  background: var(--green-600); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 999px;
}

/* -------------------------- Hours + Events ------------------------- */
.hours-events { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.hours-card, .events-card {
  background: var(--paper);
  border: 1px solid var(--lav-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.hours-card .section__title, .events-card .section__title { font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: left; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.3rem; }
.hours-table tr { border-bottom: 1px solid var(--lav-100); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.7rem 0; font-size: 0.98rem; }
.hours-table td:first-child { font-weight: 600; color: var(--ink); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.is-today td:first-child { color: var(--green-700); }
.hours-table tr.is-today td:first-child::after {
  content: "Today"; margin-left: 0.5rem; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--green-100); color: var(--green-700);
  padding: 0.15rem 0.45rem; border-radius: 999px; vertical-align: middle;
}
.hours-card__note { margin-top: 1.3rem; font-size: 0.86rem; color: var(--ink-faint); }

.events-list { margin-top: 1.3rem; display: grid; gap: 1rem; }
.event {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--lav-50); border: 1px solid var(--lav-100);
}
.event__date {
  flex-shrink: 0; text-align: center; min-width: 58px;
  background: var(--paper); border: 1px solid var(--lav-200);
  border-radius: var(--radius-sm); padding: 0.45rem 0.3rem;
}
.event__month { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-600); }
.event__day { display: block; font-family: var(--f-serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1; }
.event__body h3 { font-size: 1.12rem; font-family: var(--f-sans); font-weight: 700; margin-bottom: 0.2rem; }
.event__body p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.event__when { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.25rem; }
.events-empty { color: var(--ink-faint); font-style: italic; margin-top: 1.3rem; }
.contact-prompt { color: var(--ink-faint); font-style: italic; }
.contact-prompt a { color: var(--green-600); }

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

.review-card { display: flex; flex-direction: column; gap: 0.8rem; }
.review__stars { color: var(--green-600); font-size: 1.15rem; letter-spacing: 0.05em; }
.review__text {
  color: var(--ink-soft); font-size: 0.97rem; line-height: 1.7;
  margin: 0; flex: 1;
  font-style: italic;
}
.review__text::before { content: "\201C"; }
.review__text::after  { content: "\201D"; }
.review__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; }
.review__author { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.review__source {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: var(--lav-100); color: var(--ink-soft);
}
.review__source--google   { background: #e8f0fe; color: #1a73e8; }
.review__source--facebook { background: #e7f0ff; color: #1877f2; }
.review__source--yelp     { background: #fff0ee; color: #d32323; }

/* ----------------------------- Gallery ----------------------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.7rem, 2vw, 1.2rem); }
.gallery__grid img { border-radius: var(--radius); box-shadow: var(--shadow-card); aspect-ratio: 1 / 1; object-fit: cover; }

/* ----------------------------- Contact ----------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.contact__copy .section__title { text-align: left; }
.contact__copy .section__sub { margin-left: 0; }
.contact__list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--paper); border: 1px solid var(--lav-100); color: var(--green-600);
}
.contact__list strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; }
.contact__list a, .contact__list span { color: var(--ink); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ------------------------------ Footer ----------------------------- */
.site-footer { background: var(--ink); color: #d9d7e0; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.site-footer a { color: #d9d7e0; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer__brand .brand__script { color: var(--lav-300); font-size: 1.7rem; }
.site-footer__brand p { color: #a6a3b2; font-size: 0.92rem; margin: 0.5rem 0 1.1rem; max-width: 32ch; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__nav a { font-size: 0.95rem; }
.site-footer__contact p { margin: 0 0 0.5rem; font-size: 0.92rem; color: #a6a3b2; }
.site-footer__contact a { color: #d9d7e0; }

.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.6rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); transition: background 0.2s ease;
}
.social a:hover { background: rgba(255, 255, 255, 0.2); }
.social svg { width: 19px; height: 19px; }

.site-footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem; color: #8b8896;
}
.site-footer__legal .credit { color: #a6a3b2; }

/* ---------------------------- Responsive --------------------------- */
@media (max-width: 980px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; margin-inline: auto; }
  .about__grid, .contact__grid, .hours-events { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 0.5rem var(--gutter) 1.4rem;
    border-bottom: 1px solid var(--lav-100);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--lav-50); }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 0.9rem; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards--4 { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

/* --------------------------- Reduced motion ------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .btn:hover, .card:hover { transform: none; }
}
