/* Tapka.ma Product Page. Direct-response, mobile-first */

:root {
  --dark: #17191C;
  --gold: #C9A45C;
  --gold-soft: rgba(201, 164, 92, 0.14);
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --text: #17191C;
  --text-muted: #5C6168;
  --text-light: #A8A49D;
  --border: rgba(23, 25, 28, 0.1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --header-h: 56px;
  --max-w: 680px;
  --max-w-wide: 960px;
  --max-w-shop: 1200px;
  --radius: 8px;
  --radius-btn: 10px;
  --dur: 180ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  padding-bottom: env(safe-area-inset-bottom);
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

main h2 {
  margin-bottom: 8px;
}

main .lead { margin-top: 8px; }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── Typography ── */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
h3 { font-size: 1.125rem; }

.text-gold { color: var(--gold); }

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Layout ── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-off-white { background: var(--off-white); }
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .lead,
.section-dark p { color: rgba(255, 255, 255, 0.72); }

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}

.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand .dot-ma { color: var(--gold); }

.header-nav {
  display: none;
  gap: 20px;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.header-nav a:hover { color: var(--dark); }

@media (min-width: 768px) {
  .header-nav { display: flex; }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  touch-action: manipulation;
}

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

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover { background: #d4b06a; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--dark); }

.btn-full { width: 100%; }

.btn-header {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Trust pills ── */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 20px 0 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Ecommerce shop (Popcard-inspired layout) ── */

.shop {
  padding-top: var(--header-h);
  background: var(--white);
}

.shop-inner {
  width: 100%;
  max-width: var(--max-w-shop);
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: grid;
  gap: 24px;
  overflow-x: hidden;
}

.shop-gallery-col,
.shop-buy-col {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .shop-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    padding: 32px 24px 64px;
    align-items: start;
  }

  .shop-buy-col {
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
}

.gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
}

.gallery-thumb {
  flex: 0 0 56px;
  width: 56px;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .gallery-thumb {
    flex: none;
    width: auto;
  }
}

.gallery-thumb.is-active {
  border-color: var(--dark);
}

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

.shop-accordions-desktop { display: none; margin-top: 24px; }
.shop-accordions-mobile { display: block; grid-column: 1 / -1; }

@media (min-width: 900px) {
  .shop-accordions-desktop { display: block; }
  .shop-accordions-mobile { display: none; }
}

.shop-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  padding: 0 16px;
  background: var(--off-white);
}

.shop-accordion summary {
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}

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

.shop-accordion p {
  padding-bottom: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.shop-buy-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--white);
}

.shop-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.shop-title {
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  margin-bottom: 8px;
}

.shop-tagline {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.shop-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.shop-benefits {
  list-style: none;
  margin-bottom: 8px;
}

.shop-benefits li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.shop-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.shop-benefits-extra { display: none; }
.shop-benefits.is-expanded .shop-benefits-extra { display: list-item; }

.shop-benefits-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-bottom: 20px;
}

.shop-plan-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.shop-plan-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-option {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--white);
  cursor: pointer;
}

.plan-option.is-active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.shop-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.shop-price-currency {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.shop-price-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.shop-whatsapp-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.shop-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.shop-form-title {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.shop-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--off-white);
}

.field input:focus {
  outline: none;
  border-color: var(--dark);
  background: var(--white);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--off-white);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--dark);
}

.qty-control input {
  flex: 1;
  min-height: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  padding: 0;
}

.btn-submit { margin-top: 4px; }

.shop-success {
  text-align: center;
  padding: 24px 0;
}

