/*
Theme Name: PHIYA RESORT — Mountain 3.0.0
Theme URI: https://phiya-resort.ru/
Author: PHIYA RESORT
Description: Separate PHIYA RESORT theme build with cinematic gradient header, full-bleed homepage hero treatment and configurable phone CTA in footer.
Version: 3.0.1
Text Domain: phiya-resort-mountain
*/
:root{--phiya-ivory:#F5F3ED;--phiya-sage:#DCE3D4;--phiya-forest:#52634D;--phiya-orange:#F47721;--phiya-graphite:#242721;--phiya-white:#fff;--phiya-font:'Manrope',Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--phiya-ivory);color:var(--phiya-graphite);font-family:var(--phiya-font);font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
/* Desktop: a distinct charcoal glass panel that fades into the hero image. */
.phiya-site-header{position:absolute;z-index:999;top:0;left:0;right:0;padding:22px clamp(20px,4.5vw,76px);color:#fff;background:linear-gradient(180deg,rgba(8,10,9,.88) 0%,rgba(12,15,13,.72) 48%,rgba(12,15,13,.36) 78%,rgba(12,15,13,0) 100%)}
.phiya-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1600px;margin:0 auto;min-height:54px}
.phiya-brand{display:inline-flex;align-items:center;flex:0 0 auto;min-width:190px;color:inherit}
.phiya-logo{display:block;font-size:21px;font-weight:900;line-height:1.1;letter-spacing:.15em;color:inherit;white-space:nowrap}
.phiya-logo small{display:block;font-size:8px;line-height:1.5;letter-spacing:.34em;font-weight:600;margin-top:5px}
.custom-logo-link{display:inline-flex;align-items:center;flex:0 0 auto}
.phiya-brand .custom-logo{max-width:190px;max-height:58px;width:auto;height:auto;object-fit:contain;mix-blend-mode:screen}
.phiya-nav{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0}
.phiya-nav-list{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2.1vw,34px);list-style:none;margin:0;padding:0}
.phiya-nav-list li{list-style:none;margin:0;padding:0}
.phiya-nav-list a{display:inline-flex;align-items:center;min-height:44px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.095em;text-transform:uppercase;white-space:nowrap;transition:color .2s ease,opacity .2s ease}
.phiya-nav-list a:hover,.phiya-nav-list .current-menu-item>a,.phiya-nav-list .current_page_item>a{color:var(--phiya-orange)}
.phiya-header-actions{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.phiya-header-cta,.phiya-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:var(--phiya-orange);color:#fff;padding:0 22px;border:1px solid var(--phiya-orange);border-radius:2px;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;transition:transform .2s,background .2s,border-color .2s;cursor:pointer;white-space:nowrap}
.phiya-header-cta:hover,.phiya-btn:hover{background:#df6417;border-color:#df6417;transform:translateY(-2px);color:#fff}
.phiya-menu-toggle{display:none;align-items:center;gap:10px;justify-content:center;min-height:44px;padding:0 14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.62);border-radius:2px;color:#fff;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.phiya-menu-icon{display:inline-flex;flex-direction:column;gap:5px;width:17px}
.phiya-menu-icon span{display:block;width:17px;height:1.5px;background:currentColor;transition:transform .2s,opacity .2s}
.phiya-menu-toggle[aria-expanded="true"] .phiya-menu-icon span:first-child{transform:translateY(3.25px) rotate(45deg)}
.phiya-menu-toggle[aria-expanded="true"] .phiya-menu-icon span:last-child{transform:translateY(-3.25px) rotate(-45deg)}
.phiya-content{min-height:60vh;width:100%;max-width:none;margin:0;padding:0}
.phiya-content>.elementor{width:100%;max-width:none;margin:0;padding:0;overflow:visible}
/* Homepage first Elementor section/container: edge-to-edge image/video and a left-only text legibility gradient. */
.home .phiya-content>.elementor>.e-con:first-child,
.home .phiya-content>.elementor>.elementor-element:first-child,
.home .phiya-content>.elementor>.elementor-section-wrap>.elementor-section:first-child{position:relative;width:100%;max-width:none;margin-left:0;margin-right:0;border-radius:0;overflow:hidden}
.home .phiya-content>.elementor>.e-con:first-child:before,
.home .phiya-content>.elementor>.elementor-element:first-child:before,
.home .phiya-content>.elementor>.elementor-section-wrap>.elementor-section:first-child:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.48) 22%,rgba(0,0,0,.22) 43%,rgba(0,0,0,0) 68%)}
.home .phiya-content>.elementor>.e-con:first-child>.e-con-inner,
.home .phiya-content>.elementor>.elementor-element:first-child>.elementor-container,
.home .phiya-content>.elementor>.elementor-section-wrap>.elementor-section:first-child>.elementor-container{position:relative;z-index:2}
/* Remove boxed beige gutters from the first visual block only; keep content sections editorially constrained. */
.home .phiya-content>.elementor>.e-con:first-child>.e-con-inner{max-width:none}
.phiya-footer{background:var(--phiya-graphite);color:#fff;padding:58px 5% 36px}
.phiya-footer-inner{max-width:1500px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.phiya-footer-brand{font-weight:900;letter-spacing:.18em;font-size:22px}
.phiya-footer-tagline{font-size:13px;color:rgba(255,255,255,.65);margin-top:8px}
.phiya-footer-social{display:flex;align-items:center;gap:14px}
.phiya-social-link{width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;color:var(--phiya-orange)}
.phiya-social-link svg{width:21px;height:21px;fill:currentColor}
.phiya-footer-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.phiya-call-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 20px;background:transparent;border:1px solid rgba(255,255,255,.48);border-radius:2px;color:#fff;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.phiya-call-btn:hover{background:rgba(255,255,255,.12);border-color:var(--phiya-orange);color:#fff}
.phiya-call-btn svg{width:17px;height:17px;fill:currentColor;flex:0 0 auto}
.phiya-footer-bottom{max-width:1500px;margin:42px auto 0;border-top:1px solid rgba(255,255,255,.14);padding-top:18px;color:rgba(255,255,255,.45);font-size:11px}
@media(max-width:1100px){.phiya-header-inner{gap:16px}.phiya-nav-list{gap:14px}.phiya-nav-list a{font-size:10px;letter-spacing:.06em}.phiya-brand{min-width:165px}.phiya-logo{font-size:18px}.phiya-header-cta{padding:0 15px}}
@media(max-width:900px){
 .phiya-site-header{padding:16px 5%;background:linear-gradient(180deg,rgba(8,10,9,.82) 0%,rgba(12,15,13,.62) 42%,rgba(12,15,13,.28) 72%,rgba(12,15,13,0) 100%)}
 .phiya-header-inner{min-height:48px}.phiya-brand{min-width:0}.phiya-logo{font-size:19px}.phiya-header-actions{margin-left:auto}
 .phiya-menu-toggle{display:inline-flex}
 .phiya-nav{display:none;position:absolute;top:calc(100% + 2px);left:5%;right:5%;z-index:1000;padding:14px 20px 20px;background:rgba(25,28,25,.97);border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 40px rgba(0,0,0,.24);align-items:stretch;justify-content:flex-start}
 .phiya-nav.is-open{display:flex}.phiya-nav-list{width:100%;flex-direction:column;align-items:stretch;gap:0}.phiya-nav-list li{width:100%;border-bottom:1px solid rgba(255,255,255,.12)}.phiya-nav-list li:last-child{border-bottom:0}.phiya-nav-list a{display:flex;min-height:48px;width:100%;font-size:11px;letter-spacing:.1em}.phiya-header-cta{min-height:44px}.phiya-menu-toggle[aria-expanded="true"]{background:rgba(255,255,255,.16)}
 .home .phiya-content>.elementor>.e-con:first-child:before,.home .phiya-content>.elementor>.elementor-element:first-child:before,.home .phiya-content>.elementor>.elementor-section-wrap>.elementor-section:first-child:before{background:linear-gradient(90deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.30) 38%,rgba(0,0,0,0) 76%)}
}
@media(max-width:560px){.phiya-site-header{padding:13px 4.5%}.phiya-header-inner{gap:10px}.phiya-logo{font-size:16px;letter-spacing:.12em}.phiya-logo small{font-size:7px;letter-spacing:.25em}.phiya-menu-toggle{padding:0 10px;min-height:40px;font-size:9px}.phiya-menu-icon,.phiya-menu-icon span{width:15px}.phiya-header-cta{display:none}.phiya-nav{left:4.5%;right:4.5%}.phiya-footer{padding:42px 6% 26px}.phiya-footer-inner{align-items:flex-start;flex-direction:column}.phiya-footer-actions{width:100%;align-items:stretch;flex-direction:column}.phiya-footer-actions .phiya-btn,.phiya-footer-actions .phiya-call-btn{width:100%}.phiya-footer-bottom{margin-top:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
