/* TaxidermistFinder — Shared Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bark: #2C1810;
  --forest: #1B4332;
  --sage: #4A7C59;
  --wheat: #F5E6D3;
  --cream: #FFF8F0;
  --amber: #D4913D;
  --stone: #8B7E74;
  --charcoal: #1A1A1A;
  --sage-light: rgba(74, 124, 89, 0.08);
  --sage-mid: rgba(74, 124, 89, 0.12);
  --border-light: rgba(44, 24, 16, 0.06);
  --border-mid: rgba(44, 24, 16, 0.1);
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

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

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bark);
  letter-spacing: -0.03em;
}

.logo span { color: var(--sage); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--bark); }

.nav-link.active {
  color: var(--sage);
  font-weight: 600;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background: var(--sage);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--forest); }

/* ========== SEARCH PAGE ========== */
.search-hero {
  padding: 7rem 2rem 2rem;
  background: var(--forest);
  text-align: center;
}

.search-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--wheat);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.search-hero p {
  color: rgba(245, 230, 211, 0.65);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Search Controls */
.search-controls {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.75rem;
}

.search-input-wrap {
  flex: 2;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone);
  width: 18px;
  height: 18px;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--amber);
}

.search-input::placeholder { color: var(--stone); }

.filter-select {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B7E74' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.filter-select:focus {
  border-color: var(--amber);
}

.search-btn {
  padding: 0.85rem 1.75rem;
  background: var(--amber);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-btn:hover { background: #c07e2f; }

/* Results Area */
.results-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.results-count {
  font-size: 0.9rem;
  color: var(--stone);
}

.results-count strong {
  color: var(--bark);
  font-weight: 600;
}

.active-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 100px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-tag button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--sage);
  line-height: 1;
  padding: 0;
}

/* Studio Cards Grid */
.studios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.studio-card {
  background: white;
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.studio-card:hover {
  border-color: var(--sage);
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  transform: translateY(-2px);
}

.studio-card.featured {
  border-color: var(--amber);
  background: linear-gradient(135deg, #FFFDF8, #FFF8F0);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: rgba(212, 145, 61, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.studio-card h3 {
  font-size: 1.15rem;
  color: var(--bark);
  margin-bottom: 0.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.studio-card h3 a {
  color: inherit;
  transition: color 0.2s;
}

.studio-card h3 a:hover { color: var(--sage); }

.studio-location {
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.studio-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.stars {
  color: var(--amber);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rating-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bark);
}

.review-count {
  font-size: 0.8rem;
  color: var(--stone);
}

.studio-description {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.studio-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.specialty-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: var(--sage-light);
  color: var(--sage);
}

.studio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--stone);
}

.studio-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.view-profile-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  transition: color 0.2s;
}

.view-profile-link:hover { color: var(--forest); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  background: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bark);
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--sage);
  background: var(--sage-light);
}

.page-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: white;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--stone);
  font-size: 0.95rem;
}

/* Loading */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--stone);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--sage-light);
  border-top: 3px solid var(--sage);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== STUDIO PROFILE PAGE ========== */
.profile-header {
  padding: 7rem 2rem 3rem;
  background: var(--forest);
}

.profile-header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.profile-breadcrumb {
  font-size: 0.85rem;
  color: rgba(245, 230, 211, 0.5);
  margin-bottom: 1.25rem;
}

.profile-breadcrumb a {
  color: rgba(245, 230, 211, 0.65);
  transition: color 0.2s;
}

.profile-breadcrumb a:hover { color: var(--wheat); }

