/* ==========================================================================
   components.css — reusable building blocks (buttons, cards, quote, lists…).
   Shared by every page. Nothing here should depend on a particular page.
   ========================================================================== */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--color-amber); color: var(--color-ink); }
.btn--primary:hover { background: #f7c978; color: var(--color-ink); }

.btn--secondary { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-ink); color: var(--color-cream); }

/* Buttons that sit on a photo or dark background */
.btn--light { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--light:hover { background: var(--color-white); color: var(--color-ink); }

.btn--small { min-height: 40px; padding: 0.45rem 1.1rem; font-size: var(--text-sm); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --- Small label above a heading --- */
.eyebrow {
  margin-bottom: var(--space-3);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.section--dark .eyebrow { color: var(--color-amber); }

.lede { font-size: var(--text-lg); color: var(--text-muted); }

/* --- Cards --- */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-sky-tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.card__body h3 { font-size: 1.375rem; margin-bottom: var(--space-2); }
.card__body p:last-child { margin-bottom: 0; }

/* Price / duration line inside a card */
.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-ink);
}
.card__time { color: var(--text-muted); font-size: var(--text-sm); }
.card__note { color: var(--text-muted); font-size: var(--text-sm); font-style: italic; }

/* --- Rounded photo with a soft frame --- */
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide     { aspect-ratio: 3 / 2; }
.photo--panorama { aspect-ratio: 16 / 9; }
.photo--banner   { aspect-ratio: 5 / 2; }
.photo__caption  { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); }

/* --- Trust strip (row of short facts) --- */
.facts { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.facts li { margin: 0; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); } }
.fact { text-align: center; }
.fact__value { display: block; font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--color-ink); line-height: 1.2; }
.fact__label { display: block; font-size: var(--text-sm); color: var(--text-muted); }

/* --- Tick list --- */
.list-ticks { list-style: none; padding: 0; }
.list-ticks li {
  position: relative;
  padding-left: 1.75rem;
}
.list-ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 0.9rem; height: 0.5rem;
  border-left: 3px solid var(--color-blue);
  border-bottom: 3px solid var(--color-blue);
  transform: rotate(-45deg) scale(0.9);
}

/* --- Info panel (for facts such as hours, address, payments) --- */
.panel {
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

/* Label / value pairs */
.details { display: grid; gap: var(--space-4); margin: 0; }
.details dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.details dd { margin: var(--space-1) 0 0; }

/* --- Testimonial --- */
.testimonial {
  position: relative;
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.testimonial__stars { color: var(--color-amber-deep); font-size: 1.25rem; letter-spacing: 0.15em; margin-bottom: var(--space-3); }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.7;
}
.testimonial__by { margin: var(--space-4) 0 0; font-size: var(--text-sm); color: var(--text-muted); }
.testimonial__by strong { color: var(--color-ink); }

/* --- Callout strip (e.g. gift vouchers) --- */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-amber);
  color: var(--color-ink);
  border-radius: var(--radius);
}
.callout h3, .callout p { margin: 0; }
.callout h3 { font-size: var(--text-lg); }
.callout--stack { flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-5); padding: var(--space-6); }
.callout--stack h3 { margin-bottom: var(--space-2); font-size: var(--text-xl); }
.callout .btn--secondary:hover { background: var(--color-ink); color: var(--color-amber); }

/* --- Social icons (header, mobile menu and footer) ---
   The <a> is padded so the tap target is at least 44px even though the icon is 32px. */
ul.social-links {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-links li { margin: 0; padding: 0; list-style: none; }
.social-links li + li { margin-top: 0; }
.social-links a {
  display: inline-flex;
  padding: 6px;
  line-height: 0;
  border-radius: 12px;
}
.social-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.15s ease;
}
.social-links a:hover img,
.social-links a:focus-visible img { transform: translateY(-2px) scale(1.06); }
.social-links--large img { width: 40px; height: 40px; }

/* --- Price table (rows = session length, columns = appointment type) --- */
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td {
  padding: var(--space-3) var(--space-2);
  text-align: right;
  border-bottom: 1px solid var(--border);
}
.price-table thead th {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--accent-text);
  vertical-align: bottom;
}
.price-table thead th:first-child,
.price-table tbody th { text-align: left; }
.price-table tbody th { font-weight: 600; color: var(--color-ink); }
.price-table td {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-ink);
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }

/* --- Map image that links out to Google Maps --- */
.map {
  display: block;
  margin: var(--space-4) 0 var(--space-2);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.map img { display: block; width: 100%; height: auto; transition: transform 0.25s ease; }
.map:hover img, .map:focus-visible img { transform: scale(1.02); }
.map__credit { margin: 0; font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 480px) {
  .price-table th, .price-table td { padding: var(--space-3) var(--space-1); }
  .price-table thead th { font-size: 0.6875rem; letter-spacing: 0.03em; }
  .price-table tbody th { white-space: nowrap; }
}
@media (max-width: 360px) {
  .price-table thead th { font-size: 0.625rem; letter-spacing: 0.02em; }
  .price-table td { font-size: var(--text-base); }
  .price-table tbody th { white-space: normal; }
}
.map__credit a { color: inherit; text-decoration: underline; }
