/* Wags N Whiskers — site styles
   Brand: purple #8B4FF0 (CTAs) + turquoise #2EC4B6 (calm spa base), white/black neutrals.
   Layout: spa aesthetic, generous whitespace, alternating two-column rows. */

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

:root {
  --purple: #8B4FF0;
  --purple-dark: #4A2E80;
  --purple-light: #F3EFFD;
  --purple-border: #ece6fa;
  --teal: #2EC4B6;
  --teal-dark: #178D82;
  --teal-light: #E5F7F4;
  --black: #1a1530;
  --white: #ffffff;
  --text-muted: #6a6184;
  --text-faint: #9a92ad;
  --maxw: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
}

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

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn-pill:hover { opacity: 0.9; }
.btn-pill:active { transform: scale(0.98); }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo { width: 64px; height: 64px; object-fit: contain; }
.nav-name { font-size: 1.1rem; font-weight: 700; color: var(--purple-dark); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.nav-links a:hover { color: var(--purple); }
.nav-links a.btn-primary { color: var(--white); }
.nav-links a.btn-primary:hover { color: var(--white); }

/* ---------- Section scaffolding ---------- */
section { padding: 4rem 1.5rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.center { text-align: center; }

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tag-teal { background: var(--teal-light); color: var(--teal-dark); }
.tag-purple { background: var(--purple-light); color: var(--purple); }

section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
}
.section-sub { font-size: 0.95rem; color: var(--text-faint); margin-bottom: 2rem; max-width: 560px; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Image placeholders (swap for real <img>) ---------- */
.ph {
  background: var(--teal-light);
  border: 2px dashed var(--teal);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  text-align: center;
  gap: 0.4rem;
  min-height: 220px;
  padding: 1rem;
}
.ph .ph-icon { font-size: 2.5rem; }
.ph .ph-label { font-size: 0.8rem; font-weight: 600; }

/* ---------- Hero ---------- */
#hero { background: var(--purple-light); padding: 3.5rem 1.5rem; }
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-logo { width: 90px; height: 90px; object-fit: contain; margin-bottom: 0.75rem; }
#hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
#hero .hero-sub { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text-muted); margin-bottom: 1.75rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-media .ph, .hero-media img { min-height: 340px; height: 100%; border-radius: 22px; object-fit: cover; width: 100%; }
.hero-media img { filter: contrast(1.1) saturate(1.2); }

/* ---------- Two-column alternating rows ---------- */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.row:last-child { margin-bottom: 0; }
.row.reverse .row-media { order: 2; }
.row.reverse .row-text { order: 1; }
.row-media .ph, .row-media img { min-height: 300px; height: 100%; width: 100%; border-radius: 18px; object-fit: cover; object-position: top; }
.row-text h3 { font-size: 1.4rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 0.3rem; }
.row-text .eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 0.5rem; }
.row-text p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.row-text .note { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 1.1rem; }

/* ---------- Pricing ---------- */
#pricing { background: var(--purple-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.pricing-card { border: 1px solid var(--purple-border); border-radius: 16px; padding: 1.4rem; background: var(--white); }
.pricing-card .coat-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }
.pricing-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 0.1rem; }
.pricing-card .examples { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 0.9rem; }
.size-label { font-size: 0.82rem; font-weight: 700; color: var(--purple); padding-top: 0.5rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: #5b5273; padding: 0.28rem 0; border-top: 1px solid #f3eefb; }
.price-row b { color: var(--teal-dark); }
.extras-box { border: 1px dashed #c7bff0; border-radius: 16px; padding: 1.2rem 1.4rem; background: #faf8fe; margin-bottom: 1rem; text-align: center; }
.extras-box h3 { font-size: 1rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 0.7rem; }
.extras-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.extra-pill { background: var(--white); border: 1px solid var(--purple-border); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.82rem; color: #5b5273; }
.pricing-note { text-align: center; font-size: 0.82rem; color: var(--text-faint); }
.quote-line {
  margin: 1.25rem auto 0;
  max-width: 640px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Gallery ---------- */
#gallery { background: var(--white); }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ba-card { border: 1px solid var(--purple-border); border-radius: 16px; overflow: hidden; background: var(--white); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--purple-border); height: 300px; }
.ba-pair .ph, .ba-pair img { min-height: 160px; border-radius: 0; border: none; height: 100%; width: 100%; object-fit: cover; object-position: top; }
.ba-pair .ph { border-radius: 0; border: none; background: var(--teal-light); }
.ba-tags { display: flex; }
.ba-tags span { flex: 1; text-align: center; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.35rem; }
.ba-tags .before { background: #f4efe9; color: #8a7a66; }
.ba-tags .after { background: var(--teal-light); color: var(--teal-dark); }
.ba-caption { padding: 0.7rem 0.9rem; font-size: 0.85rem; color: var(--text-muted); }
.ba-single img { width: 100%; height: 220px; object-fit: cover; object-position: top; display: block; }
.gallery-cta { text-align: center; margin-top: 1.75rem; }

/* ---------- About ---------- */
#about { background: var(--teal-light); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: center; }
.about-photo .ph, .about-photo img { width: 100%; min-height: 300px; height: 100%; border-radius: 18px; object-fit: cover; object-position: top; }
.about-content h2 { color: var(--teal-dark); }
.about-content p { font-size: 1rem; color: #3f6b63; margin-bottom: 0.7rem; }
.about-creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.cred-pill { background: var(--white); border: 1px solid #bfe7e0; color: var(--teal-dark); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.82rem; font-weight: 600; }

/* ---------- Reviews band ---------- */
#reviews { background: var(--purple-dark); color: #ece6fa; }
#reviews .section-tag { background: rgba(255,255,255,0.12); color: #fff; }
#reviews h2 { color: #fff; }
.stars { font-size: 1.4rem; color: #ffd166; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.review-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 1.3rem; text-align: left; }
.review-card p { font-size: 0.95rem; color: #f3eefb; font-style: italic; margin-bottom: 0.8rem; }
.review-card .who { font-size: 0.85rem; font-weight: 700; color: #cbbcf0; font-style: normal; }

/* ---------- Contact ---------- */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.contact-card { border: 1px solid var(--purple-border); border-radius: 16px; padding: 1.4rem; text-align: center; background: var(--white); }
.contact-card .cc-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.contact-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 0.3rem; }
.contact-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.contact-card a { color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-note { text-align: center; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.social-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-instagram { background: var(--teal); color: var(--white); }

/* ---------- Footer ---------- */
footer { background: var(--purple-dark); color: #d9cef5; text-align: center; padding: 1.5rem; font-size: 0.82rem; }
footer a { color: #fff; text-decoration: none; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--purple); z-index: 200; padding: 0.8rem 1rem; text-align: center; box-shadow: 0 -2px 12px rgba(74,46,128,0.18); }
.mobile-cta a { color: var(--white); font-weight: 700; font-size: 1rem; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid, .row, .about-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .row.reverse .row-media, .row.reverse .row-text { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 640px) {
  section { padding: 3rem 1.25rem; }
  .nav-links { display: none; }
  .nav-logo { width: 44px; height: 44px; }
  .mobile-cta { display: block; }
  #contact { padding-bottom: 5.5rem; }
  footer { padding-bottom: 5rem; }
}
