/* ==========================================================================
   Williamstown Dog Grooming - Elementor Widgets Stylesheet
   Luxury Editorial Palette: Cream (#FAF7F2), Dark (#221C1D), Gold (#C89B3C), Sage (#5B7C54)
   ========================================================================== */

:root {
  --wdg-cream: #FAF7F2;
  --wdg-white: #FFFFFF;
  --wdg-dark: #221C1D;
  --wdg-gold: #C89B3C;
  --wdg-gold-light: #F5ECE0;
  --wdg-gold-dark: #9F7726;
  --wdg-sage: #5B7C54;
  --wdg-sage-light: #EBF3EA;
  --wdg-soft-blue: #DCE6F5;
  --wdg-blush: #F7E7E2;
  --wdg-muted: #7A7270;
  --wdg-border: #EAE0CE;
  --wdg-border-light: #EFE8DB;
  --wdg-font-serif: 'Fraunces', 'Recoleta', Georgia, serif;
  --wdg-font-sans: 'Plus Jakarta Sans', 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Wrapper */
.wdg-section {
  font-family: var(--wdg-font-sans);
  color: var(--wdg-dark);
  line-height: 1.5;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.wdg-section *, .wdg-section *::before, .wdg-section *::after {
  box-sizing: border-box;
}

.wdg-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography */
.wdg-serif {
  font-family: var(--wdg-font-serif);
}

.wdg-italic {
  font-style: italic;
}

.wdg-text-gold {
  color: var(--wdg-gold);
}

.wdg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wdg-white);
  border: 1px solid rgba(200, 155, 60, 0.35);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wdg-dark);
}

.wdg-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wdg-gold);
}

.wdg-eyebrow-gold {
  background: var(--wdg-gold-light);
  color: var(--wdg-gold-dark);
  border: none;
}

/* Buttons */
.wdg-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wdg-gold);
  color: var(--wdg-white);
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(200, 155, 60, 0.25);
}

.wdg-btn-gold:hover {
  background: var(--wdg-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(200, 155, 60, 0.35);
  color: var(--wdg-white);
}

.wdg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wdg-white);
  color: var(--wdg-dark);
  border: 1px solid #DED4C0;
  padding: 14px 26px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wdg-btn-outline:hover {
  background: #F3EFE6;
  border-color: var(--wdg-gold);
  transform: translateY(-2px);
}

.wdg-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wdg-dark);
  color: var(--wdg-white);
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wdg-btn-dark:hover {
  background: var(--wdg-gold);
  color: var(--wdg-white);
  transform: translateY(-2px);
}

/* Card Hover Elevation */
.wdg-card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.wdg-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(34, 28, 29, 0.1);
}

/* Bulletproof Icons */
.wdg-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   1. Header & Top Bar
   ========================================================================== */
.wdg-topbar {
  background: var(--wdg-dark);
  color: var(--wdg-white);
  font-size: 12px;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wdg-topbar-tag {
  background: rgba(200, 155, 60, 0.25);
  color: var(--wdg-gold);
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wdg-topbar a {
  color: var(--wdg-gold);
  text-decoration: none;
  font-weight: 700;
}

.wdg-header {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--wdg-border-light);
  position: sticky;
  top: 0;
  z-index: 999;
}

.wdg-header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wdg-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--wdg-dark);
}

.wdg-brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.wdg-brand-text {
  font-family: var(--wdg-font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--wdg-dark);
}

.wdg-brand-sub {
  font-family: var(--wdg-font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wdg-gold);
  font-weight: 600;
  display: block;
  margin-top: 3px;
}

.wdg-nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.wdg-nav-menu a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(34, 28, 29, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.wdg-nav-menu a:hover {
  color: var(--wdg-gold);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.wdg-hero-wrap {
  padding: 50px 0 80px;
  position: relative;
  background: var(--wdg-cream);
  overflow: hidden;
}

.wdg-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.wdg-hero-title {
  font-size: 58px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wdg-dark);
  margin: 20px 0 16px;
}

.wdg-hero-desc {
  font-size: 16px;
  color: rgba(34, 28, 29, 0.78);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.wdg-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.wdg-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 223, 200, 0.7);
  font-size: 12px;
  font-weight: 600;
}