.profile-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--wheat);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.profile-location {
  font-size: 1.1rem;
  color: rgba(245, 230, 211, 0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-featured-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: rgba(212, 145, 61, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-top: 1rem;
}

.profile-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.profile-main h2 {
  font-size: 1.35rem;
  color: var(--bark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.profile-description {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-section {
  margin-bottom: 2rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-list li {
  font-size: 0.95rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--sage-light);
  border-radius: 8px;
  line-height: 1.4;
}

.about-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0.5rem 0 0;
}

.profile-specialties {
  margin-bottom: 2rem;
}

.profile-specialties .specialty-tag {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.detail-card {
  background: var(--sage-light);
  border-radius: 12px;
  padding: 1.25rem;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.detail-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bark);
}

.profile-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(212, 145, 61, 0.08);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.profile-rating .rating-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1;
}

.profile-rating .stars-big {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.profile-rating .review-text {
  font-size: 0.85rem;
  color: var(--stone);
}

/* Sidebar Contact Card */
.profile-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

.contact-card {
  background: white;
  border: 1px solid var(--border-mid);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.04);
}

.contact-card h3 {
  font-size: 1.1rem;
  color: var(--bark);
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item a {
  color: var(--sage);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--forest); }

.contact-cta {
  display: block;
  width: 100%;
  padding: 0.85rem;
  text-align: center;
  background: var(--sage);
  color: white;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.contact-cta:hover { background: var(--forest); }

/* ========== STUDIO CARD PHOTO ========== */
.studio-card-photo {
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: var(--sage-light);
  aspect-ratio: 16/10;
}

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

.studio-card-body {
  position: relative;
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.status-badge.closed {
  color: #c44;
  background: rgba(204, 68, 68, 0.1);
}

.studio-phone {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.studio-phone a {
  color: var(--sage);
  font-weight: 500;
}

/* ========== DIRECTORY PAGES (State & City) ========== */
.dir-hero {
  padding: 7rem 2rem 3rem;
  background: var(--forest);
}

.dir-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.dir-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--wheat);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.dir-hero-sub {
  color: rgba(245, 230, 211, 0.65);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 700px;
}

.dir-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.dir-section {
  margin-bottom: 3rem;
}

.dir-section h2 {
  font-size: 1.35rem;
  color: var(--bark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* City Cards Grid */
.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.city-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  transition: all 0.2s;
  text-decoration: none;
}

.city-card:hover {
  border-color: var(--sage);
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.06);
  transform: translateY(-2px);
}

.city-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bark);
  margin-bottom: 0.25rem;
}

.city-card-count {
  font-size: 0.8rem;
  color: var(--stone);
}

.city-card-rating {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Other States/Cities Grid */
.other-states {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.other-states-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.other-state-link {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.2s;
}

.other-state-link:hover {
  background: var(--sage);
  color: white;
}

/* Hours Grid */
.hours-grid {
  margin-bottom: 2rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.hours-day {
  font-weight: 500;
  color: var(--bark);
}

.hours-time {
  color: var(--stone);
}

/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.social-link {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--sage);
  color: white;
}

/* Profile Hero Photo */
.profile-hero-photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--sage-light);
}

.profile-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: cover;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--stone);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--bark);
}

/* ========== STATIC PAGES (Privacy / Terms / About) ========== */
.static-page {
  min-height: 100vh;
  padding: 7rem 1.5rem 5rem;
  background: var(--cream);
}

.static-page-inner {
  max-width: 760px;
  margin: 0 auto;
}

.static-page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--bark);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.static-date {
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: 2.5rem;
}

.static-page section {
  margin-bottom: 2.25rem;
}

.static-page h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}

.static-page h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
  margin: 1rem 0 0.5rem;
}

.static-page p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.static-page ul {
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}

.static-page ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.static-page a {
  color: var(--sage);
  text-decoration: none;
}

.static-page a:hover {
  text-decoration: underline;
}

/* About page stats */
.about-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem;
  flex-wrap: wrap;
}

.about-stat {
  background: var(--wheat);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 120px;
}

.about-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--stone);
  font-weight: 500;
  text-align: center;
}

