/* ==========================================================================
   Salty Dog Grooming LLC — stylesheet
   ========================================================================== */

:root {
  --teal:      #2BABB8;
  --teal-dk:   #1A7A87;
  --teal-bg:   #E8F7F9;
  --orange:    #FF7A1A;
  --orange-lt: #FFB347;
  --sand:      #FBF7EE;
  --white:     #FFFFFF;
  --text:      #1C2B2D;
  --muted:     #5A7A80;
  --star:      #F2A90D;

  --nav-h: 80px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(28, 43, 45, 0.08);
  --shadow-md: 0 12px 30px rgba(26, 122, 135, 0.18);
  --container: 1180px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

em { font-style: italic; color: var(--orange); }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--sand   { background: var(--sand); }
.section--teal-bg { background: var(--teal-bg); }
.section--teal   { background: var(--teal); color: var(--white); }
.section--teal-dk { background: var(--teal-dk); color: var(--white); }
.section--white  { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 122, 26, 0.32);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn--outline-dark:hover {
  background: var(--teal);
  color: var(--white);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--teal);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}

.nav.scrolled {
  height: 66px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 2.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo-icon { height: 52px; width: auto; }

.nav__logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
}

.nav__logo-llc {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.08em;
  color: var(--orange-lt);
  margin-left: 2px;
}

.nav__panel {
  display: contents;
}

.nav__links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav__phone {
  flex-shrink: 0;
}

.nav__links a {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--orange-lt);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  right: 0;
}

.nav__phone {
  padding: 0.65rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--white);
}

.nav__toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  padding-top: var(--nav-h);
  background-color: var(--teal);
  background-image: url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?w=1600&q=85');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 122, 135, 0.72) 0%,
    rgba(43, 171, 184, 0.60) 60%,
    rgba(26, 122, 135, 0.80) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.hero__body h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero__body h1 em {
  color: var(--orange-lt);
}

.hero__body .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 480px;
  margin: 0 auto 34px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
}

.hero__stars .stars { color: var(--star); letter-spacing: 2px; }

.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: none;
  border: none;
  padding: 8px;
  color: var(--white);
  opacity: 0.6;
  animation: hero-bounce 2s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.hero__scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__scroll-cue svg {
  width: 28px;
  height: 28px;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--teal-dk);
  color: var(--white);
  padding: 44px 0;
}

.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust__stat .value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--orange-lt);
  margin-bottom: 6px;
}

.trust__stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

/* Center orphaned last item */
.service-card:last-child {
  grid-column: 2 / 3;
}

.service-card {
  background: var(--sand);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(43, 171, 184, 0.22);
}

.service-card .tag {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Dental ---------- */
.dental-card {
  background: var(--teal);
  color: var(--white);
  border-radius: 18px;
  padding: 60px;
  max-width: 720px;
  margin: 0 auto;
}

.dental-card .eyebrow { color: var(--orange-lt); }

.dental-card h2 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 38px);
  margin-bottom: 16px;
}

.dental-card__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 26px;
}

.dental-list {
  margin-bottom: 32px;
}

.dental-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15.5px;
  display: flex;
  gap: 10px;
}

.dental-list li:last-child { border-bottom: none; }

.dental-list li .dash { color: var(--orange-lt); font-weight: 700; }

/* ---------- Cat club ---------- */
.catclub-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.catclub-photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
}

.catclub-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catclub-body h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin-bottom: 18px;
}

.catclub-body > p {
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 24px;
}

.dash-list li {
  padding: 10px 0;
  font-size: 15.5px;
  display: flex;
  gap: 10px;
  color: var(--text);
}

.dash-list li .dash { color: var(--orange); font-weight: 700; }

.catclub-body .btn { margin-top: 26px; }

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.reviews-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  max-width: 520px;
}

.reviews-rating {
  text-align: right;
}

.reviews-rating .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  color: var(--text);
  line-height: 1;
}

.reviews-rating .stars {
  color: var(--star);
  font-size: 18px;
  letter-spacing: 3px;
  display: block;
  margin: 8px 0 4px;
}