.wdg-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wdg-hero-composition {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.wdg-hero-card {
  background: var(--wdg-white);
  padding: 14px;
  border-radius: 34px;
  box-shadow: 0 20px 40px -10px rgba(34, 28, 29, 0.12);
  border: 1px solid var(--wdg-border-light);
}

.wdg-hero-img-box {
  position: relative;
  height: 440px;
  border-radius: 26px;
  overflow: hidden;
}

.wdg-hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wdg-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 28, 29, 0.7) 0%, transparent 60%);
}

.wdg-hero-glass-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wdg-floating-pill-left {
  position: absolute;
  top: -12px;
  left: -20px;
  background: var(--wdg-white);
  border: 1px solid var(--wdg-border);
  padding: 10px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px -5px rgba(34, 28, 29, 0.08);
}

.wdg-floating-pill-right {
  position: absolute;
  bottom: -16px;
  right: -20px;
  background: var(--wdg-dark);
  color: var(--wdg-white);
  border: 1px solid rgba(200, 155, 60, 0.3);
  padding: 12px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 30px -5px rgba(34, 28, 29, 0.2);
}

/* ==========================================================================
   3. About & Mindkit Philosophy Section
   ========================================================================== */
.wdg-about-wrap {
  padding: 90px 0;
  background: var(--wdg-white);
  border-top: 1px solid var(--wdg-border-light);
  border-bottom: 1px solid var(--wdg-border-light);
}

.wdg-manifesto-bar {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.wdg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.wdg-stat-card {
  background: var(--wdg-cream);
  border: 1px solid var(--wdg-border);
  padding: 24px;
  border-radius: 24px;
  text-align: center;
}

.wdg-stat-num {
  font-family: var(--wdg-font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--wdg-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.wdg-stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wdg-dark);
}

.wdg-stat-sub {
  font-size: 11px;
  color: var(--wdg-muted);
  margin-top: 4px;
}

.wdg-about-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.wdg-about-image-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(34, 28, 29, 0.12);
  border: 4px solid var(--wdg-white);
}

.wdg-about-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.wdg-about-quote-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: 20px;
}

.wdg-pillar-card {
  background: var(--wdg-cream);
  border: 1px solid var(--wdg-border);
  padding: 20px;
  border-radius: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* ==========================================================================
   4. Services Grid Section
   ========================================================================== */
.wdg-services-wrap {
  padding: 90px 0;
  background: var(--wdg-cream);
}

.wdg-services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
  gap: 20px;
}

.wdg-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wdg-border);
}

