/* Kira Nails. Шрифты лежат на этом же сервере (SIL Open Font License), внешних запросов за ними нет. */
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/lora-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/lora-700-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Caprasimo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/caprasimo-latin.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --sand: #ebddc5;
  --sand-light: #eee7db;
  --cream: #f9f4ed;
  --ink: #2e2b25;
  --ink-strong: #201e1d;
  --muted: #645c50;
  --terra: #8c491a;
  --terra-dark: #643312;
  --terra-mid: #b2622d;
  --peach: #ffe1d0;
  --peach-light: #fff2eb;
  --focus: #c67139;
  --divider: rgba(32, 30, 29, .16);
  --shadow-md: 0 3px 10px rgba(46, 43, 37, .16);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, .22);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Caprasimo", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--terra); }
a:hover { color: var(--terra-dark); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: rgba(198, 113, 57, .3); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--terra); color: var(--cream); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--cream); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 80px; display: flex; flex-direction: column; gap: 32px; }
.section h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.015em; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
#where .section-head .muted { max-width: 640px; }
.muted { color: var(--muted); }
.text-link { font-weight: 700; text-decoration: none; }
.grid { display: grid; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--terra); color: var(--cream); }
.btn-primary:hover { background: var(--terra-dark); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--ink-strong); border-color: var(--divider); }
.btn-secondary:hover { background: rgba(32, 30, 29, .07); color: var(--ink-strong); }
.btn-light { background: var(--cream); color: var(--terra-dark); font-size: 16px; padding: 12px 24px; }
.btn-light:hover { background: var(--peach-light); color: var(--terra-dark); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- шапка ---------- */
.site-header { position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.logo { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; padding: 4px 0 0 9px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); }
.logo-word { position: relative; font-family: var(--display); font-size: 38px; line-height: .9; }
.logo-sub { position: relative; margin-top: 4px; padding-left: 2px; font-weight: 700; font-size: 8.5px; letter-spacing: .5em; color: var(--terra); }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--terra); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-circle { position: absolute; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; background: var(--sand); }
.hero-visual picture { position: relative; width: min(80%, 380px); }
.hero-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 45%; border-radius: 50%; filter: saturate(.9) contrast(.95) brightness(1.04); }
.sale-badge {
  position: absolute; right: 0; bottom: 10px; width: 170px; height: 170px; border-radius: 50%;
  background: var(--terra); color: var(--cream); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.sale-badge-top { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.2; }
.sale-badge-num { font-family: var(--display); font-size: 56px; line-height: 1; }
.sale-badge-bottom { font-size: 13px; color: var(--peach); }
.sale-strip {
  background: var(--peach); border-radius: 999px; padding: 16px 28px; color: var(--terra-dark);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; text-align: center;
}
.sale-strip strong { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.sale-strip span { font-size: 16px; }
[data-sale][hidden] { display: none !important; }

/* ---------- карусель ---------- */
.carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 clamp(240px, 30vw, 340px); aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--sand); scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(.95) brightness(1.04); user-select: none; -webkit-user-drag: none; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.progress { flex: 1; max-width: 320px; height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.progress span { display: block; height: 100%; width: 18%; border-radius: 999px; background: var(--terra); transition: width .2s; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 22px/1 var(--sans); cursor: pointer; transition: background-color .15s; }
.arrow-prev { background: var(--white); color: var(--ink); border: 3px solid var(--sand); }
.arrow-prev:hover { background: var(--sand); }
.arrow-next { background: var(--terra); color: var(--cream); border: 0; }
.arrow-next:hover { background: var(--terra-dark); }

/* ---------- услуги ---------- */
.grid-services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.card-sand { background: var(--sand); border-radius: 36px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card-sand h3 { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.2; }
.dots { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.45; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--terra); }

/* ---------- почему ---------- */
.grid-why { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px 24px; }
.grid-why li { display: flex; flex-direction: column; gap: 12px; }
.grid-why .num { width: 52px; height: 52px; border-radius: 50%; background: var(--peach); color: var(--terra-dark); display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.grid-why h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1.3; }
.grid-why p { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---------- цены ---------- */
.grid-prices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; align-items: start; }
.price-col { display: flex; flex-direction: column; gap: 20px; }
.price-card { border: 3px solid var(--sand); border-radius: 36px; padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.price-title { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 4px; }
.price-list { display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 17px; }
.price-list b, .len-grid b { font-family: var(--serif); font-weight: 700; white-space: nowrap; }
.len-group { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.len-group + .len-group { margin-top: 8px; }
.len-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.len-grid li { background: var(--sand); border-radius: 18px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.len-grid span { font-size: 13px; color: var(--muted); }
.cta-card { position: relative; overflow: hidden; background: var(--terra); color: var(--cream); border-radius: 36px; padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-circle { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--terra-mid); right: -50px; top: -70px; }
.cta-title, .cta-sub, .cta-card .btn { position: relative; }
.cta-title { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; }
.cta-sub { font-size: 16px; color: var(--peach); }

/* ---------- где найти ---------- */
.grid-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.link-card { background: var(--sand); border-radius: 32px; padding: 26px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.link-card:hover { background: var(--sand-light); color: var(--ink); }
.qr { width: 132px; height: 132px; border-radius: 16px; background: var(--white); margin-bottom: 10px; }
.link-card-title { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.25; }
.link-card-sub { font-size: 15px; color: var(--muted); }
.map { border-radius: 36px; overflow: hidden; background: var(--sand); height: clamp(300px, 40vw, 440px); }
.map { position: relative; }
.map iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-weight: 700; text-decoration: none; }
.grid-pills { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pill { border: 3px solid var(--sand); border-radius: 999px; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.pill:hover { background: var(--sand); color: var(--ink); }
.pill b { display: block; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.25; }
.pill small { display: block; font-size: 14px; color: var(--muted); }
.pill-arrow { font-size: 22px; color: var(--terra); }

/* ---------- частые вопросы ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 3px solid var(--sand); border-radius: 28px; padding: 0 28px; transition: background-color .15s; }
.faq-item[open] { background: var(--cream); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--terra); font: 700 20px/1 var(--sans); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 780px; }

/* ---------- финальный блок и подвал ---------- */
.final { padding-bottom: 24px; }
.final-card {
  position: relative; overflow: hidden; background: var(--sand); border-radius: 40px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: center;
}
.final-circle { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--sand-light); right: -80px; bottom: -120px; }
.final-text, .final-actions { position: relative; display: flex; flex-direction: column; gap: 14px; }
.final-actions { gap: 12px; align-items: flex-start; }
.final-card h2 { font-size: clamp(28px, 4vw, 40px); }
.final-card address { font-size: 17px; line-height: 1.55; color: var(--muted); }
.hours { font-weight: 700; color: var(--terra-dark); }
.phone { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: var(--ink); text-decoration: none; }
.phone:hover { color: var(--terra); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--terra); }
.site-footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }

.mobile-bar { display: none; }

/* ---------- телефон ---------- */
@media (max-width: 640px) {
  .header-row { flex-wrap: nowrap; }
  .header-actions .btn { padding: 10px 18px; }
  .burger { display: inline-flex; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% - 6px);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px;
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; border-radius: 16px; font-size: 17px; }
  .nav a:hover { background: var(--sand-light); }
  .hero { gap: 32px; padding-bottom: 48px; }
  .hero-visual { min-height: 0; padding: 12px 0; }
  .hero-visual picture { width: min(76%, 380px); }
  .sale-badge { width: 132px; height: 132px; right: -4px; bottom: 0; }
  .sale-badge-top { font-size: 16px; }
  .sale-badge-num { font-size: 42px; }
  .sale-badge-bottom { font-size: 12px; }
  .sale-strip { border-radius: 28px; padding: 14px 20px; }
  .section { padding-top: 64px; gap: 24px; }
  .slide { flex-basis: 80%; }
  .card-sand { padding: 28px 24px; border-radius: 28px; }
  .price-card, .cta-card { padding: 24px 22px; border-radius: 28px; }
  .price-list li { font-size: 16px; }
  .qr { display: none; }
  .link-card { padding: 20px 24px; border-radius: 24px; }
  .final-card { border-radius: 28px; }
  .faq-item { padding: 0 20px; border-radius: 22px; }
  .faq-item summary { font-size: 17px; }
  .final-actions .btn-row .btn { flex: 1 1 auto; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--divider);
  }
  .mobile-bar .btn-secondary { background: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html, .carousel { scroll-behavior: auto; }
  * { transition: none !important; }
}
