/* Sorellina Clinic — /laser-offer, the paid-ad landing page.
   The shop window carries the offer as gilt vinyl over the treatment photo;
   beside it, the patch-test form is a paper form hung on the timber, and the
   offer terms are engraved on a brass plate underneath. Uses the tokens in
   css/shopfront.css only. */

/* ------------------------------------------------------------- the window */
.offer-window .offer-front {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .85fr);
  grid-template-areas: "glass form" "terms form";
  grid-template-rows: 1fr auto;
}
.offer-glass { grid-area: glass; overflow: hidden; min-height: clamp(420px, 56vh, 560px); isolation: isolate; }
.offer-still { position: absolute; z-index: -2; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 32%; }
/* dark glass breath behind the lettering, so the vinyl reads over the photo */
.offer-glass::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, #121314 0%, #121314 36%, rgba(18, 19, 20, .86) 54%, rgba(18, 19, 20, .5) 78%, rgba(18, 19, 20, .4) 100%);
}
.offer-lettering { position: relative; max-width: 40rem; }

.hero-glass h1.offer-vinyl { display: grid; gap: 6px; font-size: inherit; line-height: 1; padding-right: 0; }
.vinyl-fifty { font-size: clamp(6rem, 11vw, 10.5rem); line-height: .82; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.vinyl-off { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.04; color: var(--gold-light); }
.offer-subject { margin-top: 16px; font-size: .98rem; color: var(--on-dark-2); }
.offer-tagline { margin-top: clamp(16px, 2.2vh, 24px); font: 400 clamp(1.35rem, 1.9vw, 1.85rem)/1.2 var(--serif); color: var(--on-dark); max-width: 26ch; }
.offer-tagline em { font-style: normal; color: var(--gold); text-shadow: 0 1px 0 var(--gold-shade); }
.offer-rating { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(236, 230, 216, .3); font-variant-numeric: tabular-nums; transition: color 160ms ease, text-decoration-color 160ms ease; }
.offer-rating .stars { display: inline-flex; gap: 2px; color: var(--gold); }
.offer-rating .stars svg { width: .95em; height: .95em; fill: currentColor; stroke: none; }
.offer-glass .hero-actions { margin-top: clamp(22px, 3vh, 32px); gap: 12px 24px; }
.offer-call { font-size: .95rem; color: var(--on-dark-2); }
.offer-call a { font-variant-numeric: tabular-nums; }
.offer-jump { display: none; }
@media (hover: hover) and (pointer: fine) {
  .offer-rating:hover { color: var(--gold-light); text-decoration-color: currentColor; }
}

/* ----------------------------------------------- the patch-test form */
.offer-form {
  grid-area: form; align-self: stretch; max-width: none; margin: 0;
  display: grid; align-content: center;
  padding: clamp(24px, 3vw, 40px);
  --focus: var(--blue);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 18px 36px rgba(0, 0, 0, .35);
}
.offer-form h2 { font-size: clamp(1.9rem, 2.5vw, 2.5rem); line-height: 1.04; }
.offer-form-lede { margin-top: 10px; font-size: .98rem; color: var(--ink-2); }
.lead-form { margin-top: 22px; }
.offer-form .form-grid { gap: 14px 18px; }
.offer-form .form-field input, .offer-form .form-field select { min-height: 48px; font-size: 1rem; }
.offer-form .form-field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4e52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
@media (hover: hover) and (pointer: fine) {
  .offer-form .form-field input:hover:not(:focus), .offer-form .form-field select:hover:not(:focus) { border-color: rgba(27, 28, 30, .5); }
}
.lead-submit-btn { width: 100%; justify-content: center; margin-top: 20px; min-height: 54px; font-size: 1.02rem; }
.lead-submit-btn:disabled { opacity: .6; cursor: default; transform: none; }
.lead-error { margin-top: 10px; min-height: 1.4em; font-size: .92rem; }
.lead-error:empty { margin-top: 0; min-height: 0; }
.lead-note { margin-top: 12px; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.lead-note a { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.lead-thanks { padding: 8px 0; }
.lead-thanks h3 { font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.1; }
.lead-thanks p { margin-top: 12px; color: var(--ink-2); }
.lead-thanks a { color: var(--blue); font-weight: 500; }

/* ------------------------------------------ the offer terms, on brass */
.offer-terms {
  grid-area: terms;
  padding: 14px 22px; border-radius: 3px;
  background: var(--brass); color: var(--ink);
  box-shadow: inset 0 0 0 5px var(--brass), inset 0 0 0 6px rgba(110, 80, 23, .55), 0 2px 0 rgba(0, 0, 0, .25), 0 8px 18px rgba(0, 0, 0, .28);
  font-size: .9rem; line-height: 1.45; font-variant-numeric: tabular-nums;
  --focus: var(--ink);
}
.offer-terms p + p { margin-top: 4px; }
.offer-terms strong { font-weight: 500; }
.offer-countdown:empty { display: none; }
.offer-countdown .cd-nums { font-weight: 500; }

@media (max-width: 900px) {
  .offer-window .offer-front { grid-template-columns: 1fr; grid-template-areas: "glass" "form" "terms"; grid-template-rows: auto; }
  .offer-glass { min-height: 0; padding: 32px 22px 30px; }
  .offer-still { width: 100%; object-position: 60% 30%; }
  .offer-glass::after { background: linear-gradient(180deg, rgba(18, 19, 20, .9) 0%, rgba(18, 19, 20, .8) 55%, rgba(18, 19, 20, .92) 100%); }
  .window-hero .hero-glass h1.offer-vinyl { padding-right: 0; }
  .vinyl-fifty { font-size: clamp(5.4rem, 27vw, 8rem); }
  .vinyl-off { font-size: clamp(1.7rem, 7.4vw, 2.3rem); }
  .offer-jump { display: inline; }
  .offer-glass .btn-gilt { width: 100%; justify-content: space-between; }
  .offer-call { flex-basis: 100%; }
}

/* ------------------------------------------------------------- the film */
.film-wide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.film-wide video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fascia); box-shadow: 0 0 0 1px var(--charcoal-line), 0 0 0 10px var(--fascia), 0 0 0 11px var(--charcoal-line); }
.film-wide .play { aspect-ratio: 16 / 9; }

/* ------------------------------------------------ how it works, printed */
.steps-card {
  list-style: none; margin-left: 0; margin-right: 0; padding: clamp(26px, 3.4vw, 44px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  background: var(--paper); rotate: -.4deg;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 14px 28px rgba(27, 28, 30, .14);
}
.steps-card li { padding: 4px clamp(18px, 2.4vw, 36px); border-left: 1px solid rgba(27, 28, 30, .14); }
.steps-card li:first-child { padding-left: 0; border-left: 0; }
.steps-card li:last-child { padding-right: 0; }
.steps-card h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.12; }
.steps-card p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 800px) {
  .steps-card { grid-template-columns: 1fr; }
  .steps-card li { padding: 20px 0; border-left: 0; border-top: 1px solid rgba(27, 28, 30, .14); }
  .steps-card li:first-child { padding-top: 4px; border-top: 0; }
}

