@font-face { font-family: "Ysabeau"; src: url(fonts/ysabeau-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ysabeau"; src: url(fonts/ysabeau-latin-wght-normal.woff2) format("woff2"); font-weight: 1 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --beton: #cfd3d4;      /* микроциментът по стените */
  --beton-lt: #e3e6e6;
  --saten: #f4f4f3;      /* сатенът под ноктите */
  --ink: #000;           /* логото */
  --ink-soft: #3c4245;
  --zavesa: #35303b;     /* лилаво-сивата завеса */
  --pad: clamp(1.1rem, 4vw, 4rem);
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: "Ysabeau", "Segoe UI", sans-serif; font-weight: 450; font-size: 1.16rem; line-height: 1.5; color: var(--ink); background: var(--beton); font-variant-numeric: lining-nums; }
h1, h2 { font-weight: 220; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
figure { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.demo-bar { background: var(--zavesa); }

.btn { display: inline-block; padding: .62em 1.35em .68em; background: var(--ink); color: #fff; border: 0; border-radius: 99px; font: inherit; font-weight: 560; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--zavesa); }
.btn-inv { background: #fff; color: #000; }
.btn-inv:hover { background: var(--beton); }
.tel { font-weight: 560; font-size: 1.15em; text-decoration: none; white-space: nowrap; }
.tel:hover { text-decoration: underline; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin: 1.6rem 0 0; }

/* ---- лента ---- */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 2rem; padding: .7rem var(--pad); background: rgba(207,211,212,.93); }
.brand { margin-right: auto; }
.brand img { width: clamp(9.5rem, 15vw, 13rem); }
.nav { display: flex; gap: 1.7rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ---- кичурът ---- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .85fr) minmax(0, .78fr); grid-template-rows: 1fr auto; column-gap: clamp(1rem, 2vw, 2rem); padding: clamp(1.5rem, 4vh, 3.5rem) var(--pad) 3rem; min-height: min(50rem, calc(100svh - 6rem)); overflow: hidden;
  background:
    radial-gradient(60% 70% at 75% 10%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(50% 60% at 15% 95%, rgba(140,150,154,.35), transparent 70%),
    var(--beton); }
.hero-text { grid-area: 1 / 1; align-self: center; position: relative; z-index: 2; padding-bottom: 2rem; }
.hero-text p { max-width: 27rem; }
h1 { font-size: clamp(3.2rem, 7.1vw, 6.8rem); font-weight: 180; margin-bottom: .32em; }
.lock { grid-area: 1 / 2 / 3 / 3; position: absolute; inset: calc(-1 * clamp(1.5rem, 4vh, 3.5rem)) -18% -3rem; width: 136%; height: calc(100% + 3rem + clamp(1.5rem, 4vh, 3.5rem)); pointer-events: none; }
.proof { grid-area: 1 / 3 / 3 / 4; align-self: center; position: relative; z-index: 2; }
.proof-img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--c); }
.proof-img > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.sign { position: absolute; width: 62%; right: 6%; bottom: 5%; filter: drop-shadow(0 0 6px rgba(0,0,0,.55)); }
.sign.write { animation: write 1.3s cubic-bezier(.5,.1,.3,1) both; }
@keyframes write { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }
.proof figcaption { margin-top: .7rem; line-height: 1.35; min-height: 3.2em; }
.proof b { font-weight: 640; }

.controls { grid-area: 2 / 1; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; max-width: 30rem; }
.ctl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl-color { grid-column: 1 / -1; }
.ctl legend, .ctl > span:first-child { display: block; padding: 0; font-weight: 640; margin-bottom: .25rem; }
.dots { display: flex; flex-wrap: wrap; gap: .35rem; margin-left: -.3rem; }
.dots label { cursor: pointer; position: relative; display: block; width: 2.75rem; height: 2.75rem; padding: .35rem; }
.dots input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dots span { display: block; width: 100%; height: 100%; border-radius: 50%; }
.dots input:checked + span { box-shadow: 0 0 0 3px var(--beton), 0 0 0 5px #000; }
.dots input:focus-visible + span { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #000; }
.ends { display: flex; justify-content: space-between; font-size: 1rem; color: var(--ink-soft); }
.ends i { font-style: normal; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2rem; margin: 0; background: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 1px; background: #000; }
input[type=range]::-moz-range-track { height: 1px; background: #000; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -.75rem; border: 2px solid #000; border-radius: 50%; background: var(--c); }
input[type=range]::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border: 2px solid #000; border-radius: 50%; background: var(--c); }
.no-js .controls, .no-js .lock { display: none; }

/* ---- дължини ---- */
.rail-sec { background: var(--beton-lt); padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
.sec-head { padding: 0 var(--pad); margin-bottom: 2.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2.5rem; }
.sec-head p { margin: 0; }
.rail { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.4rem, 1vw, 1rem); align-items: start; padding: 0 var(--pad); border-top: 3px solid #000; }
.rail img { width: 100%; }
.rail figcaption { padding-top: .5rem; line-height: 1.2; }
.care { padding: 0 var(--pad); margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.care p { margin: 0; max-width: 30rem; }
.care .care-big { font-size: clamp(1.6rem, 2.9vw, 2.5rem); font-weight: 260; line-height: 1.2; max-width: 26em; }

/* ---- нокти ---- */
.nails { background: var(--saten); display: grid; grid-template-columns: 1.15fr 1.35fr .75fr .75fr; gap: clamp(.4rem, 1vw, 1rem); padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.nails img { width: 100%; height: 100%; object-fit: cover; }
.nails-text, .n-big { grid-row: span 2; }
.nails-text { align-self: end; padding-right: 2rem; }
.nails-text h2 { font-size: clamp(2.3rem, 3.9vw, 3.6rem); margin-bottom: .5em; overflow-wrap: break-word; }
.nails-text p { max-width: 22rem; }

/* ---- лице и салон ---- */
.place { padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.face { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.face img { width: 100%; max-width: 44rem; }
.face h2 { margin-bottom: .4em; }
.face p { max-width: 28rem; margin: 0; }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.4vw, 1.4rem); }
.rooms img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rooms figcaption { padding-top: .5rem; }

/* ---- контакти ---- */
.contact { background: var(--zavesa); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 6rem); padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); align-items: center; }
address { font-style: normal; margin: 1.2rem 0; font-size: 1.2em; }
.hours { margin: 0; max-width: 24rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.hours dd { margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.rating { margin: 1.4rem 0 0; }
.map-box { background: var(--beton); color: #000; min-height: 380px; justify-items: center; }
.map-box p { max-width: 25rem; }
.map-box iframe { height: 380px; }
.map-wrap > p { margin: .8rem 0 0; }

.foot { background: #000; color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center; padding: 2.5rem var(--pad); }
.foot img { width: 15rem; }
.foot p { margin: 0; }
.foot ul { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; list-style: none; margin: 0; padding: 0; }

.legal { max-width: 44rem; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .4em 0; }
.legal h2 { font-size: 1.35rem; font-weight: 640; letter-spacing: 0; margin: 2rem 0 .4rem; }

@media (max-width: 1050px) {
  .nav { display: none; }
  .nails { grid-template-columns: repeat(4, 1fr); }
  .nails-text { grid-column: 1 / -1; grid-row: auto; padding: 0 0 1.2rem; }
  .n-big { grid-column: span 2; }
  .rail { grid-template-columns: repeat(7, 11.5rem); overflow-x: auto; padding-bottom: 1rem; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); grid-template-rows: auto auto auto; padding-top: 1.6rem; min-height: 0; row-gap: 1.6rem; }
  .hero-text { grid-area: 1 / 1 / 2 / 3; padding: 0; }
  .lock { grid-area: 2 / 1 / 3 / 2; inset: -2rem -12% -.5rem -20%; width: 132%; height: calc(100% + 2.5rem); }
  .proof { grid-area: 2 / 2; }
  .controls { grid-area: 3 / 1 / 4 / 3; max-width: none; }
  .dots { gap: 0; justify-content: space-between; margin: 0 -.3rem; }
  .dots label { width: 2.4rem; height: 2.75rem; padding: .48rem .3rem; }
  .care, .face, .contact { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .r-wide { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .nails { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: repeat(7, 8.4rem); }
  .n-big { grid-column: 1 / -1; }
  .top { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sign.write { animation: none; }
}
