/* =========================================================================
   Inspire Events — Share Your Experience
   Hand-authored port of the original Tailwind build. Values below mirror the
   utility classes that were used (spacing, radii, shadows, easing) so the PHP
   version renders identically to the React one.
   ========================================================================= */

/* ---------- Fonts ---------- */

@font-face {
  font-family: 'Adieu';
  src: url('https://inspiregroupme.com/wp-content/uploads/2026/05/adieu-light-1.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset (Tailwind preflight, trimmed) ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid #ddd8d0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button {
  background-color: transparent;
  background-image: none;
  cursor: pointer;
  text-transform: none;
  -webkit-appearance: button;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

/* ---------- Base ---------- */

:root {
  --ink: #1a1a1a;
  --paper: #f0ede8;
  --card-border: #ddd8d0;
  --body-text: #7a7060;
  --muted: #8a8070;
  --eyebrow: #a09580;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #e9e9e9;
  line-height: 1.5;
  color: var(--ink);
}

/* Headings — plus `.heading` for card titles, which sit inside <button> where
   real heading elements are not valid content. */
h1, h2, h3, h4,
.heading {
  font-family: 'Adieu', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Icons default to a 1rem box; sized per use below. */
.ic {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.site-header {
  background-color: #0d0d0d;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.site-header__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.logo-btn .logo {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 200ms var(--ease-out);
}

.logo-btn:hover .logo {
  opacity: 0.8;
}

/* ---------- Layout ---------- */

.site-main {
  flex: 1 1 0%;
}

.shell {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.step {
  max-width: 48rem;
  margin-inline: auto;
  padding: 2rem 1rem 2.5rem;
}

.step--location {
  padding-top: 3.5rem;
}

.step--reviews {
  padding-bottom: 3.5rem;
}

/* ---------- Breadcrumbs ---------- */

.crumbs-wrap {
  max-width: 48rem;
  margin-inline: auto;
  padding: 1.5rem 1rem 0;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.crumbs button {
  font-weight: 500;
  transition: color 150ms var(--ease-out);
}

.crumbs button:hover {
  color: var(--ink);
}

.crumbs .crumb-current {
  color: var(--ink);
  font-weight: 600;
}

.crumbs .ic {
  width: 0.875rem;
  height: 0.875rem;
}

/* ---------- Section headings ---------- */

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.step--location .section-head {
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 0.75rem;
}

.title-xl {
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.title-lg {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.lede {
  color: var(--body-text);
  font-size: 0.875rem;
  line-height: 1.625;
  max-width: 24rem;
  margin-inline: auto;
}

.title-xl .break-sm {
  display: none;
}

/* ---------- Back link ---------- */

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-weight: 500;
  transition: color 150ms var(--ease-out);
}

.back-btn:hover {
  color: var(--ink);
}

/* ---------- Step 1 · Locations ---------- */

.location-grid {
  display: grid;
  gap: 1rem;
}

.location-card {
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  padding: 1.75rem;
  text-align: left;
  display: block;
  width: 100%;
  transition: all 300ms var(--ease-out);
}

.location-card:hover {
  border-color: var(--ink);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: translateY(-0.25rem);
}

.location-card:active {
  transform: scale(0.98);
}

.location-card__flag {
  display: block;
  font-size: 2.25rem;
  line-height: 2.5rem;
  margin-bottom: 1rem;
}

.location-card__name {
  display: block;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.location-card__country {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #9a9080;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.location-card__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--body-text);
}

.location-card__address .ic {
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.125rem;
  color: #b0a898;
}

.location-card__address span {
  line-height: 1.625;
  white-space: pre-line;
}

.location-card__cta {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: gap 200ms var(--ease-out);
}

.location-card:hover .location-card__cta {
  gap: 0.625rem;
}

.location-card__cta .ic {
  width: 0.875rem;
  height: 0.875rem;
}

/* ---------- Step 2 · Services ---------- */

.service-list {
  display: grid;
  gap: 0.75rem;
}

.service-card {
  background-color: #fff;
  border-radius: 0.75rem;
  border: 1px solid var(--card-border);
  padding: 1rem 1.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  transition: all 300ms var(--ease-out);
}

.service-card:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  transform: translateY(-0.125rem);
}

.service-card:active {
  transform: scale(0.98);
}

.service-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background-color: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 200ms var(--ease-out);
}

.service-card__icon .ic {
  width: 1.25rem;
  height: 1.25rem;
  color: #5a5040;
  transition: color 200ms var(--ease-out);
}

.service-card:hover .service-card__icon {
  background-color: var(--ink);
}

.service-card:hover .service-card__icon .ic {
  color: #fff;
}

.service-card__body {
  display: block;
  flex: 1 1 0%;
  min-width: 0;
}

.service-card__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.375;
}

.service-card__desc {
  display: block;
  font-size: 0.75rem;
  color: #a09080;
  margin-top: 0.125rem;
  line-height: 1.625;
}

.service-card__chevron {
  width: 1rem;
  height: 1rem;
  color: #c0b8b0;
  flex-shrink: 0;
  transition: color 200ms var(--ease-out);
}

.service-card:hover .service-card__chevron {
  color: var(--ink);
}

/* ---------- Step 3 · Notes ---------- */

.notes-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: var(--ink);
  margin-bottom: 1.25rem;
}

.notes-badge .ic {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}

.notes-card {
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  padding: 1.25rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.notes-label {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.notes-input {
  width: 100%;
  resize: none;
  font-size: 0.875rem;
  color: #2a2520;
  background-color: #faf9f7;
  border-radius: 0.75rem;
  border: 1px solid #e0dbd3;
  padding: 0.875rem 1rem;
  line-height: 1.625;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.notes-input::placeholder {
  color: #c0b8b0;
}

.notes-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgb(26 26 26 / 0.08);
}

.notes-hint {
  font-size: 0.75rem;
  color: #b0a898;
  margin-top: 0.625rem;
  line-height: 1.625;
}

.notes-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-primary {
  flex: 1 1 0%;
  background-color: var(--ink);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 200ms var(--ease-out);
}

.btn-primary:hover {
  background-color: #2a2a2a;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-ghost {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.875rem 1rem;
  font-weight: 500;
  transition: color 150ms var(--ease-out);
}

.btn-ghost:hover {
  color: var(--ink);
}

/* ---------- Step 4 · Reviews ---------- */

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 6rem;
}

.loading-state .ic {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--muted);
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

.loading-state p {
  color: var(--body-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.review-grid {
  display: grid;
  gap: 0.75rem;
}

.review-card {
  background-color: #fff;
  border-radius: 0.75rem;
  border: 1px solid var(--card-border);
  padding: 1.25rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 300ms var(--ease-out);
}

.review-card:hover {
  border-color: var(--ink);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transform: translateY(-0.125rem);
}

.review-card:active {
  transform: scale(0.98);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.review-card__stars {
  display: flex;
  gap: 0.125rem;
}

.review-card__stars .ic {
  width: 1rem;
  height: 1rem;
  color: #d4a843;
}

.review-card__state {
  display: flex;
  align-items: center;
  color: #c0b8b0;
  transition: color 200ms var(--ease-out);
}

.review-card__state .copied-badge {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}

.review-card.is-copied .review-card__state {
  color: var(--ink);
}

.review-card.is-copied .review-card__state .copied-badge {
  display: flex;
}

.review-card.is-copied .review-card__state .copy-icon {
  display: none;
}

.review-card__text {
  display: block;
  color: #3a3530;
  line-height: 1.625;
  font-size: 0.875rem;
}

.review-card__note {
  margin-top: 0.75rem;
  color: var(--body-text);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.375rem;
}

.review-card__note .ic {
  width: 0.875rem;
  height: 0.875rem;
}

.review-card.is-copied .review-card__note {
  display: flex;
}

/* ---------- Error banner ---------- */

.alert {
  background-color: #fff;
  border: 1px solid #e3c6c6;
  border-left: 3px solid #b4534f;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: #7a3a37;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.25rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: #0d0d0d;
  color: #fff;
  margin-top: auto;
}

.site-footer__inner {
  max-width: 64rem;
  margin-inline: auto;
  padding: 3rem 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.site-footer .logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.site-footer__blurb {
  color: #6b6560;
  font-size: 0.875rem;
  line-height: 1.625;
  max-width: 220px;
}

.site-footer h3 {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: #5a5550;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: #8a8580;
  font-size: 0.875rem;
  transition: color 150ms var(--ease-out);
}

.site-footer__row .ic {
  width: 1rem;
  height: 1rem;
  color: #504d4a;
  margin-top: 0.125rem;
}

.site-footer__row span {
  line-height: 1.625;
  white-space: pre-line;
}

a.site-footer__row {
  align-items: center;
}

a.site-footer__row .ic {
  margin-top: 0;
}

a.site-footer__row:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid #1e1d1c;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

.site-footer__bottom p {
  color: #3a3835;
  font-size: 0.75rem;
  line-height: 1rem;
}

/* ---------- Animation ---------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.4s var(--ease-out) forwards;
}

.stagger-1 { animation-delay: 0.05s; opacity: 0; }
.stagger-2 { animation-delay: 0.10s; opacity: 0; }
.stagger-3 { animation-delay: 0.15s; opacity: 0; }
.stagger-4 { animation-delay: 0.20s; opacity: 0; }
.stagger-5 { animation-delay: 0.25s; opacity: 0; }
.stagger-6 { animation-delay: 0.30s; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up {
    animation: none;
    opacity: 1;
  }
  .location-card:hover,
  .service-card:hover,
  .review-card:hover {
    transform: none;
  }
}

/* ---------- Responsive · >= 640px ---------- */

@media (min-width: 640px) {
  .logo-btn .logo { height: 2.75rem; }

  .step { padding-top: 3rem; }
  .step--location { padding-top: 5rem; }

  .section-head { margin-bottom: 2.5rem; }
  .step--location .section-head { margin-bottom: 3rem; }
  .step--reviews .section-head { margin-bottom: 2rem; }

  .title-xl { font-size: 2.25rem; }
  .title-lg { font-size: 1.875rem; line-height: 2.25rem; }
  .lede { font-size: 1rem; }
  .title-xl .break-sm { display: block; }

  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .location-card { padding: 2rem; }
  .location-card__name { font-size: 1.5rem; line-height: 2rem; }

  .service-card { padding: 1.25rem 1.5rem; }
  .service-card__title { font-size: 1rem; }
  .service-card__desc { font-size: 0.875rem; }

  .notes-card { padding: 1.5rem; }
  .notes-actions { flex-direction: row; }
  .btn-ghost { width: auto; }

  .review-grid { gap: 1rem; }
  .review-card { padding: 1.5rem; }
  .review-card__text { font-size: 15px; }

  .site-footer__inner { padding-block: 3.5rem; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .logo { height: 2.25rem; }
}

/* ---------- Responsive · >= 768px ---------- */

@media (min-width: 768px) {
  .title-xl { font-size: 3rem; line-height: 1; }
  /* Steps 2 and 3 scale one stop further than the reviews heading. */
  .title-lg--xl { font-size: 2.25rem; line-height: 2.5rem; }

  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
