/* Offer sections and breakpoints for the Black Friday mockup; tokens live in storefront.css. */

/* Signature treatments: the Black Friday price and the practice's own offer line, as its graphic words them. */
.packages { padding: var(--section) 0; background: var(--paper); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.package { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 1px 2px rgba(43, 35, 28, 0.06), 0 16px 40px -24px rgba(43, 35, 28, 0.25); }
.package-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.package-photo img { width: 100%; height: 100%; object-fit: cover; }
.package-body { display: flex; flex: 1; flex-direction: column; padding: 40px; }
.package h3 { margin-top: 12px; font: 600 40px/1.1 var(--display); letter-spacing: 0.5px; color: var(--ink); }
.inclusions { display: grid; gap: 12px; margin-top: 24px; font-size: 18px; color: var(--ink); }
.inclusions li { position: relative; padding-left: 28px; }
.inclusions li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 16px; height: 1px; background: var(--bronze); }
.bonus { margin-top: 24px; padding: 20px 24px; background: var(--cream); }
.bonus-label { margin-bottom: 8px; font: 600 14px/1.5 var(--sans); letter-spacing: 2.5px; text-transform: uppercase; color: var(--bronze-ink); }
.bonus ul { display: grid; gap: 8px; }
.bonus li { font-size: 18px; color: var(--ink); }
.bonus small { display: block; font-size: 16px; color: var(--ink-soft); }
.pairing { font-size: 18px; color: var(--ink); }
.package-foot { display: grid; gap: 24px; margin-top: auto; padding-top: 32px; }
.price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.price-pair { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.price-pair strong { font: 600 56px/1 var(--display); color: var(--ink); }
.save { padding: 10px 16px; background: var(--bronze); color: var(--white); font: 600 14px/1.2 var(--sans); letter-spacing: 2px; text-transform: uppercase; white-space: normal; }
.package .button { width: 100%; }

.package-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--espresso-card); color: var(--on-dark); }
.package-featured .package-photo { aspect-ratio: auto; min-height: 600px; }
.package-featured .package-body { padding: 56px; }
.package-featured .eyebrow, .package-featured .bonus-label { color: var(--tan); }
.package-featured h3 { font-size: 64px; color: var(--on-dark); }
.package-featured .inclusions, .package-featured .bonus li { color: var(--on-dark); }
.package-featured .inclusions li::before { background: var(--tan); }
.package-featured .bonus { border: 1px solid var(--rule-dark); background: rgba(243, 240, 231, 0.06); }
.package-featured .price { border-color: var(--rule-dark); }
.package-featured .price-pair strong { font-size: 76px; color: var(--on-dark); }
.package-featured .save { background: var(--tan); color: var(--espresso-deep); }

/* Treatments & injectables: the site's category bar and photo service cards. */
.treatments { padding: var(--section) 0; background: var(--cream); }
.category + .category { margin-top: 72px; }
.category-bar { display: flex; align-items: stretch; min-height: 64px; margin-bottom: 24px; background: var(--tan); }
.category-icon { display: grid; place-items: center; width: 84px; flex: none; background: var(--espresso); }
.category-icon img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.category-title { display: flex; align-items: center; padding: 12px 24px; font: 600 28px/1.1 var(--display); letter-spacing: 1px; text-transform: uppercase; color: var(--espresso-deep); }
.category-note { margin: -8px 0 24px; font-size: 16px; line-height: 1.5; color: var(--espresso-deep); }
.treatment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.treatment { display: flex; flex-direction: column; background: var(--white); }
.treatment-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.treatment-photo img { width: 100%; height: 100%; object-fit: cover; }
.treatment-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 35, 28, 0) 35%, rgba(43, 35, 28, 0.85) 100%); }
.treatment-name { position: absolute; right: 24px; bottom: 20px; left: 24px; z-index: 1; color: var(--white); }
.treatment-name h4 { font: 700 24px/1.2 var(--sans); }
.treatment-name p { margin-top: 4px; font-size: 16px; color: rgba(255, 255, 255, 0.9); }
.treatment-offers { padding: 8px 24px 12px; }
.treatment-offers li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.treatment-offers li:last-child { border-bottom: 0; }
.treatment-offers strong { font: 600 28px/1.15 var(--display); color: var(--ink); }
.treatment-offers span { font-size: 18px; }
/* Buy links into the practice's Meevo store: the site's tracked label style, a 44px touch target. */
.treatment-link { display: flex; align-items: center; min-height: 44px; margin: auto 24px 20px; padding-top: 12px; border-top: 1px solid var(--rule); font: 600 14px/1.2 var(--sans); letter-spacing: 2.5px; text-transform: uppercase; color: var(--bronze-ink); text-decoration: none; }
.treatment-link::after { content: '\2192'; margin-left: 8px; transition: transform 0.2s ease; }
.treatment-link:hover { color: var(--espresso-deep); }
.treatment-link:hover::after { transform: translateX(4px); }
.treatment-link:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; }
.store-note { margin-top: 24px; font-size: 16px; line-height: 1.5; text-align: center; color: var(--ink-soft); }

