/* Salon industry pages (/salons/{type}/): same tone and structure as /line/ (line-page-a.css). */
.nl {
  --ink: #1c1c1a; --muted: #6b6b64; --border: #e5e5e2;
  --pink: #c4445b; --pink-ink: #a8364c; --tint: #faeaeb;
  padding-top: 68px; background: #fcfbfa; color: var(--ink);
}
body[data-page="salons_nail"] { background: #fcfbfa; }

.nl-kicker { font-size: 14px; font-weight: 700; color: var(--pink-ink); letter-spacing: .06em; }
.nl-title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.38; margin: 10px 0 14px; font-weight: 800; }
.nl-title em, .nl-h2 em { font-style: normal; color: var(--pink-ink); background: linear-gradient(transparent 64%, #f8d6e3 64%); }
.nl-lead { color: var(--muted); font-size: 16px; }
.nl-h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.4; font-weight: 800; margin: 8px 0 0; }

.nl-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 28px; min-width: 240px; padding: 16px 32px;
  border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .15s; }
@media (hover: hover) and (pointer: fine) {
    .nl-cta:hover { transform: translateY(-1px); }
}
.nl-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* hero */
.nl-hero { max-width: 1080px; margin: 0 auto; padding: 72px 24px 56px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.nl-hero__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; border-radius: 24px; }

/* features */
.nl-feat { padding: 88px 24px; background: #fff; border-block: 1px solid var(--border); overflow: hidden; }
.nl-feat__inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; grid-template-areas: "head phone" "tabs phone"; column-gap: 72px; align-items: start; }
.nl-feat__head { grid-area: head; align-self: end; }
.nl-tabs { grid-area: tabs; margin-top: 28px; display: grid; gap: 10px; }
.nl-tab { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; width: 100%; text-align: left; font: inherit; color: inherit;
  background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s; }
@media (hover: hover) and (pointer: fine) {
    .nl-tab:hover { background: #fcfbfa; }
}
.nl-tab[aria-selected="true"] { background: #fff; border-color: var(--border); }
.nl-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #f1efeb; color: var(--muted); transition: .25s; }
.nl-tab[aria-selected="true"] .nl-num { background: var(--pink); color: #fff; }
.nl-tab b { display: block; font-size: 16px; line-height: 1.4; }
.nl-tab small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.nl-phone { grid-area: phone; position: relative; width: 320px; justify-self: center; aspect-ratio: 9 / 19; border-radius: 40px; background: #fff;
  border: 10px solid #141414; overflow: hidden; cursor: pointer; box-shadow: 0 40px 80px rgba(28, 28, 26, .18); }
.nl-phone::before { content: ""; position: absolute; inset: -20% -40%; z-index: -1; background: radial-gradient(closest-side, #fde4ee, transparent); }
.nl-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s; }
.nl-phone img.is-on { opacity: 1; transform: none; }

/* closing */
.nl-end { padding: 80px 24px 72px; text-align: center; }
.nl-end .store-cta { margin: 28px auto 0; }
.nl-links { display: flex; justify-content: center; gap: 24px; margin-top: 18px; font-size: 13px; }
.nl-links a { color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
.nl-fine { max-width: 560px; margin: 28px auto 0; font-size: 11px; line-height: 1.7; color: #8a8a83; }

.nl-tab:focus-visible, .nl-phone:focus-visible, .nl a:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 4px; }

@media (max-width: 880px) {
  .nl-hero { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 48px; text-align: center; }
  .nl-title { font-size: clamp(26px, 7.4vw, 36px); }
  .nl-cta { width: 100%; max-width: 340px; font-size: 15px; }
  .nl-hero__photo { border-radius: 24px; aspect-ratio: 5 / 4; }

  .nl-feat { padding: 56px 20px; }
  .nl-feat__inner { grid-template-columns: 1fr; grid-template-areas: "head" "phone" "tabs"; }
  .nl-feat__head { text-align: center; margin-bottom: 28px; }
  .nl-phone { width: min(260px, 70vw); border-width: 8px; border-radius: 34px; }
  .nl-tabs { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 24px; }
  .nl-tab { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 4px; gap: 6px; min-width: 0; }
  .nl-tab b { font-size: 12px; }
  .nl-tab small { display: none; }

  .nl-end { padding: 56px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .nl-phone img, .nl-tab, .nl-num { transition: none; }
}

/* Tablet-size screenshots (karte, tickets) switch the frame to landscape. */
.nl-phone { transition: aspect-ratio .35s, border-radius .35s; }
.nl-phone.is-wide { aspect-ratio: 7 / 6; border-radius: 24px; }
.nl-hero__photo--tall { object-position: center 22%; }
@media (min-width: 881px) { .nl-hero__photo--tall { aspect-ratio: 1 / 1; } }
@media (max-width: 880px) { .nl-phone.is-wide { width: min(340px, 88vw); border-radius: 20px; } }
