/* ==========================================================================
   Bea Nails — "The Bea Nails difference": five layout options to compare.
   Each option is a self-contained section (.why-a … .why-e).
   ========================================================================== */
.why {
  --w-red: #7d1f1f;
  --w-red-dk: #5d1614;
  --w-blush: #f1dcd6;
  --w-cream: #f6f0ea;
  --w-ink: #1a1614;
  --w-muted: #5c5652;
  --w-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --w-sans: "Outfit", "Segoe UI", "Avenir Next", sans-serif;
  position: relative;
  font-family: var(--w-sans);
  color: var(--w-ink);
  overflow: hidden;
}
.why *,
.why *::before,
.why *::after { box-sizing: border-box; }
.why h2,
.why h3,
.why p { margin: 0; }
.why img { display: block; max-width: 100%; }

/* little "Option A" label so the versions are easy to tell apart */
.why-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--w-ink);
  color: #fff;
  font: 500 0.75rem/1 var(--w-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* shared button */
.why-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  background: var(--w-red);
  color: #fff;
  font: 500 0.98rem/1 var(--w-sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.why-btn:hover,
.why-btn:focus-visible { background: var(--w-red-dk); transform: translateY(-2px); }
.why-btn svg { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.why-btn:hover svg { transform: translateX(3px); }

.why-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* reveal on scroll (staggered with --i) */
.why .wr { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--i, 0) * 0.12s); }
.why .wr.is-in { opacity: 1; transform: none; }
.why-b .wr { transform: translateY(26px) rotate(var(--r, 0deg)); }
.why-b .wr.is-in { transform: rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: reduce) {
  .why .wr { opacity: 1; transform: none; transition: none; }
  .why-b .wr { transform: rotate(var(--r, 0deg)); }
}

/* ==========================================================================
   B — Tilted cards on brand red
   ========================================================================== */
.why-b { background: var(--w-red); background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.2px, transparent 1.3px); background-size: 26px 26px; color: #fff; padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
.why-b__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; max-width: 1280px; margin: 0 auto; }
.why-b__label { position: relative; display: inline-block; padding: 1.4rem 2rem 1.5rem; background: var(--w-cream); color: var(--w-red); border-radius: 10px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45); }
.why-b__label::before { content: ""; position: absolute; top: 12px; left: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--w-red); }
.why-b__label h2 { font-family: var(--w-serif); font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; line-height: 0.95; }
.why-b__lede { margin-top: 2rem !important; max-width: 26rem; color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; line-height: 1.6; }
.why-b__photo { width: min(270px, 70%); margin-top: 2.2rem; padding: 10px 10px 2.4rem; background: #fff; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55); }
.why-b__photo img { aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: 3px; }
.why-b .why-btn { margin-top: 2.2rem; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.4); }
.why-b .why-btn:hover { background: #fff; color: var(--w-red); }
.why-b__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.why-b__card { padding: clamp(1.6rem, 2.6vw, 2.2rem); background: #fff; color: var(--w-ink); border-radius: 10px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6); }
.why-b__card:nth-child(even) { margin-top: 3.5rem; margin-bottom: -3.5rem; }
.why-b__num { color: var(--w-red); font-family: var(--w-serif); font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 600; line-height: 0.9; }
.why-b__card h3 { margin-top: 0.4rem; font-family: var(--w-serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 600; line-height: 1.05; color: var(--w-red); }
.why-b__card p { margin-top: 0.7rem; color: var(--w-muted); font-size: 1.02rem; line-height: 1.55; }
@media (max-width: 900px) {
  .why-b__inner { grid-template-columns: 1fr; }
  .why-b__card:nth-child(even) { margin: 0; }
}
@media (max-width: 520px) { .why-b__cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   D — Zigzag cards with photos and dashed arrows
   ========================================================================== */
.why-d { background: linear-gradient(180deg, #fff 0%, var(--w-cream) 55%, var(--w-blush) 130%); padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
.why-d__head { text-align: center; }
.why-d__title { font-family: var(--w-serif); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 600; line-height: 0.95; }
.why-d__title em { color: var(--w-red); font-style: normal; }
.why-d__rule { width: 5rem; height: 2px; margin: 1.4rem auto; background: var(--w-red); }
.why-d__sub { color: var(--w-muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: 0.03em; }
.why-d__sub b { color: var(--w-red); font-weight: 500; }
.why-d__list { position: relative; display: grid; gap: clamp(2.6rem, 5vw, 4rem); max-width: 980px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0; list-style: none; }
.why-d__row { position: relative; display: grid; grid-template-columns: auto 1fr minmax(180px, 34%); align-items: center; gap: 1.4rem; width: 88%; padding: 1rem; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px -26px rgba(125, 31, 31, 0.35); }
.why-d__row:nth-child(even) { justify-self: end; grid-template-columns: minmax(180px, 34%) auto 1fr; }
.why-d__row:nth-child(even) .why-d__img { order: -1; }
.why-d__row .why-ico { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-left: 0.6rem; padding: 0.85rem; border-radius: 50%; background: var(--w-red); color: #fff; box-shadow: 0 8px 18px -6px rgba(125, 31, 31, 0.6); }
.why-d__txt { padding-left: 1.4rem; border-left: 2px solid var(--w-blush); }
.why-d__txt h3 { color: var(--w-red); font-family: var(--w-serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; line-height: 1.05; }
.why-d__txt p { margin-top: 0.45rem; color: var(--w-muted); font-size: 1.02rem; line-height: 1.55; }
.why-d__img { height: 100%; min-height: 150px; border-radius: 12px; overflow: hidden; }
.why-d__img img { width: 100%; height: 100%; object-fit: cover; }
.why-d__arrow { position: absolute; width: 70px; height: 70px; color: var(--w-red); opacity: 0.7; bottom: -3.6rem; }
.why-d__row:nth-child(odd) .why-d__arrow { left: -1.5rem; }
.why-d__row:nth-child(even) .why-d__arrow { right: -1.5rem; transform: scaleX(-1); }
.why-d__arrow path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 4 5; stroke-linecap: round; }
.why-d__cta { margin-top: clamp(3rem, 5vw, 4rem); text-align: center; }
@media (max-width: 760px) {
  .why-d__row,
  .why-d__row:nth-child(even) { grid-template-columns: auto 1fr; width: 100%; }
  .why-d__img { grid-column: 1 / -1; order: -1; min-height: 190px; }
  .why-d__arrow { display: none; }
}

/* ==========================================================================
   E — Editorial: ruled lines, big type with highlight, pill labels, photo
   ========================================================================== */
.why-e { background: #f3eee6; padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem); }
.why-e__inner { max-width: 1240px; margin: 0 auto; }
.why-e__top { display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--w-ink); border-bottom: 1px solid var(--w-ink); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.why-e__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.why-e__kicker { color: #4a4440; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; text-transform: uppercase; }
.why-e__title { margin-top: 0.3rem !important; color: #3d3734; font-family: var(--w-sans); font-size: clamp(3.6rem, 8.4vw, 7.6rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.055em; text-transform: uppercase; }
.why-e__title span { display: inline-block; padding: 0 0.12em 0 0; background: linear-gradient(transparent 52%, var(--w-blush) 52%, var(--w-blush) 96%, transparent 96%); }
.why-e__hash { margin-top: 1.6rem !important; color: var(--w-muted); font-size: 1rem; }
.why-e__rows { display: grid; gap: 1.2rem; margin-top: 2rem; }
.why-e__row { display: grid; grid-template-columns: minmax(170px, 0.8fr) 1.4fr; gap: 1.6rem; align-items: center; }
.why-e__pill { display: grid; place-items: center; min-height: 4.4rem; padding: 0.7rem 1rem; border-radius: 12px; background: var(--w-red); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.15; letter-spacing: 0.02em; text-align: center; text-transform: uppercase; }
.why-e__row p { color: #3d3734; font-size: 1.12rem; line-height: 1.45; }
.why-e__photo { position: relative; align-self: stretch; min-height: 420px; border-radius: 14px; overflow: hidden; }
.why-e__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why-e__photo span { position: absolute; left: 1rem; bottom: 1rem; padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-size: 0.85rem; letter-spacing: 0.05em; }
.why-e__strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--w-ink); border-bottom: 1px solid var(--w-ink); }
.why-e__strip > * { padding: 1.1rem 0.5rem; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.why-e__strip > * + * { border-left: 1px solid var(--w-ink); }
.why-e__strip a { color: var(--w-red); text-decoration: none; }
.why-e__strip a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .why-e__grid { grid-template-columns: 1fr; }
  .why-e__photo { min-height: 360px; }
}
@media (max-width: 560px) {
  .why-e__row { grid-template-columns: 1fr; gap: 0.6rem; }
  .why-e__pill { min-height: 0; justify-items: start; }
  .why-e__strip { grid-template-columns: 1fr; }
  .why-e__strip > * + * { border-left: 0; border-top: 1px solid var(--w-ink); }
  .why-e__top { font-size: 0.8rem; }
}

/* B: big card numbers (beat generic paragraph rules) */
.why.why-b .why-b__card .why-b__num { color: var(--w-red); font-size: clamp(3rem, 5vw, 4.2rem); line-height: 0.9; font-variant-numeric: lining-nums; }

/* ---- word-by-word text reveal (matches pravux.com: each word wipes in left→right while fading in) ---- */
.why .wd { display: inline-block; opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity 0.55s cubic-bezier(0.215, 0.61, 0.355, 1), clip-path 0.55s cubic-bezier(0.215, 0.61, 0.355, 1); transition-delay: calc(var(--sd, 0s) + var(--w, 0) * var(--ws, 0.1s)); }
.why .is-split.is-in .wd { opacity: 1; clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .why .wd { opacity: 1; clip-path: none; transition: none; } }
/* E pills: keep split words on one line instead of stacking */
.why-e__pill.is-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 0.3em; }
@media (max-width: 560px) { .why-e__pill.is-split { justify-content: flex-start; } }
