/* Gabrova Nail Studio – „Чертата“ */
@font-face { font-family: "Noto Serif Display"; font-weight: 300; font-display: swap; src: url(fonts/noto-serif-display-cyrillic-300-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Serif Display"; font-weight: 300; font-display: swap; src: url(fonts/noto-serif-display-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(fonts/montserrat-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(fonts/montserrat-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --wall: #c9cccb;      /* сивата стена от снимките */
  --wall-light: #e3e4e3;
  --ink: #221f20;       /* графитът на логото */
  --bordo: #5c0f1d;
  --pink: #e3bfc1;
  --paper: #fbfbfa;
  --gut: clamp(1.25rem, 5vw, 5rem);
  --sec: clamp(4rem, 9vw, 8rem);
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: "Montserrat", sans-serif; color: var(--ink); background: var(--wall); line-height: 1.65; overflow-wrap: break-word; }
h1, h2, h3, figcaption, .services__list { font-family: "Noto Serif Display", serif; font-weight: 300; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.sl { color: var(--bordo); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.demo-bar { background: var(--ink); color: var(--paper); }

.btn {
  display: inline-block; padding: .8rem 1.6rem; border: 1px solid var(--bordo); background: var(--bordo); color: var(--paper);
  font: 600 .95rem/1.3 "Montserrat", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--line { background: none; color: var(--ink); border-color: var(--ink); }
.btn--white { background: var(--paper); color: var(--bordo); border-color: var(--paper); }
.btn--ghost { background: none; border-color: var(--pink); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.5rem; padding: .6rem var(--gut); background: var(--wall); }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; font-weight: 600; }
.brand img { width: 36px; height: auto; }
.top nav { display: flex; gap: 1.8rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.top .btn { padding: .6rem 1.2rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: var(--gut); align-items: center; padding-left: var(--gut); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 7.5rem); line-height: .98; letter-spacing: -.025em; }
.hero__text > p { max-width: 30rem; margin-top: 1.8rem; font-size: 1.1rem; }
.hero .slash { height: min(calc(100svh - 4.4rem), 60rem); min-height: 34rem; max-width: 56vw; }

.slash { --x: 50%; --k: 43.4%; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wall-light); }
.slash.is-live { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slash img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slash__a { clip-path: polygon(-200% -1px, calc(var(--x) + var(--k)) -1px, calc(var(--x) - var(--k)) 100%, -200% 100%); }
.slash__line { position: absolute; inset: 0; background: var(--paper); pointer-events: none;
  clip-path: polygon(calc(var(--x) + var(--k) - 2px) 0, calc(var(--x) + var(--k) + 2px) 0, calc(var(--x) - var(--k) + 2px) 100%, calc(var(--x) - var(--k) - 2px) 100%); }
.slash.is-live::after { content: ""; position: absolute; top: 50%; left: clamp(24px, var(--x), calc(100% - 24px)); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%235c0f1d' stroke-width='1.6'%3E%3Cpath d='M15 14l-6 6 6 6M25 14l6 6-6 6'/%3E%3C/svg%3E"); }
.slash input { position: absolute; left: 0; bottom: 0; width: 100%; margin: 0; opacity: 0; pointer-events: none; }
.slash:focus-within:has(input:focus-visible) { outline: 3px solid var(--bordo); outline-offset: 4px; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gut); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.intro p { max-width: 32rem; }
.choices { padding: var(--sec) var(--gut); background: var(--paper); }
.choices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.5rem); }
figure { margin: 0; }
figcaption { margin-top: 1rem; font-size: clamp(1.5rem, 2.3vw, 2.1rem); }

.services { padding: var(--sec) var(--gut); }
.nb { white-space: nowrap; }
.services__list { font-size: clamp(1.9rem, 7vw, 6.4rem); line-height: 1.08; letter-spacing: -.02em; }
.services__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem var(--gut); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.services__notes h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.services__notes p { max-width: 32rem; }

.wall { padding-top: var(--sec); background: var(--wall-light); }
.wall .intro { padding: 0 var(--gut); }
.wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wall__grid img { width: 100%; }

.book { background: var(--bordo); color: var(--paper); padding: var(--sec) var(--gut); }
.book__in { max-width: 44rem; }
.book p { margin-top: 1.4rem; font-size: 1.1rem; max-width: 36rem; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem var(--gut); padding: var(--sec) var(--gut); background: var(--paper); }
.contact address { font-style: normal; margin-top: 1.8rem; font-size: 1.1rem; }
.contact table { border-collapse: collapse; margin: 1.6rem 0; }
.contact th { font-weight: 400; text-align: left; padding: .25rem 2rem .25rem 0; }
.contact td { font-weight: 600; font-variant-numeric: tabular-nums; }
.contact ul { list-style: none; margin: 0; padding: 0; }
.contact li { padding: .3rem 0; }
.map-box { background: var(--wall-light); justify-items: center; gap: 1.2rem; font-size: .95rem; }
.map-box p { max-width: 26rem; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; padding: 2.5rem var(--gut); font-size: .95rem; }
.foot img { width: 48px; }
.foot p:last-child { margin-left: auto; }

.page-legal { background: var(--paper); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 1.5rem 0 1rem; }
.legal h2 { font-size: 1.6rem; letter-spacing: 0; margin-bottom: .5rem; }
:focus-visible { outline-color: var(--bordo); }
.book :focus-visible { outline-color: var(--paper); }

@media (max-width: 860px) {
  .top nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 0 0; gap: 2rem; }
  .hero__text { padding: 0 var(--gut); }
  .hero .slash { height: auto; min-height: 0; max-width: none; width: 100%; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 6rem); }
  .intro, .services__notes, .contact { grid-template-columns: minmax(0, 1fr); }
  .choices__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot p:last-child { margin-left: 0; }
}
@media (min-width: 600px) and (max-width: 860px) { .choices__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .brand span { max-width: 7.5rem; line-height: 1.2; } .top { gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