/* --------------------------------------- treatment areas, window vinyl */
.area-pane {
  padding: clamp(26px, 4vw, 56px);
  background-color: #1a1d1f;
  background-image: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, 0) 46%);
  border: 14px solid var(--charcoal);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 18px 40px rgba(27, 28, 30, .2);
}
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.area-list li { padding: 14px 0; border-bottom: 1px solid rgba(201, 161, 74, .16); font: 400 clamp(1.35rem, 2vw, 1.9rem)/1.15 var(--serif); color: var(--gold); text-shadow: 0 1px 0 var(--gold-shade), 0 2px 1px rgba(0, 0, 0, .45); }
@media (max-width: 760px) { .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area-pane { border-width: 10px; } }

/* ------------------------------------------- statements, in a window */
.statement {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  border: 14px solid var(--charcoal); background: #121314;
  box-shadow: 0 18px 40px rgba(27, 28, 30, .14), 0 2px 4px rgba(27, 28, 30, .1);
}
.statement img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.statement-glass {
  display: grid; align-content: center; padding: clamp(28px, 5vw, 80px);
  background-image: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, 0) 46%);
  box-shadow: inset 1px 0 0 var(--charcoal-line);
}
.statement-glass h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.06; }
.statement-glass p { margin-top: 20px; max-width: 32rem; color: var(--on-dark); }
.statement-flip img { order: 2; }
.statement-flip .statement-glass { box-shadow: inset -1px 0 0 var(--charcoal-line); }
@media (max-width: 800px) {
  .statement { grid-template-columns: 1fr; border-width: 10px; }
  .statement img { min-height: 0; aspect-ratio: 4 / 3; }
  .statement-flip img { order: 0; }
}

/* ---------------------------------------------------- reviews, counter */
.offer-quotes { margin-top: clamp(36px, 4.6vw, 60px); }

/* ---------------------------------------- why Sorellina, ruled list */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); max-width: 1100px; }
.reasons > div { padding: 24px 0; border-top: 1px solid rgba(27, 28, 30, .14); }
.reasons h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; }
.reasons p { margin-top: 8px; max-width: 34rem; color: var(--ink-2); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

.patch-why .hero-actions { margin-top: 32px; }

/* --------------------------------------------- mobile sticky actions */
.mobile-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; background: var(--fascia); box-shadow: 0 -1px 0 var(--gold-shade), 0 -8px 20px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); --focus: var(--gold); }
.sticky-btn { flex: 1; display: grid; place-items: center; min-height: 54px; padding: 10px 8px; text-align: center; text-decoration: none; font-weight: 500; font-size: .95rem; font-variant-numeric: tabular-nums; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.sticky-btn:focus-visible { outline-offset: -5px; }
.sticky-btn:active { transform: scale(.97); }
.sticky-btn-gold { background: var(--gold); color: var(--ink); }
.sticky-btn-outline { color: var(--gold-light); border-left: 1px solid rgba(201, 161, 74, .3); }
.sticky-btn-gold:focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .sticky-btn-gold:hover { background: var(--gold-light); }
  .sticky-btn-outline:hover { background: #000; }
}
@media (max-width: 900px) {
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}