.contact-box {
  background: var(--wheat);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.contact-box p {
  margin: 0;
}

.contact-topics {
  margin-top: 1.25rem;
}

.about-mission p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  nav {
    padding: 0.85rem 1.25rem;
  }

  .nav-links { gap: 1rem; }

  .nav-link { font-size: 0.8rem; }

  .nav-cta {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  /* Search */
  .search-hero {
    padding: 6rem 1.25rem 1.5rem;
  }

  .search-controls {
    flex-direction: column;
    padding: 0.5rem;
  }

  .filter-select { flex: none; }

  .studios-grid {
    grid-template-columns: 1fr;
  }

  .results-section {
    padding: 1.5rem 1.25rem;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Studio Profile */
  .profile-header {
    padding: 6rem 1.25rem 2rem;
  }

  .profile-body {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 2rem;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .studio-card { padding: 1.25rem; }

  .profile-rating {
    flex-direction: column;
    text-align: center;
  }
}

/* =============================================
   CLAIM SYSTEM — Badges, Buttons, Modal
   ============================================= */

/* Claim status badges */
.claim-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.claim-verified {
  background: rgba(74, 124, 89, 0.12);
  color: var(--sage);
  border: 1px solid rgba(74, 124, 89, 0.25);
}
.claim-pending {
  background: rgba(212, 145, 61, 0.12);
  color: var(--amber);
  border: 1px solid rgba(212, 145, 61, 0.25);
}

/* Claim section in sidebar */
.claim-status-badge {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.claim-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}
.claim-prompt {
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.btn-claim {
  width: 100%;
  padding: 0.7rem 1rem;
  background: transparent;
  border: 1.5px solid var(--sage);
  color: var(--sage);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-claim:hover {
  background: var(--sage);
  color: #fff;
}
.claim-subtext {
  font-size: 0.75rem;
  color: var(--stone);
  text-align: center;
  margin-top: 0.4rem;
}

/* Featured CTA Card — on studio profile pages */
.featured-cta-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(212, 145, 61, 0.07);
  border: 1.5px solid rgba(212, 145, 61, 0.3);
  border-radius: 12px;
  text-align: center;
}
.featured-cta-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.featured-cta-card h3 {
  font-size: 0.95rem;
  color: var(--bark);
  margin-bottom: 0.4rem;
}
.featured-cta-card p {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.5;
}
.featured-cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--amber);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.featured-cta-btn:hover {
  background: #b87a2d;
}
.featured-active-card {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(74, 124, 89, 0.08);
  border: 1.5px solid var(--sage);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 20px 60px rgba(44,24,16,0.2);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { transform: translateY(12px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--stone);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--border-light); }
.modal-box h2 {
  font-size: 1.3rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
}
.modal-sub {
  color: var(--stone);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.modal-field {
  margin-bottom: 1rem;
}
.modal-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.35rem;
}
.modal-field input,
.modal-field select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border-mid);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s;
}
.modal-field input:focus,
.modal-field select:focus {
  border-color: var(--sage);
}
.btn-claim-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s, opacity 0.15s;
}
.btn-claim-submit:hover { background: var(--forest); }
.btn-claim-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-fine {
  font-size: 0.78rem;
  color: var(--stone);
  text-align: center;
  margin-top: 1rem;
}
.claim-success {
  background: rgba(74, 124, 89, 0.1);
  border: 1px solid rgba(74, 124, 89, 0.25);
  color: var(--forest);
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}
.claim-error {
  background: rgba(204, 68, 68, 0.08);
  border: 1px solid rgba(204, 68, 68, 0.2);
  color: #c44;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* =============================================
   OWNER DASHBOARD
   ============================================= */
.owner-dashboard {
  min-height: 100vh;
  padding-bottom: 4rem;
}
.owner-header {
  background: var(--bark);
  color: #fff;
  padding: 5rem 2rem 2.5rem;
}
.owner-header-inner {
  max-width: 880px;
  margin: 0 auto;
}
.owner-header h1 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.owner-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem;
}
.owner-section {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.owner-section h2 {
  font-size: 1.05rem;
  color: var(--bark);
  margin-bottom: 1rem;
}
.owner-field {
  margin-bottom: 1rem;
}
.owner-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.35rem;
}
.owner-field input,
.owner-field select,
.owner-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-mid);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s;
}
.owner-field input:focus,
.owner-field select:focus,
.owner-field textarea:focus {
  border-color: var(--sage);
}
.owner-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.owner-field-full {
  grid-column: 1 / -1;
}
.owner-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}
.specialty-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border-mid);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.15s;
  background: #fff;
}
.specialty-checkbox:hover {
  border-color: var(--sage);
  background: var(--sage-light);
}
.specialty-checkbox input[type=checkbox] {
  width: auto;
  accent-color: var(--sage);
  flex-shrink: 0;
}
.specialty-checkbox input:checked + span {
  color: var(--forest);
  font-weight: 600;
}
.specialty-checkbox:has(input:checked) {
  border-color: var(--sage);
  background: var(--sage-light);
}
.owner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.5rem 0;
}
.btn-save {
  padding: 0.875rem 2rem;
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  min-width: 160px;
}
.btn-save:hover { background: var(--forest); }
.btn-save:disabled { opacity: 0.6; cursor: not-allowed; }

