/* ==========================================================================
   Vale Dog Groomers — shared stylesheet
   Palette pulled from the Instagram logo (teal paw + black scissors on white)
   ========================================================================== */

:root {
  --teal: #3fb6b3;
  --teal-dark: #2a8f8c;
  --teal-light: #e7f7f6;
  --teal-pale: #f3fbfb;
  --ink: #1f2a2e;
  --ink-soft: #4b5a5e;
  --white: #ffffff;
  --cream: #fbfaf7;
  --border: #e3eeed;
  --shadow: 0 10px 30px rgba(31, 42, 46, 0.08);
  --radius: 16px;
  --max-width: 1140px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(63, 182, 179, 0.35);
}
.btn-primary:hover { background: var(--teal-dark); }

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

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark svg { width: 26px; height: 26px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-text .brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-badge svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal-dark); }

.hero-art {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin: 0 auto; }

.bg-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Service cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--teal-dark); }

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed var(--border);
}

.price-tag {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.price-note {
  display: block;
  font-size: 0.72rem;
  color: #b58a2c;
  background: #fff6e0;
  border: 1px dashed #e4c674;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* ---------- Testimonial ---------- */
.testimonial-slider {
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
  border-radius: 24px;
}
.testimonial-track {
  display: flex;
  animation: testimonial-scroll 60s linear infinite;
}

@keyframes testimonial-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-600%); }
}
.testimonial {
  background: var(--teal);
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  flex: 0 0 100%;
}
.testimonial p { color: var(--white); font-size: 1.15rem; font-style: italic; }
.testimonial .stars { font-size: 1.1rem; letter-spacing: 4px; margin-bottom: 14px; }
.testimonial .who { font-weight: 700; margin-top: 14px; }

/* ---------- Gallery ---------- */
.salon-feature {
  position: relative;
  max-width: 350px;
  margin: 0 auto 64px;
}

.salon-polaroid {
  background: var(--white);
  padding: 14px 14px 46px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.salon-photo {
  width: 100%;
  border-radius: 2px;
  display: block;
}

.salon-feature-label {
  position: absolute;
  top: -34px;
  right: -60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-6deg);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.salon-feature-label span { font-family: "Caveat", cursive; }

.salon-arrow { width: 60px; height: 60px; flex-shrink: 0; }

.gallery-grid {
  columns: 4 250px;
  column-gap: 16px;
}

.gallery-tile {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-tile:hover { transform: scale(1.02); box-shadow: var(--shadow); }

.gallery-tile img { width: 100%; display: block; height: auto; }

.gallery-tile.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  border: 2px dashed var(--teal);
}
.gallery-tile.placeholder svg { width: 34%; height: 34%; opacity: 0.55; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 26, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
  animation: lightbox-fade-in 0.2s ease;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- Legal content ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 20px;
}

.legal-content h3 { margin-top: 36px; }
.legal-content h3:first-child { margin-top: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--ink);
}
.check-list svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.booking-widget-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 32px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-info-row svg { width: 24px; height: 24px; color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.contact-info-row strong { display: block; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--cream);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.78rem;
  color: #b58a2c;
  background: #fff6e0;
  border: 1px dashed #e4c674;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.form-success {
  display: none;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 10px;
  padding: 14px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfe3e2;
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-grid h4 { color: var(--white); font-size: 0.95rem; }
.footer-grid a, .footer-grid p { color: #a9c4c2; font-size: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }

.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; margin-bottom: 12px; }

.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 0.8rem;
  color: #7f9c9a;
  text-align: center;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #cfe3e2; max-width: 520px; margin: 0 auto 24px; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/9; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .main-nav { position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; gap: 6px; border-bottom: 1px solid var(--border); transform: translateY(-130%); opacity: 0; transition: 0.2s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .header-phone span.phone-text { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial, .cta-banner { padding: 32px 22px; }
  form { padding: 22px; }
}