.shop-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-success p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.steps-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.steps-list li {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.steps-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.steps-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cross-sell { text-align: center; }
.cross-sell-img { max-width: 480px; margin-left: auto; margin-right: auto; }
.cross-sell-meta { font-size: 0.9375rem; color: var(--text-muted); margin: 12px 0 20px; }

.site-footer-min p + p { margin-top: 8px; }
.site-footer-min a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

.sticky-cta .btn {
  flex: 1;
  max-width: 200px;
  min-height: 44px;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ── Figures & product shots ── */

.figure-product,
.figure-phone {
  margin: 24px 0 0;
}

.figure-product img,
.figure-phone img {
  width: 100%;
}

.figure-phone img {
  max-width: 320px;
  margin: 0 auto;
}

.figure-product-hero img {
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.figure-caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.profile-actions {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.profile-actions li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.section-compact { padding: 40px 0; }

.section-compact h2 { margin-bottom: 8px; }

/* ── Problem (chat lines) ── */

.problem-lines {
  list-style: none;
  margin: 28px 0;
}

.problem-lines li {
  position: relative;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: var(--white);
  border-left: 3px solid #ddd;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 90%;
}

.problem-lines li:nth-child(odd) { margin-left: 0; }
.problem-lines li:nth-child(even) { margin-left: auto; border-left-color: #ccc; }

.problem-punch {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

/* ── Steps ── */

.steps {
  list-style: none;
  margin: 32px 0;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding-bottom: 28px;
  position: relative;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gold-soft);
}

.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.steps-inline { margin-top: 24px; }

/* ── Comparison ── */

.compare-grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .compare-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.compare-col h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.compare-col.tapka h3 { color: var(--gold); }

.compare-list {
  list-style: none;
}

.compare-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compare-list.before li {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(92, 97, 104, 0.4);
}

.compare-list.tapka li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── Use case sections ── */

.usecase-block {
  display: grid;
  gap: 28px;
  align-items: center;
}

.usecase-visual img {
  width: 100%;
}

.usecase-photo img {
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.usecase-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.usecase-copy .btn { margin-top: 20px; }

.usecase-benefits {
  list-style: none;
  margin-top: 20px;
}

.usecase-benefits li {
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.usecase-benefits li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Use case showcase (Google, Social, etc.) ── */

.showcase-intro {
  max-width: 34rem;
  margin-bottom: 28px;
}

.showcase-intro .lead {
  color: var(--text-muted);
  margin-top: 8px;
}

.showcase-panel {
  display: grid;
  gap: 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.section-off-white .showcase-panel,
.section-off-white .showcase-niche {
  background: var(--white);
}

.showcase-panel-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.showcase-panel-visual img {
  width: 100%;
}

.showcase-panel-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-perks {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.showcase-perk {
  margin: 0;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
}

.section-off-white .showcase-perk {
  background: var(--off-white);
}

.showcase-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.showcase-niche {
  margin-top: 32px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.showcase-niche-tag {
  margin-bottom: 12px;
}

.showcase-niche-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.showcase-niche-visual img {
  width: 100%;
}

.showcase-niche-note {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .showcase-intro {
    margin-bottom: 36px;
  }

  .showcase-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    padding: 28px 32px;
    align-items: center;
  }

  .showcase-panel-reverse .showcase-panel-visual {
    order: 2;
  }

  .showcase-panel-reverse .showcase-panel-body {
    order: 1;
  }

  .showcase-niche {
    margin-top: 40px;
    padding: 24px 28px 28px;
  }
}

/* ── Product photos ── */

.product-gallery {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.product-gallery img {
  width: 100%;
}

.product-specs {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.product-specs li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-specs li::before {
  content: "·";
  margin-right: 8px;
  color: var(--gold);
}

/* ── Audience with photos ── */

.audience-visual {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.audience-visual li {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.audience-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.audience-visual li > div {
  padding: 14px 16px;
}

.audience-visual strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.audience-visual span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (min-width: 768px) {
  .audience-visual {
    gap: 20px;
    margin-top: 32px;
  }

  .audience-visual li > div {
    padding: 16px 18px;
  }

  .audience-visual strong {
    font-size: 1rem;
  }
}

.proof-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.proof-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Pricing plans ── */

.plans-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    padding-top: 12px;
  }

  .plans-grid-b2b {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    padding-top: 12px;
  }
}

.plan-box {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}

.plan-box-featured {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: 0 8px 24px rgba(23, 25, 28, 0.12);
  margin-top: 12px;
}

@media (min-width: 768px) {
  .plan-box-featured {
    transform: scale(1.02);
    z-index: 1;
    margin-top: 0;
  }
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 4px;
}

.plan-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.plan-box-featured .plan-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.plan-currency {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-box-featured .plan-currency {
  color: rgba(255, 255, 255, 0.6);
}

.plan-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.plan-box-featured .plan-note {
  color: rgba(255, 255, 255, 0.6);
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}

.plan-features li {
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(23, 25, 28, 0.06);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-box-featured .plan-features li {
  color: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.plan-box .btn {
  margin-top: auto;
}

.plan-box-featured .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.plans-b2b {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.plans-b2b-head {
  max-width: 36rem;
}

.plans-b2b-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plans-b2b-head .lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.plans-grid-b2b {
  margin-top: 28px;
}

.section-off-white .plan-box:not(.plan-box-featured) {
  box-shadow: 0 2px 12px rgba(23, 25, 28, 0.05);
}

.plan-devis {
  margin-top: 28px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.plan-devis a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.offer-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── FAQ ── */

.faq-list { margin-top: 28px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s var(--ease), padding 0.25s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 16px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Minimal footer (product page) ── */

.site-footer-min {
  padding: 20px;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer-min a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer-min .dot-ma { color: var(--gold); }

/* ── Sticky mobile CTA ── */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  body.has-sticky-cta {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

.sticky-price {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.sticky-cta .btn {
  flex: 1;
  max-width: 180px;
  min-height: 44px;
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
  .site-footer-min { padding-bottom: 24px; }
}

/* ── Order modal ── */

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

@media (min-width: 640px) {
  .order-modal { align-items: center; padding: 16px; }
}

.order-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.order-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 28, 0.55);
}

.order-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  padding: 28px 24px 32px;
}

@media (min-width: 640px) {
  .order-panel { border-radius: 16px; }
}

.order-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.order-kicker {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.order-kicker .dot-ma { color: var(--gold); }

.order-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.order-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.order-form label {
  display: block;
  margin-bottom: 16px;
}

.order-form label span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.order-form input,
.order-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  font-family: var(--font);
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.order-form input:focus,
.order-form select:focus {
  border-color: var(--gold);
  outline: none;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-error {
  color: #c0392b;
  font-size: 0.8125rem;
  margin-bottom: 12px;
}

.order-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

body.modal-open { overflow: hidden; }

/* ── Section spacing helpers ── */

.section-head { margin-bottom: 8px; }
.section-sub { margin-bottom: 0; }

.cta-block {
  margin-top: 28px;
  text-align: center;
}

.cta-block .btn { min-width: 240px; }

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .faq-answer { transition: none; }
}

/* ── Desktop refinements ── */

@media (min-width: 768px) {
  .section { padding: 72px 0; }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 48px;
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: calc(var(--header-h) + 32px) 24px 56px;
    align-items: center;
  }

  .hero-product {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hero-product img { max-height: 520px; border-radius: var(--radius); }

  .hero-copy {
    grid-column: 1;
    padding: 0;
    text-align: left;
  }

  .hero-copy .btn-full { width: auto; min-width: 260px; }
  .price-anchor { text-align: left; }

  .usecase-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .usecase-reverse .usecase-visual { order: 2; }
  .usecase-reverse .usecase-copy { order: 1; }

  .figure-phone img { max-width: 280px; }
}

/* ── Mobile: no horizontal scroll + centered layout ── */

@media (max-width: 767px) {
  .site-header {
    width: 100%;
    max-width: 100%;
  }

  .header-inner {
    max-width: 100%;
    padding: 0 12px;
  }

  .shop {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .shop-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gallery-main {
    width: 100%;
    max-width: 100%;
  }

  .shop-buy-panel {
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .shop-benefits {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .shop-benefits-toggle {
    display: inline-block;
  }

  .shop-plan-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .shop-plan-picker,
  .shop-price-block {
    width: 100%;
  }

  .plan-options {
    justify-content: center;
  }

  .shop-whatsapp-note,
  .shop-trust {
    text-align: center;
    justify-content: center;
  }

  .shop-form-title {
    text-align: center;
  }

  .shop-form .field {
    text-align: left;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .shop-accordions-mobile {
    width: 100%;
    max-width: 100%;
  }

  .section,
  .section-off-white {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section .container h2 {
    text-align: center;
  }

  .faq-list {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .faq-trigger {
    width: 100%;
    max-width: 100%;
    text-align: left;
    word-break: break-word;
  }

  .faq-answer p {
    word-break: break-word;
  }

  .site-footer-min {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }

  .site-footer-min p:last-child {
    word-break: break-word;
    line-height: 1.6;
  }

  .sticky-cta {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }
}