/* Skin care: the homepage's stats band, in espresso on tan so the labels stay readable. */
.skincare { position: relative; isolation: isolate; overflow: hidden; padding: 112px 0; background: var(--tan); color: var(--espresso-deep); }
.skincare::before { content: ''; position: absolute; right: -96px; bottom: -160px; width: 560px; height: 440px; background: url('./assets/flower-line.png') center / contain no-repeat; opacity: 0.22; z-index: -1; }
.skincare .eyebrow, .skincare h2 { color: var(--espresso-deep); }
.skincare h2 { margin-top: 16px; }
.skincare-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.skincare .section-intro { margin-top: 0; color: var(--espresso-deep); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { display: grid; justify-items: center; gap: 12px; padding: 8px 16px; border-left: 1px dashed rgba(43, 35, 28, 0.4); text-align: center; }
.stats li:first-child { border-left: 0; }
.stats li::before { content: ''; width: 96px; height: 2px; margin-bottom: 8px; background: var(--espresso-deep); opacity: 0.5; }
.stats strong { font-family: var(--display); font-weight: 600; line-height: 1; white-space: nowrap; }
.stat-num { font-size: clamp(48px, 5.6vw, 80px); }
.stat-unit { margin-left: 6px; font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; }
.stat-label { font: 600 15px/1.4 var(--sans); letter-spacing: 3px; text-transform: uppercase; }

/* Claim: how to take up an offer, in place of the site's footer. */
.claim { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0 64px; background: var(--espresso-deep); color: var(--on-dark); }
.claim::before { content: ''; position: absolute; right: -120px; bottom: -80px; width: 640px; height: 500px; background: url('./assets/flower-line.png') center / contain no-repeat; opacity: 0.06; z-index: -1; }
.claim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.claim .eyebrow { color: var(--tan); }
.claim h2 { margin: 16px 0 24px; color: var(--on-dark); }
.claim-body { max-width: 520px; margin-bottom: 40px; font-size: 20px; color: var(--on-dark-soft); }
.claim address { margin-top: 32px; font-style: normal; line-height: 1.7; color: var(--on-dark-soft); }
.claim-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.claim-photo img { width: 100%; height: 100%; object-fit: cover; }
.fineprint { margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--rule-dark); font-size: 15px; color: rgba(243, 240, 231, 0.72); }

@media (max-width: 1199px) {
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package h3 { font-size: 36px; }
  .package-featured h3 { font-size: 56px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 32px; --section: 96px; }
  .hero { display: flex; flex-direction: column; }
  .hero-bar { order: 1; }
  .hero-inner { order: 2; }
  .hero-copy { max-width: none; padding: 56px 0 64px; }
  .hero-media { position: relative; order: 3; width: 100%; aspect-ratio: 4 / 3; }
  .hero-media::after { background: linear-gradient(180deg, var(--espresso-deep) 0%, rgba(43, 35, 28, 0) 30%), linear-gradient(0deg, rgba(43, 35, 28, 0.6) 0%, rgba(43, 35, 28, 0) 40%); }
  .card-fan { left: 50%; bottom: 56px; width: min(300px, 58%); transform: translateX(-46%); }
  .gift-grid, .claim-grid, .skincare-head { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .skincare-head { gap: 16px; }
  .package-featured { grid-template-columns: minmax(0, 1fr); }
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Three cards under the featured one: centre the one left alone on the last row. */
  .package-grid > .package:last-child:nth-child(even) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 32px) / 2); }
  .package-featured .package-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stats li:nth-child(3) { border-left: 0; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 80px; }
  body { font-size: 17px; }
  .section-intro, .hero-lead, .claim-body { font-size: 18px; }
  .hero-bar { padding-top: 20px; }
  .hero-logo { width: 112px; }
  .draft-chip { padding: 8px 12px; letter-spacing: 1.5px; }
  .hero-copy { padding: 40px 0 48px; }
  .hero-title { margin: 20px 0 24px; }
  .hero-outline { -webkit-text-stroke-width: 1.5px; }
  .actions { flex-direction: column; }
  .actions .button, .gift .button, .claim .button { width: 100%; }
  .hero-media { aspect-ratio: 4 / 5; }
  .card-fan { width: 64%; }
  .gift-card { padding: 16px; }
  .gift-card-top img { width: 72px; }
  .gift-card-value { font-size: 36px; }
  .tiers { gap: 12px; }
  .tier { padding: 20px 16px; }
  .tier-value { font-size: 44px; }
  .tier-bonus { font-size: 16px; }
  .package-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .package-grid > .package:last-child:nth-child(even) { width: auto; justify-self: stretch; }
  .package-body, .package-featured .package-body { padding: 28px 24px 32px; }
  .package h3 { font-size: 34px; }
  .package-featured h3 { font-size: 44px; }
  .price-pair strong { font-size: 48px; }
  .package-featured .price-pair strong { font-size: 56px; }
  .treatment-grid { grid-template-columns: minmax(0, 1fr); }
  .category-icon { width: 64px; }
  .category-title { font-size: 22px; }
  .treatment-offers span { font-size: 16px; }
  .stats li { padding: 8px; }
  .stat-label { font-size: 14px; letter-spacing: 2px; }
  .fineprint { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