.wdg-tab-btn {
  background: var(--wdg-white);
  color: var(--wdg-dark);
  border: 1px solid transparent;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wdg-tab-btn.active, .wdg-tab-btn:hover {
  background: var(--wdg-dark);
  color: var(--wdg-white);
}

.wdg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wdg-service-card {
  background: var(--wdg-white);
  border: 1px solid var(--wdg-border);
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.wdg-service-featured {
  border: 2px solid var(--wdg-gold);
}

.wdg-badge-popular {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--wdg-gold);
  color: var(--wdg-white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-bottom-left-radius: 14px;
}

.wdg-service-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wdg-service-accordion.active {
  max-height: 500px;
}

/* ==========================================================================
   5. Why Choose Us (USPs)
   ========================================================================== */
.wdg-why-wrap {
  padding: 90px 0;
  background: var(--wdg-white);
  border-top: 1px solid var(--wdg-border-light);
  border-bottom: 1px solid var(--wdg-border-light);
}

.wdg-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wdg-why-card {
  background: rgba(250, 247, 242, 0.7);
  border: 1px solid var(--wdg-border);
  padding: 28px;
  border-radius: 28px;
}

/* ==========================================================================
   6. Meet The Team (Mei Lin)
   ========================================================================== */
.wdg-team-wrap {
  padding: 90px 0;
  background: var(--wdg-cream);
}

.wdg-team-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--wdg-white);
  border: 1px solid var(--wdg-border);
  border-radius: 36px;
  padding: 40px;
  box-shadow: 0 15px 35px -10px rgba(34, 28, 29, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
}

.wdg-team-photo {
  height: 340px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(34, 28, 29, 0.1);
}

.wdg-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   7. Store Teaser Section
   ========================================================================== */
.wdg-store-wrap {
  padding: 90px 0;
  background: var(--wdg-white);
}

.wdg-store-card {
  background: var(--wdg-dark);
  color: var(--wdg-white);
  border-radius: 38px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ==========================================================================
   8. Testimonials Section
   ========================================================================== */
.wdg-reviews-wrap {
  padding: 90px 0;
  background: var(--wdg-cream);
}

.wdg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wdg-review-card {
  background: var(--wdg-white);
  border: 1px solid var(--wdg-border);
  border-radius: 30px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   9. Location & Hours
   ========================================================================== */
.wdg-location-wrap {
  padding: 90px 0;
  background: var(--wdg-cream);
}

.wdg-location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.wdg-hours-table {
  background: var(--wdg-white);
  border: 1px solid var(--wdg-border);
  border-radius: 26px;
  padding: 24px;
}

.wdg-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F0ECE4;
  font-size: 12px;
}

.wdg-hours-late {
  color: var(--wdg-gold-dark);
  font-weight: 700;
}

.wdg-map-box {
  background: var(--wdg-white);
  border: 1px solid var(--wdg-border);
  border-radius: 32px;
  padding: 12px;
  height: 420px;
  overflow: hidden;
}

.wdg-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
}

/* ==========================================================================
   10. Final CTA & Footer
   ========================================================================== */
.wdg-final-cta {
  background: var(--wdg-dark);
  color: var(--wdg-white);
  padding: 80px 0;
  text-align: center;
}

.wdg-footer {
  background: #1B1617;
  color: var(--wdg-white);
  padding: 60px 0 40px;
}

.wdg-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wdg-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Global Booking Modal
   ========================================================================== */
.wdg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(34, 28, 29, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wdg-modal-card {
  background: var(--wdg-white);
  width: 100%;
  max-width: 480px;
  border-radius: 32px;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--wdg-border);
}

.wdg-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F2EDE4;
  border: none;
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wdg-dark);
}

.wdg-modal-header {
  margin-bottom: 16px;
}

.wdg-modal-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wdg-gold);
}

.wdg-modal-title {
  font-family: var(--wdg-font-serif);
  font-size: 26px;
  margin: 4px 0;
  color: var(--wdg-dark);
}

.wdg-modal-service {
  font-size: 12px;
  color: var(--wdg-muted);
}

.wdg-modal-call-strip {
  background: var(--wdg-cream);
  border: 1px solid var(--wdg-border);
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 12px;
  margin-bottom: 20px;
}

.wdg-modal-phone {
  color: var(--wdg-gold);
  font-weight: 700;
  text-decoration: underline;
}

.wdg-form-group {
  margin-bottom: 14px;
}

.wdg-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--wdg-dark);
}

.wdg-form-input, .wdg-form-textarea {
  width: 100%;
  background: var(--wdg-cream);
  border: 1px solid #DCD4C4;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  font-family: var(--wdg-font-sans);
  color: var(--wdg-dark);
  outline: none;
  transition: border 0.2s;
}

.wdg-form-input:focus, .wdg-form-textarea:focus {
  border-color: var(--wdg-gold);
}

.wdg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wdg-modal-submit {
  width: 100%;
  margin-top: 8px;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop -> Tablet -> Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .wdg-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .wdg-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .wdg-hero-actions {
    justify-content: center;
  }
  .wdg-hero-trust {
    justify-content: center;
  }
  .wdg-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wdg-about-split {
    grid-template-columns: 1fr;
  }
  .wdg-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wdg-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wdg-store-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .wdg-location-grid {
    grid-template-columns: 1fr;
  }
  .wdg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wdg-hero-title {
    font-size: 38px;
  }
  .wdg-services-grid {
    grid-template-columns: 1fr;
  }
  .wdg-why-grid {
    grid-template-columns: 1fr;
  }
  .wdg-team-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .wdg-reviews-grid {
    grid-template-columns: 1fr;
  }
  .wdg-footer-grid {
    grid-template-columns: 1fr;
  }
  .wdg-floating-pill-left {
    left: 0;
  }
  .wdg-floating-pill-right {
    right: 0;
  }
}
