/* Внутренние страницы в стилистике макета Figma «МУЖ НА ЧАС».
   Подключается ПОСЛЕ main.css: раскладка остаётся прежней, меняется оформление.
   Цвета, шрифт, кнопки, карточки и поля — те же, что на главной (css/figma.css). */

@font-face{font-family:Montserrat;font-style:normal;font-weight:300 900;font-display:swap;src:url(fonts/montserrat-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Montserrat;font-style:normal;font-weight:300 900;font-display:swap;src:url(fonts/montserrat-cyrillic.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:300 900;font-display:swap;src:url(fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Montserrat;font-style:normal;font-weight:300 900;font-display:swap;src:url(fonts/montserrat-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}

:root{
  --yellow:#ffcd00;
  --orange:#ffa762;
  --dark:#131313;
  --panel:#0e0e0e;
  --cream:#f8f4eb;
  --field:#d2d2d2;
  --label:#b07d4e;
  --muted:#6f6f6f;
  --line:#c4c4c4;
  --ghost:#d8ad00;
}

body.fx{font-family:Montserrat,Arial,sans-serif;font-weight:400;font-size:17px;line-height:1.55;color:#000;background:#fff;overflow-x:hidden}
.fx a{color:inherit}
.fx b,.fx strong{font-weight:700}

/* ───────── Шапка ───────── */
.fx-header{position:relative;z-index:30;background:var(--dark);color:#fff}
.fx-header__in{display:flex;align-items:center;gap:32px;min-height:96px}
.fx-logo{display:flex;align-items:flex-start;flex:none;color:#fff;text-decoration:none}
.fx-logo:hover{color:#fff;text-decoration:none}
.fx-logo__mark{position:relative;width:42px;height:34px;flex:none;margin-top:2px}
.fx-logo__mark img:first-child{display:block;width:100%;height:100%}
.fx-logo__mark img:last-child{position:absolute;left:5px;top:6px;width:35px;height:27px;object-fit:cover}
.fx-logo__text{margin-left:10px;text-align:right}
.fx-logo__name{display:block;font-weight:600;font-size:28px;line-height:1.2;white-space:nowrap}
.fx-logo__tag{display:block;margin-top:-3px;font-weight:300;font-size:11px;line-height:1.2;white-space:nowrap}
.fx-nav{display:flex;flex:1;justify-content:center;gap:32px;font-size:18px}
.fx-nav a{color:#fff;text-decoration:none;white-space:nowrap;transition:color .15s}
.fx-nav a:hover{color:var(--yellow);text-decoration:none}
.fx-hcontact{flex:none;text-align:right}
.fx-nav__tel{display:none}
.fx-tel{display:block;font-weight:500;font-size:20px;line-height:1.2;color:#fff;white-space:nowrap;text-decoration:none}
.fx-tel:hover{color:#fff;text-decoration:none}
.fx-call{display:inline-block;margin-top:4px;padding-bottom:3px;border-bottom:1px solid var(--yellow);font-weight:500;font-size:15px;line-height:1.2;color:var(--yellow);cursor:pointer}
.fx-burger{display:none;position:relative;flex:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--yellow);cursor:pointer}
.fx-burger i,.fx-burger i::before,.fx-burger i::after{position:absolute;left:11px;width:22px;height:2px;background:#000;content:"";transition:transform .2s,opacity .2s}
.fx-burger i{top:21px}
.fx-burger i::before{left:0;top:-7px}
.fx-burger i::after{left:0;top:7px}
.fx-header.is-open .fx-burger i{background:transparent}
.fx-header.is-open .fx-burger i::before{transform:translateY(7px) rotate(45deg)}
.fx-header.is-open .fx-burger i::after{transform:translateY(-7px) rotate(-45deg)}

/* ───────── Первый экран страницы ───────── */
.fx .sec1{margin-top:0;padding:64px 0 72px;background:var(--dark);color:#fff;overflow:hidden}
.fx .sec1:before{left:50%;right:auto;top:-110px;bottom:auto;margin:0 0 0 330px;width:760px;height:673px;background:url(../img/figma/hero-ellipse.svg) no-repeat center/contain;opacity:.9;pointer-events:none}
.fx .sec1 .container{position:relative;z-index:1}
.fx .cta{margin-top:0}
.fx .cta .h1{margin:0 0 20px;max-width:860px;font-weight:900;font-size:clamp(30px,4vw,60px);line-height:1.12;color:#fff}
.fx .cta .h1::first-letter{color:var(--yellow)}
.fx .cta>p,.fx .cta .text{max-width:780px;font-weight:500;font-size:18px;line-height:1.5;color:rgba(255,255,255,.75)}
.fx .cta:not(.page-content) ul{margin-top:28px;max-width:860px}
.fx .cta:not(.page-content) ul li{padding:18px 20px;border-radius:20px;background:#fff;color:#000;box-shadow:0 4px 30px rgba(0,0,0,.3);font-weight:500}
.fx .cta ul li figure{flex:none;margin:0 16px 0 0;border-radius:50%;background:linear-gradient(to bottom,var(--yellow),var(--orange))}
.fx .cta ul li figure img{width:56px;padding:13px;border-radius:0;background:none;filter:brightness(0)}
.fx .cta .btnarea{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
.fx .location{margin-top:24px;padding-left:0;background:none;font-weight:500;font-size:17px;line-height:1.5;color:rgba(255,255,255,.75)}
.fx .location a{color:var(--yellow);text-decoration:underline}
.fx .sec1 .types{flex-wrap:wrap;justify-content:flex-start;gap:10px 28px;margin:28px 0 0;padding:0;list-style:none}
.fx .sec1 .types li{margin-top:0;padding-left:26px;background:none;position:relative;color:rgba(255,255,255,.85);font-weight:500}
.fx .sec1 .types li::before{content:"";position:absolute;left:0;top:.45em;width:12px;height:12px;border-radius:50%;background:var(--yellow)}

/* ───────── Кнопки ───────── */
.fx .btn{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:14px 34px;border:.5px solid #000;border-radius:20px;background:var(--yellow);box-shadow:none;font-weight:600;font-size:18px;line-height:1.2;color:#000;text-align:center;text-decoration:none;animation:none;transition:transform .15s,box-shadow .15s}
.fx .btn:hover{transform:translateY(-2px);color:#000;text-decoration:none}
.fx .btn:active{transform:scale(.97)}
.fx .btn.blue,.fx .btn.blue.anim{border-color:transparent;box-shadow:0 4px 30px 0 var(--yellow);animation:none}
.fx .btnarea .btn.orange,.fx .article-cta .btn.orange{background:#fff;border:1.5px solid var(--ghost);box-shadow:0 4px 2px 0 rgba(0,0,0,.25);animation:none}
.fx button.btn{width:100%}

/* ───────── Секции ───────── */
.fx .sec{padding:72px 0}
.fx .sec .title{margin:0 0 36px;font-weight:900;font-size:clamp(28px,3.6vw,56px);line-height:1.15;color:#000;text-align:center}
.fx .sec2{background:var(--cream)}
.fx .sec2:before,.fx .sec2:after,.fx .sec3:before{display:none}
.fx .sec .text{line-height:1.6}

/* Карточки услуг и статей */
.fx-city .sec2{background:linear-gradient(to bottom,var(--yellow),var(--orange))}
.fx .s1p{height:calc(100% - 30px);box-shadow:none}
.fx .s1p:hover{box-shadow:none}
.fx .s1p>div{height:100%;min-height:190px;padding:30px 190px 30px 32px;border-radius:20px;box-shadow:0 4px 50px rgba(63,63,63,.35);transition:transform .2s,box-shadow .2s}
.fx .s1p:hover>div{transform:translateY(-3px);box-shadow:0 8px 60px rgba(63,63,63,.5)}
.fx .s1p .name{margin:0;font-weight:700;font-size:24px;line-height:1.25;color:rgba(0,0,0,.8)}
.fx .s1p .name a:hover{color:#000;text-decoration:underline}
.fx .s1p figure{right:24px;top:50%;bottom:auto;width:140px;height:140px;margin:-70px 0 0;border-radius:50%}
.fx .s1p figure img{width:100%;height:100%;object-fit:cover}
.fx .s1p .price,.fx .s1p .price a{margin-top:10px;font-weight:600;font-size:17px;color:var(--label);text-decoration:none}
.fx .s1p .price a:hover{color:#000}
.fx .s1p .btn{min-height:48px;margin-top:18px;padding:10px 22px;font-size:16px;border-radius:16px}
.fx-blog .s1p>div{min-height:0;padding:28px 30px!important}
.fx-blog .sec2:nth-of-type(even){background:#fff}

/* Как мы работаем */
.fx .s3p{min-height:280px;padding:26px 24px;border-radius:20px;background:#fff;box-shadow:0 4px 50px rgba(63,63,63,.18)}
.fx .s3p>div{align-items:center}
.fx .s3p figure{flex:none;margin:0 14px 0 0;border-radius:50%;background:linear-gradient(to bottom,var(--yellow),var(--orange))}
.fx .s3p img{width:62px;padding:16px;filter:brightness(0)}
.fx .s3p .name{margin:0;font-weight:700;font-size:19px;line-height:1.25;color:rgba(0,0,0,.8)}
.fx .s3p i{color:var(--yellow);opacity:.45}

/* Ссылки на другие услуги / города / статьи */
.fx .sec-links{background:var(--cream)}
.fx .sec-links .types{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:0;padding:0;list-style:none}
.fx .sec-links .types li{margin:0;padding:0;background:none}
.fx .sec-links .types a{display:inline-flex;align-items:center;min-height:52px;padding:10px 24px;border:1.5px solid var(--ghost);border-radius:20px;background:#fff;box-shadow:0 4px 2px 0 rgba(0,0,0,.18);font-weight:600;font-size:16px;color:#000;text-decoration:none;transition:background .15s,transform .15s}
.fx .sec-links .types a:hover{background:var(--yellow);transform:translateY(-2px)}

/* Текстовый блок страницы услуги */
.fx .fx-text{background:#fff}
.fx .fx-text .article-body h3:first-child{margin-top:0}

/* Вопросы и ответы */
.fx .sec-faq .name{margin:0 0 10px!important;font-weight:700;font-size:20px;line-height:1.3;color:rgba(0,0,0,.8)}
.fx .sec-faq [class*="col-"]{margin-bottom:22px}
.fx .sec-faq .text{color:#222}

/* ───────── Прайс ───────── */
.fx .pr .pricelist{width:100%;max-width:none;margin:0 0 36px;padding:0;border:0;text-align:center}
.fx .pr .scrollbar{display:block;width:100%;max-width:920px;margin:0 auto;padding:28px 28px 32px;border-radius:20px;background:#fff;box-shadow:0 4px 50px rgba(63,63,63,.25);font-family:inherit;text-align:left}
.fx .pr h3.table_heading{margin:0 0 6px;font-weight:700;font-size:24px;line-height:1.3;text-transform:none;text-align:center;color:rgba(0,0,0,.8)}
.fx .pr p.table_heading{margin:22px 0 0;padding:12px 20px;border-radius:14px;background:var(--yellow);font-weight:700;font-size:17px;color:#000}
.fx .pr .table{display:table;width:100%;margin-top:6px;border:0}
.fx .pr .table_row{display:table-row;background:none}
.fx .pr .cell{display:table-cell;padding:13px 12px;border:0;border-bottom:1px solid #e6e1d6;font-size:16px;vertical-align:middle}
.fx .pr .table_row:last-child .cell{border-bottom:0}
.fx .pr .cell:nth-child(2){width:70px;text-align:center;color:var(--muted)}
.fx .pr .cell:nth-child(3){width:130px;border-right:0}
.fx .pr .cell_price{font-weight:700;white-space:nowrap;text-align:right}
.fx .pr .btnarea,.fx .sec2 .btnarea{display:flex;justify-content:center;margin-top:32px}
.fx .pricelist h4{margin:0 0 10px;font-weight:700;font-size:26px;color:rgba(0,0,0,.8)}
.fx .pricelist>p{max-width:760px;margin:0 auto 22px;color:#222}
.fx .pricelist .tel{display:inline-block;margin:0 0 8px;padding:0;background:none;font-weight:500;font-size:24px;color:var(--muted);text-decoration:none}
.fx .pricelist .btn.free{margin-top:26px;background:var(--yellow)}
.fx-price .sec1{padding-bottom:56px}
.fx-price .fx-pricewrap{padding:56px 0 40px;background:var(--cream)}

/* ───────── Статья блога ───────── */
.fx-post .sec1{padding:56px 0 64px;background:#fff;color:#000}
.fx-post .sec1:before{display:none}
.fx-post .cta .h1{max-width:920px;margin:0 auto 14px;color:#000;font-size:clamp(28px,3.4vw,48px);text-align:center}
.fx-post .cta .h1::first-letter{color:inherit}
.fx .article-body{max-width:820px;margin:0 auto;font-size:18px}
.fx .article-body h2{margin:44px 0 16px;font-weight:700;font-size:28px;line-height:1.25;text-transform:none;color:rgba(0,0,0,.85)}
.fx .article-body h3{margin:28px 0 12px;font-weight:700;font-size:21px;line-height:1.3;text-transform:none}
.fx .article-body p{margin-bottom:16px;line-height:1.7;color:#111}
.fx .article-body ul,.fx .article-body ol{display:block;margin:0 0 20px 0;padding-left:26px}
.fx .article-body ul{list-style:disc}
.fx .article-body ol{list-style:decimal}
.fx .article-body li{display:list-item;font-size:inherit;text-align:left;margin-bottom:10px;padding:0;line-height:1.65;box-shadow:none;border-radius:0;background:none;color:#111}
.fx .article-body li::marker{color:var(--label);font-weight:700}
.fx .article-body a{color:#000;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:3px}
.fx .article-meta{margin-bottom:28px;font-size:15px;color:var(--label);text-align:center}
.fx .article-warn{margin:24px 0;padding:18px 22px;border-left:5px solid var(--yellow);border-radius:14px;background:var(--cream)}
.fx .article-warn b{color:#000}
.fx .article-cta{margin:40px 0 0;padding:34px 30px;border-radius:20px;background:var(--dark);color:#fff;text-align:center}
.fx .article-cta p{margin-bottom:22px;color:rgba(255,255,255,.8)}
.fx .article-cta .btnarea{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:0}
.fx .article-toc{margin-bottom:30px;padding:22px 26px;border:0;border-radius:20px;background:var(--cream)}
.fx .article-toc b{display:block;margin-bottom:10px}
.fx .article-toc a{display:block;padding:4px 0;color:#000}

/* ───────── Формы и всплывающие окна ───────── */
.fx input,.fx textarea{height:60px;padding:0 24px;border:0;border-radius:20px;background:var(--field);font-family:inherit;font-weight:500;font-size:17px;color:#000}
.fx textarea{height:auto;padding:18px 24px}
.fx input::placeholder,.fx textarea::placeholder{color:rgba(0,0,0,.5);opacity:1}
.fx input:focus,.fx textarea:focus{box-shadow:0 0 0 3px var(--yellow)}
.fx .inp{margin-top:18px}
.fx .form,.fx .form1{margin-top:0;padding:44px 40px 36px;border-radius:20px;background:var(--panel);box-shadow:none;color:#fff;text-align:center}
.fx .fancybox-content.form{width:480px;max-width:calc(100vw - 24px)}
.fx .form span,.fx .form1 .name{display:block;margin-bottom:10px;font-weight:700;font-size:20px;line-height:1.35;text-transform:none;color:#fff}
.fx .form .btn,.fx .form1 .btn{border:0;box-shadow:0 4px 4px rgba(0,0,0,.25)}
.fx .form a{color:var(--yellow)!important}
.fx .consent-note{margin-top:14px;font-size:12px;color:rgba(255,255,255,.55)}
.fx .consent-note a{cursor:pointer}
.fx #pol{max-width:820px;padding:40px;border-radius:20px;font-size:16px;line-height:1.55;text-align:left}
.fx #pol h3{margin-bottom:18px;font-weight:700;font-size:24px}
.fx #pol p{margin-bottom:14px}

/* ───────── Подвал ───────── */
.fx-footer{background:var(--dark);color:#fff;padding:56px 0 48px}
.fx-footer__in{display:flex;align-items:flex-start;justify-content:space-between;gap:32px}
.fx-footer .fx-logo__mark{width:27px;height:22px}
.fx-footer .fx-logo__mark img:last-child{left:1px;top:3px;width:25px;height:20px}
.fx-footer .fx-logo__name{font-size:24px}
.fx-footer .fx-logo__tag{font-size:10px}
.fx-footer__mid{text-align:center}
.fx-footer__links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;font-size:19px}
.fx-footer__links a{color:#fff;text-decoration:none}
.fx-footer__links a:hover,.fx-footer__pol:hover{color:var(--yellow)}
.fx-footer__pol{display:inline-block;margin-top:18px;font-size:15px;color:rgba(255,255,255,.7);cursor:pointer}
.fx-footer__right{text-align:right;font-size:17px;line-height:1.6}
.fx-footer__right a{display:block;color:#fff;text-decoration:none;white-space:nowrap}
.fx-footer__right a:hover{color:var(--yellow)}
.fx-footer__copy{display:block;margin-top:10px;color:rgba(255,255,255,.7);font-size:15px;white-space:nowrap}

/* ───────── Планшет и телефон ───────── */
@media (max-width:1199px){
  .fx-header__in{gap:16px;min-height:76px}
  .fx-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:0;padding:8px 0 16px;background:var(--dark);border-top:1px solid rgba(255,255,255,.12);box-shadow:0 20px 40px rgba(0,0,0,.35)}
  .fx-header.is-open .fx-nav{display:flex}
  .fx-nav a{padding:13px 20px;font-size:18px;text-align:center}
  .fx-hcontact{margin-left:auto}
  .fx-burger{display:block}
}
@media (max-width:767px){
  body.fx{font-size:16px}
  .fx-logo__mark{width:34px;height:28px}
  .fx-logo__mark img:last-child{left:4px;top:5px;width:29px;height:22px}
  .fx-logo__name{font-size:21px}
  .fx-logo__tag{display:none}
  .fx-tel{font-size:15px}
  .fx-call{font-size:12px;margin-top:2px}
  .fx-header__in{gap:10px;min-height:68px}
  .fx-tel{display:none}
  .fx-call{margin-top:0;font-size:14px}
  .fx-nav .fx-nav__tel{display:block;color:var(--yellow);font-weight:600}
  .fx-burger{width:40px;height:40px}
  .fx-burger i{left:9px;top:19px}
  .fx .sec1{padding:40px 0 48px;text-align:left}
  .fx .sec1:before{left:auto;right:-300px;top:-80px;margin:0;width:520px;height:460px;opacity:.45}
  .fx .cta{max-width:none;margin:0}
  .fx .cta .h1{font-size:30px;line-height:1.15}
  .fx .cta>p,.fx .cta .text{font-size:16px}
  .fx .cta:not(.page-content) ul{grid-template-columns:1fr;gap:10px}
  .fx .cta:not(.page-content) ul li{padding:12px 14px;font-size:14px;box-shadow:0 4px 20px rgba(0,0,0,.3)}
  .fx .cta ul li figure img{width:40px;padding:9px}
  .fx .cta .btnarea{gap:12px;margin-top:24px}
  .fx .cta .btn{width:100%;margin-top:0}
  .fx .location{font-size:15px}
  .fx .sec{padding:48px 0}
  .fx .sec .title{margin-bottom:24px;font-size:28px}
  .fx .s1p{height:auto}
  .fx .s1p>div{min-height:0;padding:24px 20px;text-align:center}
  .fx .s1p figure{position:relative;right:auto;top:auto;width:130px;height:130px;margin:0 auto 14px}
  .fx .s1p .name{font-size:21px}
  .fx .s3p{min-height:0}
  .fx .sec-links .types{gap:10px}
  .fx .sec-links .types a{min-height:46px;padding:8px 16px;font-size:14px}
  .fx .pr .scrollbar{padding:18px 12px 20px;box-shadow:0 4px 30px rgba(63,63,63,.2)}
  .fx .pr h3.table_heading{font-size:20px}
  .fx .pr p.table_heading{padding:10px 14px;font-size:15px}
  .fx .pr .cell{padding:10px 6px;font-size:14px}
  .fx .pr .cell:nth-child(2){display:none}
  .fx .pr .cell:nth-child(3){width:96px;font-size:14px}
  .fx .article-body{font-size:16px}
  .fx .article-body h2{font-size:23px;margin-top:34px}
  .fx .article-cta{padding:26px 18px}
  .fx .article-cta .btn{width:100%}
  .fx .form,.fx .form1{padding:36px 22px 28px}
  .fx #pol{padding:26px 20px}
  .fx-footer{padding:40px 0}
  .fx-footer__in{flex-direction:column;align-items:center;gap:28px}
  .fx-footer__right{text-align:center}
}
@media (max-width:600px){
  .fx .pr .table{display:block}
  .fx .pr .table_row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px;padding:11px 6px;border-bottom:1px solid #e6e1d6}
  .fx .pr .table_row:last-child{border-bottom:0}
  .fx .pr .cell{display:block;width:auto!important;padding:0;border:0}
  .fx .pr .cell_heading{flex:1 1 100%;margin-bottom:4px;font-weight:500}
  .fx .pr .cell:nth-child(2){display:block;order:1;font-size:13px;color:var(--muted)}
  .fx .pr .cell_price{order:2;margin-left:auto;font-size:15px;color:#000}
}
