/* LocalBiz Salon Starter Pack — visual-first, mobile-first sales page */
:root {
  --bg: #fffaf8;
  --bg-alt: #f7efe9;
  --surface: #ffffff;
  --ink: #1f1520;
  --muted: #5c4d56;
  --line: #eadfd8;
  --brand: #8b3a4a;
  --brand-dark: #6e2d3a;
  --brand-soft: #f3e0e4;
  --accent: #c4785a;
  --ok: #2f6b4f;
  --shadow: 0 10px 30px rgba(31, 21, 32, 0.08);
  --shadow-lg: 0 18px 48px rgba(31, 21, 32, 0.12);
  --radius: 18px;
  --max: 1080px;
  --max-narrow: 720px;
  --font: "Segoe UI", system-ui, -apple-system, "Noto Sans", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #f8e6ea 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #f3ebe3 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--brand);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Soft motion */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

.float-soft {
  animation: float-y 6s ease-in-out infinite;
  will-change: transform;
}

.fade-in {
  animation: fade-up 0.7s ease both;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 250, 248, 0.9);
  border-bottom: 1px solid rgba(234, 223, 216, 0.8);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.logo-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #b45c6e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(139, 58, 74, 0.25);
}

.top-cta {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  color: #fff;
  background: var(--brand);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.top-cta:hover {
  background: var(--brand-dark);
}

/* Hero — single column by default; 2-col from 900px */
.hero {
  padding: 1.5rem 0 1.25rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  max-width: 100%;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 5.2vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.hero .sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.price-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.15rem;
  max-width: 100%;
}

.price-pill .amt {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.price-pill .note {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(139, 58, 74, 0.28);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-card {
  margin-top: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mini {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 0.75rem;
}

.mini strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.mini span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.hero-img-wrap {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections — tighter on mobile */
section {
  padding: 1.5rem 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.45rem;
}

h2.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 4.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.lead {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Video — 16:9, capped width on mobile, no huge padding */
.preview {
  background: linear-gradient(180deg, transparent, rgba(247, 239, 233, 0.7) 12%, rgba(247, 239, 233, 0.7) 88%, transparent);
}

.video-frame {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #1f1520;
  aspect-ratio: 16 / 9;
}

.pack-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}

.gallery-img {
  background: var(--bg-alt);
  overflow: hidden;
  width: 100%;
}

.gallery-card:not(.gallery-card-wide) .gallery-img {
  aspect-ratio: 1 / 1;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 0.75rem 0.95rem 0.95rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

/* Phone-feed: full-width card chrome, centered tall phone */
.gallery-card-wide .gallery-img {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-alt);
  padding: 1rem 0.75rem;
  aspect-ratio: auto;
}

.gallery-card-wide .gallery-img img {
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 21, 32, 0.12);
}

/* Pain */
.pain {
  background: linear-gradient(180deg, transparent, rgba(247, 239, 233, 0.65) 20%, rgba(247, 239, 233, 0.65) 80%, transparent);
}

.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.pain-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  box-shadow: 0 4px 14px rgba(31, 21, 32, 0.04);
  min-width: 0;
}

.pain-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #f6e4e7;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Included — visual rows */
.include-visual {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.include-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 9;
  max-width: 100%;
  margin-inline: auto;
  width: 100%;
}

.include-visual-flip .include-media {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.include-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.include-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.include-bullets li {
  display: grid;
  gap: 0.2rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--brand);
  min-width: 0;
}

.include-bullets strong {
  font-size: 1.02rem;
}

.include-bullets span {
  color: var(--muted);
  font-size: 0.95rem;
}

.include-side h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.include-side p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.storyboard-row {
  background: var(--bg-alt);
  border: 1px dashed #dfcfc5;
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.storyboard-media {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

.storyboard-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fffaf8;
}

.storyboard-caption {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36rem;
}

/* Who */
.two-col {
  display: grid;
  gap: 0.8rem;
}

.panel {
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--line);
  min-width: 0;
}

.panel-yes {
  background: #f3f8f5;
  border-color: #cfe0d6;
}

.panel-no {
  background: #faf7f5;
}

.panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.panel li + li {
  margin-top: 0.35rem;
}

.panel-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Price */
.price-block {
  background: linear-gradient(160deg, #8b3a4a 0%, #6e2d3a 55%, #4f2430 100%);
  color: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.25rem 1.3rem;
  box-shadow: 0 16px 36px rgba(110, 45, 58, 0.28);
  max-width: var(--max-narrow);
}

.price-block .eyebrow {
  opacity: 0.85;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.price-block .big {
  font-size: clamp(2.2rem, 8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.price-block .desc {
  opacity: 0.92;
  margin: 0 0 1rem;
}

.price-block ul {
  margin: 0 0 1.15rem;
  padding-left: 1.1rem;
  opacity: 0.95;
}

.price-block li + li {
  margin-top: 0.3rem;
}

.price-block .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
  width: 100%;
}

.price-block .btn-primary:hover {
  background: #fff4f6;
}

.sat-note {
  margin-top: 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  max-width: var(--max-narrow);
}

/* FAQ */
.faq .wrap {
  width: min(100% - 2rem, var(--max-narrow));
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.65rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Order / CTA */
.order {
  scroll-margin-top: 4.5rem;
}

.order .wrap {
  width: min(100% - 2rem, var(--max-narrow));
}

.order-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow);
}

.order-box h2 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
  overflow-wrap: break-word;
}

.order-box .lead {
  margin-bottom: 1rem;
}

.wa-card {
  background: #eef8f1;
  border: 1px solid #cfe6d7;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

.wa-card .label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ok);
  margin-bottom: 0.35rem;
}

.wa-hint {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.wa-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b4332;
  background: #fff;
  border: 1px dashed #9fc5ad;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  display: inline-block;
  margin: 0.25rem 0 0.7rem;
  word-break: break-all;
  max-width: 100%;
}

.btn-wa {
  background: #1f8f4e;
  color: #fff;
  width: 100%;
  box-shadow: 0 8px 18px rgba(31, 143, 78, 0.22);
}

.btn-wa:hover {
  background: #187a41;
}

.placeholder-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.placeholder-note code {
  font-size: 0.85em;
  background: var(--bg-alt);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Soft upgrade */
.upgrade {
  padding-top: 0.35rem;
}

.upgrade .wrap {
  width: min(100% - 2rem, var(--max-narrow));
}

.upgrade-box {
  border: 1px dashed #d8c5bc;
  background: #fbf6f2;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.upgrade-box strong {
  color: var(--ink);
}

/* Footer */
footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.75rem;
}

footer .wrap {
  width: min(100% - 2rem, var(--max-narrow));
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-lines {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  list-style: none;
  padding: 0;
}

.footer-lines li {
  margin-bottom: 0.25rem;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 250, 248, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: none;
}

.sticky-cta .btn {
  width: 100%;
}

/* ---- Breakpoints ---- */

@media (max-width: 720px) {
  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 5.5rem;
  }

  footer {
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 700px) {
  .float-soft {
    animation: none;
  }
}

@media (max-width: 380px) {
  .logo-text {
    max-width: 9.5rem;
  }

  .top-cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .badge {
    font-size: 0.72rem;
  }
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .gallery-card-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  section {
    padding: 2.1rem 0;
  }

  .hero {
    padding: 2rem 0 1.75rem;
  }

  .mini-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .price-block .btn-primary,
  .btn-wa {
    width: auto;
  }

  .include-visual {
    padding: 1.2rem;
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .hero-img-wrap {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    border-radius: 22px;
  }

  .video-frame {
    max-width: none;
  }

  .include-visual {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 1.35rem;
    gap: 1.75rem;
  }

  .include-visual-flip {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .include-visual-flip .include-media {
    order: 2;
  }

  .include-media {
    margin-inline: 0;
  }

  .storyboard-media {
    max-width: 720px;
  }
}

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

  .btn {
    transition: none;
  }

  .float-soft,
  .fade-in {
    animation: none;
  }
}
