/* Telmana 23: shared restyling of the existing Bitrix site, December 2026. */
.telmana-restyle{--t-accent:#268b88;--t-dark:#176b69;--t-ink:#263d3b;--t-border:#e1eae7;--t-radius:20px;background:#fcfdfc;color:var(--t-ink)}
.telmana-restyle a:focus-visible,.telmana-restyle button:focus-visible,.telmana-restyle input:focus-visible,.telmana-restyle textarea:focus-visible,.telmana-restyle select:focus-visible{outline:2px solid #269792;outline-offset:4px}
.telmana-restyle .btn-link,.telmana-restyle .btn-link_oval,.telmana-restyle input[type=submit],.telmana-restyle button[type=submit],.telmana-restyle .section-link-all-center{border-radius:12px;transition:background .22s,box-shadow .22s,transform .22s}
.telmana-restyle .btn-link{background-color:var(--t-accent);border-color:var(--t-accent);font-weight:600;letter-spacing:.015em}
.telmana-restyle .btn-link:hover{background-color:var(--t-dark);border-color:var(--t-dark);box-shadow:0 7px 20px #176b6924;transform:translateY(-2px)}
.telmana-restyle input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=submit]),.telmana-restyle textarea,.telmana-restyle select{border-radius:11px;border-color:#d6e2de;transition:border-color .2s,box-shadow .2s}
.telmana-restyle input:focus,.telmana-restyle textarea:focus,.telmana-restyle select:focus{border-color:#268b88;box-shadow:0 0 0 3px #268b8812}
.telmana-restyle .form-popup,.telmana-restyle .feedback,.telmana-restyle .form-box{border-radius:20px}
.telmana-restyle .section-main-page-title{font-weight:650;letter-spacing:-.025em;color:#283e3b;margin-bottom:36px}
.telmana-restyle .section-padding{padding-top:65px;padding-bottom:65px}
.telmana-restyle .section-bg{background:#f1f6f3}
/* Header, logo, telephone and primary action. */
.telmana-restyle #header .header-logo img{width:208px;max-width:100%;height:auto;image-rendering:auto;filter:drop-shadow(0 3px 4px #001c1610)}
.telmana-restyle #footer .footer__logo img{width:190px;height:auto}
.telmana-restyle #header .header-phone__link{font-weight:650;letter-spacing:-.025em;text-decoration:none}
.telmana-restyle #header .header-phone__main-phone{border-radius:12px;padding:8px 26px 8px 12px;transition:background .2s}
.telmana-restyle #header .header-phone__main-phone:hover{background:#ffffff20}
.telmana-restyle #header .header-phone__main-phone:before{display:none}
.telmana-restyle #header .header-phone__main-phone:after{right:7px;top:50%;transform:translateY(-50%)}
.telmana-restyle #header .header-phone__popup{border:1px solid #dde7e3;border-radius:16px;box-shadow:0 16px 40px #173a3020;padding:16px 20px;top:100%;min-width:235px;text-align:left}
.telmana-restyle #header .header-btn-callback{padding-left:12px}
.telmana-restyle #header .header-btn-callback__link{font-size:12px;opacity:.85}
.telmana-restyle .header-btn-zayvka__link,.telmana-restyle .hdslide_contact_zayvka>.btn-link{display:inline-flex!important;align-items:center;justify-content:center;gap:14px;min-height:50px;padding:15px 25px!important;position:relative;overflow:hidden;border:1px solid #ffffff25!important;background:linear-gradient(125deg,#2caaa5,#217f7b)!important;border-radius:14px!important;color:white!important;box-shadow:0 6px 20px #16706c35;animation:telmana-action 4.8s ease-in-out infinite;white-space:nowrap;line-height:1.2!important}
.telmana-restyle .header-btn-zayvka__link:after,.telmana-restyle .hdslide_contact_zayvka>.btn-link:after{content:'↗';font-family:Arial,sans-serif;font-size:21px;font-weight:400;line-height:1}
.telmana-restyle .header-btn-zayvka__link:before,.telmana-restyle .hdslide_contact_zayvka>.btn-link:before{content:'';position:absolute;inset:-40% auto -40% -70%;width:35%;background:linear-gradient(90deg,transparent,#ffffff27,transparent);transform:skewX(-22deg);animation:telmana-glint 6s ease-in-out infinite;pointer-events:none}
.telmana-restyle .header-btn-zayvka__link:hover,.telmana-restyle .hdslide_contact_zayvka>.btn-link:hover{background:linear-gradient(125deg,#258f8b,#155d5c)!important;transform:translateY(-2px);animation:none}
@keyframes telmana-action{0%,100%{box-shadow:0 5px 16px #16706c30}50%{box-shadow:0 7px 25px #31aaa553,0 0 0 4px #54b9b412}}
@keyframes telmana-glint{0%,65%{left:-70%}88%,100%{left:145%}}
/* Floating navigation: retain the menu links and remove its search entirely. */
.telmana-restyle #header .head_slide{top:12px!important;left:16px;right:16px;width:calc(100% - 32px);max-width:1320px;height:auto;min-height:76px;margin:0 auto;background:rgba(255,255,255,.97);border:1px solid #e1ebe7;border-radius:18px;box-shadow:0 12px 40px #173e3024;backdrop-filter:blur(16px);transform:translateY(calc(-100% - 28px));transition:transform .35s ease,box-shadow .25s;z-index:1000;visibility:hidden}
.telmana-restyle #header .head_slide.is-visible{transform:translateY(0);visibility:visible}
.telmana-restyle #header .hdslide_inn{display:flex;align-items:center;gap:20px;min-height:76px;max-width:none;padding:8px 20px;width:100%}
.telmana-restyle #header .hdslide_home{float:none;background:transparent!important;height:auto;margin:0;flex:0 0 110px;order:0}
.telmana-restyle #header .hdslide_home img{display:block;width:110px;height:62px;object-fit:contain}
.telmana-restyle #header .head_slide .hdtopmenu{float:none;position:relative;display:block;width:auto;height:auto;margin:0;border-radius:0;background:transparent;flex:1;order:1}
.telmana-restyle #header .head_slide .hdtopmenu nav>ul{display:flex;align-items:center;justify-content:center;position:static;background:transparent;box-shadow:none;padding:0;gap:1px;flex-wrap:nowrap}
.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li{width:auto;border-radius:9px;white-space:nowrap}
.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li>a{padding:10px 8px;color:#3b4e49;border:0;font-size:12px;font-weight:500;line-height:1.2;border-radius:9px}
.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li:hover{background:#edf5f1}
.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li:hover>a{color:#17746f}
.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li:has(>a[href='/booking/']){display:none}
.telmana-restyle .telmana-menu-toggle{display:none;background:#eef5f1;border-radius:12px;cursor:pointer;width:42px;height:42px;padding:12px;color:#267772}
.telmana-restyle .telmana-menu-toggle span{display:block;height:2px;border-radius:2px;background:currentColor;margin:3px 0}
.telmana-restyle #header .hdslide_contact{float:none;order:2;margin:0;flex-shrink:0;text-align:left}
.telmana-restyle #header .hdslide_contact_nomer{font-size:16px}
.telmana-restyle #header .head_slide .header-phone__main-phone{padding:11px 22px 11px 12px;background:#f0f6f3;border-radius:12px}
.telmana-restyle #header .head_slide .header-phone__link{color:#26514a;font-size:16px;font-weight:650;white-space:nowrap}
.telmana-restyle #header .hdslide_contact_zayvka{order:3;float:none;margin:0;flex-shrink:0}
.telmana-restyle #header .hdslide_contact_zayvka>.btn-link{height:auto;min-height:46px;font-size:13px;padding:13px 18px!important}
/* Existing services and accommodation tiles. */
.telmana-restyle .section-projects-list__box{border-radius:20px;overflow:hidden;box-shadow:0 6px 20px #1e453016;transition:box-shadow .25s,transform .25s;isolation:isolate}
.telmana-restyle .section-projects-list__box:hover{transform:translateY(-4px);box-shadow:0 14px 30px #1e45302b}
.telmana-restyle .section-projects-list__link,.telmana-restyle .section-projects-list__img,.telmana-restyle .section-projects-list__shadow,.telmana-restyle .section-projects-list__shadow-focus{border-radius:20px}
.telmana-restyle .section-projects-list__text-title{font-weight:600;letter-spacing:-.015em;line-height:1.25;text-shadow:0 2px 8px #0005}
.telmana-restyle .section-projects-list__text{padding:22px}
.telmana-restyle .section-projects-list__btn-focus{border-radius:11px}
.telmana-restyle .rooms-section-tile__item{height:100%;border:1px solid #e3ebe6;border-radius:22px;overflow:hidden;padding:0;background:white;box-shadow:0 5px 22px #264d3e09;transition:box-shadow .25s,transform .25s;display:flex;flex-direction:column}
.telmana-restyle .rooms-section-tile__item:hover{transform:translateY(-5px);box-shadow:0 16px 36px #234d401c;border-color:#c7dfd8}
.telmana-restyle .rooms-section-tile__img-box{overflow:hidden;border-radius:21px 21px 0 0;margin:0}
.telmana-restyle .rooms-section-tile__img-img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .65s}
.telmana-restyle .rooms-section-tile__item:hover .rooms-section-tile__img-img{transform:scale(1.035)}
.telmana-restyle .rooms-section-tile__text-box{padding:23px 24px;flex:1;display:flex;flex-direction:column}
.telmana-restyle .rooms-section-tile__title{margin-bottom:15px;line-height:1.3}
.telmana-restyle .rooms-section-tile__title-link{color:#29453e;font-size:21px;font-weight:600;letter-spacing:-.025em;line-height:1.3}
.telmana-restyle .rooms-section-tile__param-box{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.telmana-restyle .rooms-section-tile__param{background:#eff5f1;color:#586e62;padding:6px 10px;border-radius:8px;font-size:12px;line-height:1.35;margin:0}
.telmana-restyle .rooms-section-tile__price-box{margin-top:auto;padding-top:18px;border-top:1px solid #e8eee9;color:#23817b}
.telmana-restyle .rooms-section-tile__price-now{font-size:27px;font-weight:650;letter-spacing:-.035em;color:#23817b}
.telmana-restyle .rooms-section-tile__price-rub{font-size:12px;color:#6b7c73;letter-spacing:0;font-weight:400}
.telmana-restyle .rooms-section-tile__promo-box{z-index:2;right:14px;top:14px}
.telmana-restyle .rooms-section-tile__promo-box>div,.telmana-restyle .rooms-section-tile__promo-box>span{border-radius:7px}
.telmana-restyle .section-company__box-img{border-radius:22px;overflow:hidden;box-shadow:0 10px 28px #28493b12}
.telmana-restyle .section-company__img{border-radius:22px 22px 0 0}
.telmana-restyle .section-company__img-title{padding:16px 20px;background:white;color:#36504a;font-weight:500}
.telmana-restyle .section-company__text{font-size:15px;line-height:1.8;color:#52655e}
.telmana-restyle .section-company__text p{margin:0 0 16px}.telmana-restyle .section-company__text p:last-child{margin-bottom:0}
.telmana-restyle .section-company__title h1{font-size:34px;letter-spacing:-.03em;font-weight:600;color:#29443c;line-height:1.2}
.telmana-restyle .header-phone__popup,.telmana-restyle .form-popup,.telmana-restyle .fancybox-content{border-radius:16px}
.telmana-restyle #booking_iframe{border-radius:18px;overflow:hidden}
@media(max-width:1250px){.telmana-restyle #header .hdslide_inn{gap:12px;padding:8px 14px}.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li>a{font-size:11px;padding:10px 6px}.telmana-restyle #header .head_slide .header-phone__link{font-size:14px}.telmana-restyle #header .hdslide_home{flex-basis:95px}.telmana-restyle #header .hdslide_home img{width:95px}}
@media(max-width:1100px){.telmana-restyle #header .head_slide .hdtopmenu{flex:1}.telmana-restyle .telmana-menu-toggle{display:block}.telmana-restyle #header .head_slide .hdtopmenu nav>ul{display:none;position:absolute;top:calc(100% + 15px);left:0;min-width:235px;padding:10px;background:white;border:1px solid #dde8e2;border-radius:15px;box-shadow:0 14px 35px #183e3026;max-height:70vh;overflow-y:auto}.telmana-restyle #header .head_slide .hdtopmenu.is-open nav>ul{display:block}.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li{width:100%}.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li>a{font-size:14px;padding:13px 16px}.telmana-restyle #header .head_slide .hdtopmenu nav>ul>li:has(>a[href='/booking/']){display:block}.telmana-restyle #header .hdslide_inn{gap:18px}}
@media(max-width:768px){.telmana-restyle #header .head_slide{display:block;left:10px;right:10px;width:calc(100% - 20px);top:9px!important;min-height:64px;border-radius:16px}.telmana-restyle #header .hdslide_inn{min-height:64px;padding:6px 10px;gap:10px}.telmana-restyle #header .hdslide_home{flex:0 0 82px}.telmana-restyle #header .hdslide_home img{width:82px;height:48px}.telmana-restyle #header .head_slide .header-phone__main-phone{padding:0;width:38px;height:40px;display:grid;place-items:center}.telmana-restyle #header .head_slide .header-phone__main-phone:after{display:none}.telmana-restyle #header .head_slide .header-phone__link{font-size:0;display:grid;place-items:center;width:38px;height:40px}.telmana-restyle #header .head_slide .header-phone__link:before{content:'\f095';font:19px FontAwesome;color:#227f78}.telmana-restyle #header .head_slide .header-phone__popup{display:none!important}.telmana-restyle #header .hdslide_contact_zayvka>.btn-link{min-height:40px;padding:10px 12px!important;gap:7px;font-size:11px;border-radius:11px!important}.telmana-restyle #header .hdslide_contact_zayvka>.btn-link:after{font-size:17px}.telmana-restyle .telmana-menu-toggle{width:38px;height:40px;padding:11px}.telmana-restyle #header .head_slide .hdtopmenu nav>ul{left:-90px;top:calc(100% + 13px)}.telmana-restyle .section-padding{padding-top:45px;padding-bottom:45px}.telmana-restyle .section-main-page-title{font-size:28px;margin-bottom:25px}.telmana-restyle .rooms-section-tile__text-box{padding:20px}.telmana-restyle .rooms-section-tile__title-link{font-size:20px}.telmana-restyle .section-company__title h1{font-size:28px}.telmana-restyle .section-company__text{font-size:14px}.telmana-restyle .section-projects-list__text{padding:18px}.telmana-restyle .section-projects-list__text-title{font-size:20px}}
@media(max-width:360px){.telmana-restyle #header .hdslide_inn{gap:6px;padding:6px 8px}.telmana-restyle #header .hdslide_home{flex-basis:68px}.telmana-restyle #header .hdslide_home img{width:68px}.telmana-restyle #header .hdslide_contact_zayvka>.btn-link{padding:10px 9px!important;font-size:10px;gap:4px}.telmana-restyle #header .head_slide .hdtopmenu nav>ul{left:-75px}}
@media(prefers-reduced-motion:reduce){.telmana-restyle .header-btn-zayvka__link,.telmana-restyle .hdslide_contact_zayvka>.btn-link,.telmana-restyle .header-btn-zayvka__link:before,.telmana-restyle .hdslide_contact_zayvka>.btn-link:before{animation:none!important}.telmana-restyle .head_slide,.telmana-restyle .rooms-section-tile__item,.telmana-restyle .section-projects-list__box,.telmana-restyle .rooms-section-tile__img-img{transition:none!important}}

/* Preserve the original brand artwork and its proportions at every breakpoint. */
.telmana-restyle #header .header-logo img,.telmana-restyle #header .hdslide_home img,.telmana-restyle #footer .footer__logo img{object-fit:contain;image-rendering:auto;filter:none}

.telmana-restyle #header .header-slider__offer{border-top-left-radius:22px;border-top-right-radius:22px}

/* Keep the service CTA centered when hovered; generic button lift must not replace its centering transform. */
.telmana-restyle .section-projects-list__btn-focus,.telmana-restyle .section-projects-list__btn-focus:hover{transform:translate(-50%,-50%)}
