/* Epilate Me · мужской лендинг · man.epilate-me.ru
   Палитра — сайта сети epilate-me.ru: navy #0a1c4a, gold #e2bb83. Шрифт — Montserrat, локально. */

@font-face { font-family: "Montserrat"; font-style: normal; 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-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-cyrillic-500-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-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; 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-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-cyrillic-700-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-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-cyrillic-800-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-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0a1c4a;
  --navy-2: #13275f;
  --navy-3: #1c3270;
  --gold: #e2bb83;
  --gold-2: #f0d3a6;
  --sand: #f6efe4;
  --page: #fbfbfb;
  --ink: #1d2235;
  --ink-2: #4a5068;
  --line: #e3e0da;
  --on-dark: #e9ecf5;
  --on-dark-2: #aeb6cf;
  --r: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.gold { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 28px; } }
.wrap--narrow { max-width: 860px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9a7440; margin-bottom: 12px; }
.sec--dark .eyebrow, .hero .eyebrow { color: var(--gold); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost { border-color: rgba(233, 236, 245, .45); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--wide { width: 100%; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 28, 74, .96); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; color: #fff; }
.logo img { width: 96px; height: auto; }
.nav { display: none; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.nav a:hover { color: #fff; }
.top__contact { display: none; margin-left: auto; text-align: right; line-height: 1.2; }
.top__phone { text-decoration: none; font-weight: 700; font-size: 15px; }
.top__hours { display: block; font-size: 12px; color: var(--on-dark-2); }
.top .btn { margin-left: auto; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .top__contact { display: block; }
  .top .btn { margin-left: 0; }
}

/* Первый экран */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #1f3a86 0%, transparent 60%), var(--navy); color: #fff; padding: 48px 0 56px; overflow: hidden; }
.hero__in { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(32px, 6.4vw, 60px); font-weight: 800; letter-spacing: -.02em; }
.hero__lead { margin-top: 18px; font-size: clamp(16px, 2vw, 19px); color: var(--on-dark); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.hero__facts b { display: block; font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.hero__facts span { font-size: 13px; color: var(--on-dark-2); }
.hero__card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(226, 187, 131, .35); border-radius: var(--r); padding: 22px; align-self: center; }
.hero__card-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.hero__card-list { list-style: none; padding: 0; margin: 0; }
.hero__card-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero__card-list li:last-child { border-bottom: 0; }
.hero__card-list .n { font-weight: 600; }
.hero__card-list .v { text-align: right; white-space: nowrap; }
.hero__card-list .v b { font-size: 18px; }
.hero__card-list .v small { display: block; font-size: 12px; color: var(--gold); }
.hero__card-note { font-size: 13px; color: var(--on-dark-2); margin-top: 12px; }
.hero__card-link { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 700; text-decoration: none; font-size: 14px; }
.skeleton { height: 46px; border-radius: 8px; background: rgba(255, 255, 255, .06); margin: 6px 0; border: 0 !important; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 88px; }
  .hero__in { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
}

/* Секции */
.sec { padding: 64px 0; }
.sec--dark { background: var(--navy); color: #fff; }
.sec--sand { background: var(--sand); }
.sec__lead { color: var(--ink-2); max-width: 680px; margin-bottom: 28px; }
.sec--dark .sec__lead { color: var(--on-dark-2); }
@media (min-width: 960px) { .sec { padding: 96px 0; } }
.note { margin-top: 22px; color: var(--ink-2); font-size: 15px; }

/* Зоны */
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zone { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 108px; padding: 18px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.zone:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(10, 28, 74, .08); }
.zone__t { font-weight: 700; font-size: 17px; line-height: 1.25; }
.zone__p { font-size: 14px; color: var(--ink-2); }
.zone__p b { color: var(--navy); font-size: 18px; }
@media (min-width: 700px) { .zones { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Карточки сомнений */
.cards { display: grid; gap: 14px; margin-top: 12px; }
.card { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--r); padding: 22px; }
.card h3 { color: var(--gold); margin-bottom: 8px; }
.card p { color: var(--on-dark); font-size: 15px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step b { display: block; font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Аппараты */
.devices { display: grid; gap: 14px; margin-top: 12px; }
.device { background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.device__k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a7440; margin-bottom: 8px; }
.device h3 { font-size: 22px; margin-bottom: 10px; }
.device p { color: var(--ink-2); font-size: 15px; }
.device__from { margin-top: auto; padding-top: 16px; color: var(--ink) !important; }
.device__from b { font-size: 20px; color: var(--navy); }
@media (min-width: 900px) { .devices { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Цены */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 18px 0 22px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab:hover:not([aria-selected="true"]) { border-color: var(--navy); }
.price__desc { color: var(--ink-2); margin-bottom: 18px; font-size: 15px; max-width: 720px; }
.combos { display: grid; gap: 12px; margin-bottom: 18px; }
.combo { background: var(--navy); color: #fff; border-radius: var(--r); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.combo__n { font-weight: 700; font-size: 17px; }
.combo__n small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.combo__v { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.combo__v .now { font-size: 26px; font-weight: 800; }
.combo__v .club { color: var(--gold); font-size: 14px; }
@media (min-width: 900px) { .combos { grid-template-columns: repeat(3, 1fr); } }

.ptable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.ptable th, .ptable td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.ptable th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; background: #faf8f4; }
.ptable td.num, .ptable th.num { text-align: right; white-space: nowrap; }
.ptable td.club { color: #8a6634; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tr.hl td { background: #fdf3e1; }
.ptable .sub { display: block; font-size: 12px; color: var(--ink-2); }
.more { margin-top: 12px; }
.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--navy); font-weight: 700; font-size: 14px; color: var(--navy); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 18px; }
.more[open] summary::after { content: "–"; }
.more[open] summary { margin-bottom: 14px; }
.price__meta { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.price__warn { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.price__cta { margin-top: 22px; }
@media (max-width: 560px) {
  .ptable th, .ptable td { padding: 10px 10px; font-size: 14px; }
  .ptable th.club, .ptable td.club { display: none; }
  .ptable td.num .club-m { display: block; font-size: 12px; color: #8a6634; font-weight: 500; }
}
@media (min-width: 561px) { .club-m { display: none; } }

/* Доверие */
.stats { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats li { background: var(--navy-2); border-radius: var(--r); padding: 20px; }
.stats b { display: block; font-size: clamp(28px, 5vw, 40px); font-weight: 800; color: var(--gold); line-height: 1.1; }
.stats span { color: var(--on-dark-2); font-size: 14px; }
.trust__p { margin-top: 24px; color: var(--on-dark); max-width: 760px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Результат */
.case { display: grid; gap: 22px; margin-top: 12px; }
.case__pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case__shot { position: relative; border-radius: var(--r); overflow: hidden; background: #eee; }
.case__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__shot span { position: absolute; left: 10px; top: 10px; background: rgba(10, 28, 74, .85); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.case__quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.case__quote p { font-size: 16px; }
.case__quote footer { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
@media (min-width: 960px) { .case { grid-template-columns: 1.3fr 1fr; align-items: center; } }

/* Клиники */
.clinics { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.clinic { background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.clinic__n { font-weight: 800; font-size: 18px; }
.clinic__m { font-size: 14px; font-weight: 600; color: #9a7440; }
.clinic__a { color: var(--ink-2); font-size: 15px; }
.clinic__row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.clinic__row a { color: var(--navy); text-decoration: none; }
.clinic__row a:hover { text-decoration: underline; }
@media (min-width: 700px) { .clinics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .clinics { grid-template-columns: repeat(3, 1fr); } }

/* Запись */
.book { display: grid; gap: 24px; }
.book__p { color: var(--on-dark); max-width: 520px; }
.book__actions { display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; flex-wrap: wrap; gap: 10px; }
.msg a { flex: 1 1 0; min-width: 96px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; font-weight: 700; font-size: 14px; }
.msg a:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 900px) { .book { grid-template-columns: 1.2fr 1fr; align-items: center; } }

/* Вопросы */
.faq { margin-top: 12px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #9a7440; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* Подвал */
.foot { background: #071437; color: var(--on-dark-2); padding: 48px 0 110px; font-size: 14px; }
.foot__in { display: grid; gap: 24px; }
.foot__logo { width: 96px; margin-bottom: 12px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot__links { display: flex; flex-direction: column; gap: 8px; }
.foot__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 6px; font-size: 13px; }
@media (min-width: 900px) { .foot { padding-bottom: 48px; } .foot__in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Нижняя панель на телефоне */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(10, 28, 74, .97); border-top: 1px solid rgba(255, 255, 255, .1); }
.mbar .btn { min-height: 46px; padding: 0 12px; }
@media (min-width: 900px) { .mbar { display: none; } }

/* Подсветка зоны после перехода к ценам */
@keyframes flash { from { background: #f8dfb3; } to { background: #fdf3e1; } }
.ptable tr.hl td { animation: flash 1.2s ease-out; }

.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.ptitle { font-size: 17px; margin: 22px 0 10px; }
.ptitle:first-of-type { margin-top: 4px; }