/* Alerts */
.owner-alert {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.owner-alert-success {
  background: rgba(74, 124, 89, 0.1);
  border: 1px solid rgba(74, 124, 89, 0.25);
  color: var(--forest);
}
.owner-alert-error {
  background: rgba(204, 68, 68, 0.08);
  border: 1px solid rgba(204, 68, 68, 0.2);
  color: #c44;
}

/* Upsell banner */
.owner-upsell {
  max-width: 880px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
}
.owner-upsell-inner {
  background: linear-gradient(135deg, var(--bark) 0%, #3d2419 100%);
  border-radius: 16px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  color: #fff;
}
.owner-upsell-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--bark);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
}
.owner-upsell-text h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.owner-upsell-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.owner-upsell-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}
.owner-upsell-text ul li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.3rem;
}
.btn-featured {
  display: inline-block;
  background: var(--amber);
  color: var(--bark);
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.btn-featured:hover { opacity: 0.9; }
.owner-featured-active {
  max-width: 880px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
  background: rgba(74, 124, 89, 0.1);
  border: 1px solid rgba(74, 124, 89, 0.25);
  color: var(--forest);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 640px) {
  .owner-grid-2 {
    grid-template-columns: 1fr;
  }
  .owner-upsell-inner {
    grid-template-columns: 1fr;
  }
  .specialties-grid {
    grid-template-columns: 1fr 1fr;
  }
  .owner-header {
    padding: 4rem 1.25rem 2rem;
  }
  .owner-body {
    padding: 1.25rem;
  }
}

/* =============================================
   REVIEWS SECTION
   ============================================= */
.reviews-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border-light);
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.reviews-header h2 {
  margin: 0;
  border: none;
  padding: 0;
}
.btn-leave-review {
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.btn-leave-review:hover {
  background: var(--forest);
  transform: translateY(-1px);
}
.reviews-empty {
  background: var(--cream);
  border: 1.5px dashed var(--border-mid);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: var(--stone);
}
.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--cream);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  border: 1.5px solid var(--border-light);
}
.reviews-avg {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
}
.reviews-stars {
  font-size: 1.3rem;
  color: #E8A020;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.reviews-count {
  font-size: 0.85rem;
  color: var(--stone);
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  transition: box-shadow 0.15s;
}
.review-card:hover {
  box-shadow: 0 4px 16px rgba(44,24,16,0.07);
}
.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.review-stars {
  color: #E8A020;
  font-size: 1.1rem;
  letter-spacing: 1px;
  line-height: 1;
}
.review-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.review-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bark);
}
.review-date {
  font-size: 0.78rem;
  color: var(--stone);
}
.review-body {
  color: var(--charcoal);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Star picker in review modal */
.star-picker {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--border-mid);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.1s, transform 0.1s;
}
.star-btn:hover,
.star-btn.star-active {
  color: #E8A020;
  transform: scale(1.1);
}
.claim-success {
  background: rgba(74, 124, 89, 0.12);
  color: var(--forest);
  border: 1.5px solid rgba(74, 124, 89, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.claim-error {
  background: rgba(196, 68, 68, 0.1);
  color: #c44;
  border: 1.5px solid rgba(196, 68, 68, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