.reviews-rating .count {
  color: var(--muted);
  font-size: 14px;
  display: block;
  margin-bottom: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review-card .stars {
  color: var(--star);
  letter-spacing: 3px;
  font-size: 15px;
  display: block;
  margin-bottom: 14px;
}

.review-card blockquote {
  margin: 0 0 16px;
  font-style: italic;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}

.review-card cite {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Gallery ---------- */
.gallery-banner,
.gallery-row-2 a,
.gallery-row-3 a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.gallery-banner {
  height: 300px;
  margin-bottom: 24px;
}

.gallery-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.gallery-divider {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin: 0 0 24px;
}

.gallery-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-row-2 a,
.gallery-row-3 a {
  height: 260px;
}

.gallery-banner img,
.gallery-row-2 img,
.gallery-row-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-banner:hover img,
.gallery-row-2 a:hover img,
.gallery-row-3 a:hover img {
  transform: scale(1.03);
}

/* ---------- Boutique ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.product-card__image {
  height: 200px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image svg {
  width: 56px;
  height: 56px;
}

.product-card__body {
  padding: 22px;
}

.product-card__tag {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin-bottom: 8px;
}

.product-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-card__body p {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.product-card__price {
  display: block;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 16px;
}

.product-note {
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin-top: 28px;
}

/* ---------- KennelCard teaser ---------- */
.kennelcard-section {
  text-align: center;
}

.kc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px 8px 10px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.kc-badge svg { height: 22px; width: auto; }

.kc-badge span {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.kennelcard-section h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.kennelcard-section .sub {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.kc-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: left;
}

.kc-features li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.kc-features .dash {
  color: var(--orange-lt);
  font-weight: 700;
  flex-shrink: 0;
}

.kc-soon {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.kennelcard-section .attribution {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 460px;
  margin: 0 auto 28px;
}

.kc-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}

.kc-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
}

.kc-form input::placeholder { color: rgba(255, 255, 255, 0.55); }

.kc-form input:focus {
  outline: none;
  border-color: var(--orange-lt);
}

.kc-form .btn {
  padding: 14px 26px;
}

.kc-message {
  margin-top: 16px;
  font-size: 14px;
  color: var(--orange-lt);
  min-height: 20px;
}

/* ---------- Hours & Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-grid h2 {
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 32px);
  margin-bottom: 26px;
}

.hours-table {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-table li {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15.5px;
}

.hours-table li.closed { color: rgba(255, 255, 255, 0.5); }

.hours-table li .time { color: var(--orange-lt); font-weight: 500; }

.hours-table li.closed .time { color: rgba(255, 255, 255, 0.5); font-weight: 400; }

.hours-note {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.5;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--orange-lt);
  border-bottom: 1px solid rgba(255, 178, 71, 0.4);
  padding-bottom: 2px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15.5px;
}

.contact-list li:first-child { padding-top: 0; }

.contact-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--orange-lt);
  margin-top: 2px;
}

.contact-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dk);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 26px 0;
  font-size: 13.5px;
}

/* ---------- Fade-in on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Image fallback ---------- */
.img-fallback {
  background: linear-gradient(135deg, var(--teal-bg), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .dental-card { padding: 44px; }
  .catclub-grid { grid-template-columns: 1fr; }
  .catclub-photo { height: 320px; }
}

@media (max-width: 900px) {
  .nav .container { padding: 0 1.25rem; }
  .nav__logo-icon { height: 40px; }
  .nav__logo-text { font-size: 1.1rem; }

  .nav__panel { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav--open .nav__panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-dk);
    padding: 20px 24px 28px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }

  .nav--open .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav--open .nav__phone { align-self: stretch; text-align: center; }

  .gallery-row-3 { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .dental-card {
    padding: 1.8rem 1.4rem;
    border-radius: 10px;
  }

  .dental-card h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .dental-card__sub {
    font-size: 0.88rem;
  }

  .dental-list li {
    font-size: 0.88rem;
    gap: 0.7rem;
  }

  .dental-card .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .dental-card { padding: 32px 24px; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .reviews-rating { text-align: left; }
  .gallery-banner { height: 220px; }
  .gallery-row-2, .gallery-row-3 { grid-template-columns: 1fr; }
  .gallery-row-2 a, .gallery-row-3 a { height: 220px; }
  .kc-form { flex-direction: column; }
  .kc-form input, .kc-form .btn { width: 100%; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
}

@media (max-width: 600px) {
  .trust .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .trust__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.1rem 1rem;
  }

  .trust__stat .value {
    font-size: 1.2rem;
  }

  .trust__stat .label {
    font-size: 0.78rem;
  }

  .hero__ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__ctas .btn {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  #dental { padding-left: 1rem; padding-right: 1rem; }

  .dental-card {
    padding: 1.4rem 1.1rem;
    margin: 0 0.5rem;
  }

  .dental-card h2 {
    font-size: 1.4rem;
  }
}
