/* ============================================
   Pet Whisperer Spa — Luxury Pet Wellness
   Colors: warm cream bg, sage green primary,
   soft coral accent. Rounded, app-like.
   Nunito headings, Outfit body.
   ============================================ */

/* --- Reset & Base --- */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: #4A4540;
  background-color: #FFF8F0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Focus --- */

:focus-visible {
  outline: 2px solid #5B9F8D;
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Typography --- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: #2D2A26;
}

a {
  color: #5B9F8D;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #488B79;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 159, 141, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
}

.nav-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: #2D2A26;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand:hover {
  color: #2D2A26;
}

.nav-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #5B9F8D;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9B958E;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background-color: rgba(91, 159, 141, 0.08);
  color: #5B9F8D;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 4rem 1.25rem 3rem;
  max-width: 68rem;
  margin: 0 auto;
}

.hero-inner {
  background: linear-gradient(135deg, #5B9F8D 0%, #488B79 100%);
  border-radius: 20px;
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-cta {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #5B9F8D;
  background-color: #FFFFFF;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  color: #488B79;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Services — Platform Cards
   ============================================ */

.services-section {
  padding: 3rem 1.25rem;
  max-width: 68rem;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  letter-spacing: -0.01em;
}

.section-count {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9B958E;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(45, 42, 38, 0.04);
  border: 1px solid rgba(45, 42, 38, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-icon--sage { background-color: #EBF5F1; }
.service-icon--coral { background-color: #FEF0EB; }
.service-icon--lavender { background-color: #F0EDF8; }
.service-icon--amber { background-color: #FFF3E0; }
.service-icon--sky { background-color: #E8F4FD; }
.service-icon--rose { background-color: #FDE8EF; }

.service-card-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2D2A26;
}

.service-card-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1875rem 0.5rem;
  border-radius: 4px;
  margin-left: auto;
}

.service-card-tag--popular {
  background-color: #F4845F;
  color: #FFFFFF;
}

.service-card-tag--new {
  background-color: #5B9F8D;
  color: #FFFFFF;
}

.service-card-desc {
  font-size: 0.875rem;
  color: #7A7470;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(45, 42, 38, 0.06);
}

.service-card-duration {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9B958E;
}

.service-card-price {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: #5B9F8D;
}

/* ============================================
   Why Section — Info Blocks
   ============================================ */

.why-section {
  padding: 2rem 1.25rem 3rem;
  max-width: 68rem;
  margin: 0 auto;
}

.why-banner {
  background-color: #2D2A26;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-text h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.why-text p {
  font-size: 0.9375rem;
  color: #9B958E;
  line-height: 1.7;
  max-width: 32rem;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.why-stat {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.why-stat-value {
  font-family: 'Nunito', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #F4845F;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.why-stat-label {
  font-size: 0.75rem;
  color: #9B958E;
  font-weight: 500;
}

/* ============================================
   Reviews — Platform Style
   ============================================ */

.reviews-section {
  padding: 3rem 1.25rem;
  max-width: 68rem;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.review-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(45, 42, 38, 0.04);
  border: 1px solid rgba(45, 42, 38, 0.06);
}

.review-stars {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.9375rem;
  color: #4A4540;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.review-attr {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  background-color: #EBF5F1;
  flex-shrink: 0;
}

.review-name {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #2D2A26;
}

.review-pet {
  font-size: 0.75rem;
  color: #9B958E;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  padding: 2rem 1.25rem 3rem;
  max-width: 68rem;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, #F4845F 0%, #E8734E 100%);
  border-radius: 20px;
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-button {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #F4845F;
  background-color: #FFFFFF;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  color: #E8734E;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Portfolio CTA
   ============================================ */

.portfolio-cta {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  max-width: 68rem;
  margin: 0 auto;
}

.portfolio-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9B958E;
  margin-bottom: 1rem;
}

.portfolio-link {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #5B9F8D;
  border: 2px solid #5B9F8D;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.portfolio-link:hover {
  background-color: #5B9F8D;
  color: #FFFFFF;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background-color: #2D2A26;
  border-radius: 20px 20px 0 0;
  padding: 2.5rem 1.25rem;
  margin-top: 1rem;
}

.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #5B9F8D;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #7A7470;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: #5C5753;
  max-width: 36rem;
  line-height: 1.6;
}

.footer-credit {
  font-size: 0.75rem;
  color: #5C5753;
  white-space: nowrap;
}

.footer-credit a {
  color: #7A7470;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.1);
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: #5B9F8D;
  text-decoration-color: #5B9F8D;
}

/* ============================================
   Responsive — 640px+
   ============================================ */

@media (min-width: 640px) {
  .nav {
    padding: 0.875rem 2rem;
  }

  .hero {
    padding: 4rem 2rem 3rem;
  }

  .hero-inner {
    padding: 4rem 3rem;
  }

  .services-section {
    padding: 3rem 2rem;
  }

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

  .why-section {
    padding: 2rem 2rem 3rem;
  }

  .why-banner {
    padding: 3rem 2.5rem;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .reviews-section {
    padding: 3rem 2rem;
  }

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

  .cta-section {
    padding: 2rem 2rem 3rem;
  }

  .cta-card {
    padding: 4rem 3rem;
  }

  .portfolio-cta {
    padding: 2rem 2rem 3rem;
  }

  .site-footer {
    padding: 2.5rem 2rem;
  }

  .nav-links {
    gap: 0.25rem;
  }
}

/* ============================================
   Responsive — 900px+
   ============================================ */

@media (min-width: 900px) {
  .hero-inner {
    padding: 5rem 4rem;
  }

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

  .why-banner {
    padding: 3.5rem 3rem;
  }

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

  .nav-links a {
    padding: 0.5rem 1rem;
  }
}

/* Mobile nav fix — hide cramming link list on phones (brand stays) */
@media (max-width: 639px) {
  .nav-links { display: none; }
}
