/* Product detail page styles
   Reused across event-booking, catering, spa, table-reservation, POS, etc.
   Pattern: hero + step strip + alternating feature rows + accent band + timeline + paired support CTAs */

/* ----- Detail hero (left copy + right art) ----- */
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
}
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(31,111,235,.10), transparent 60%),
    radial-gradient(720px 360px at 8% 18%, rgba(22,184,166,.09), transparent 55%);
}
.detail-hero .grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .detail-hero .grid { grid-template-columns: 1fr; gap: 40px; } }

.detail-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 18px 0 20px;
}
.detail-hero h1 em { font-style: italic; color: var(--brand); }
.detail-hero .sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 32em;
  line-height: 1.6;
}
.detail-hero .ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.detail-hero .art {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #fff, #f2f6fb);
  padding: 10px;
}
.detail-hero .art img { border-radius: calc(var(--r-lg) - 10px); width: 100%; }

/* ----- Steps strip (numbered horizontal cards) ----- */
.steps-strip {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-strip .strip-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.steps-strip .strip-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 14px 0;
}
.steps-strip .strip-head p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.55; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 920px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .step-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 14px -4px rgba(31,111,235,.45);
}
.step-card img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 16px; display: block; }
.step-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
  line-height: 1.35;
}

/* ----- Feature rows (alternating image / text) ----- */
.features-block { padding: 96px 0; }
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feat-row:last-child { margin-bottom: 0; }
.feat-row.reverse { direction: rtl; }
.feat-row.reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .feat-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .feat-row.reverse { direction: ltr; }
}

.feat-art {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-tint), #f4f8ff);
  padding: 6px;
}
.feat-art img {
  width: 100%;
  border-radius: calc(var(--r-lg) - 6px);
}

.feat-copy .eyebrow { margin-bottom: 14px; }
.feat-copy h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.feat-copy h2 em { font-style: italic; color: var(--brand); }
.feat-copy p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.feat-copy p b { color: var(--ink); font-weight: 600; }

/* ----- Accent band (dark CTA with text/image) ----- */
.accent-band {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--ink-dark) 0%, #14243a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.accent-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 12% 30%, rgba(31,111,235,.22), transparent 60%),
    radial-gradient(500px 240px at 88% 70%, rgba(22,184,166,.18), transparent 60%);
}
.accent-band .grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .accent-band .grid { grid-template-columns: 1fr; gap: 32px; } }
.accent-band .eyebrow {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.accent-band h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin: 14px 0 18px;
}
.accent-band h2 em { font-style: italic; color: #fff; }
.accent-band p {
  font-size: 16.5px;
  color: #cfd9e3;
  line-height: 1.65;
  margin-bottom: 14px;
}
.accent-band img { border-radius: var(--r-lg); width: 100%; }

/* ----- Timeline (numbered vertical steps) ----- */
.timeline-block { padding: 96px 0; background: var(--bg); }
.timeline-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.timeline-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 14px 0;
}
.timeline-head h2 em { font-style: italic; color: var(--brand); }

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--brand) 8%, var(--brand) 92%, transparent);
  opacity: .25;
}
@media (max-width: 880px) { .timeline::before { left: 22px; } }

.tl-item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item .tl-img {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.tl-item .tl-img img { width: 100%; display: block; }
.tl-item .tl-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  box-shadow: 0 8px 18px -4px rgba(31,111,235,.5);
  position: relative;
  z-index: 1;
}
.tl-item .tl-copy {
  padding: 0 0 0 32px;
}
.tl-item.reverse {
  direction: rtl;
}
.tl-item.reverse > * { direction: ltr; }
.tl-item.reverse .tl-copy { padding: 0 32px 0 0; text-align: right; }
.tl-item .tl-copy h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.tl-item .tl-copy p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 10px;
}
@media (max-width: 880px) {
  .tl-item {
    grid-template-columns: 44px 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }
  .tl-item .tl-img {
    grid-column: 1 / -1;
    order: 3;
    margin-top: 12px;
  }
  .tl-item .tl-dot { order: 1; }
  .tl-item .tl-copy { order: 2; padding: 0; text-align: left; }
  .tl-item.reverse .tl-copy { padding: 0; text-align: left; }
}

/* ----- Support pair CTA (two side-by-side cards) ----- */
.support-pair { padding: 96px 0; }
.support-pair .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .support-pair .grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s, box-shadow .25s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.support-card img { width: 64px; height: 64px; object-fit: contain; }
.support-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.support-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}
.support-card .btn { align-self: flex-start; margin-top: 6px; }
