/* IVANI 2009 - Global Header + Footer. Loaded on every page. */

/* ИВАНИ 2009 | ГЛОБАЛЕН FOOTER | Elementor Free + Header Footer Builder
   Класовете в този файл са върху native Flexbox containers / widgets.
   Прехвърли съдържанието в Appearance > Customize > Additional CSS.
   СЛЕД това премахни само HTML widget 'CSS FOOTER – премахни след преместване'. */
.ivani-footer-section{
  --ivani-red:#F01438;--ivani-muted:#A9AFB9;
  position:relative; isolation:isolate; overflow:hidden!important;
  background:radial-gradient(ellipse 45% 80% at 98% 26%,#1a151a 0%,transparent 78%),#0C0D11!important;
  border-top:5px solid #F01438;
  color:#fff;
}
.ivani-footer-section::before{
  content:"";position:absolute;z-index:0;right:9%;top:-18%;height:122%;width:28px;
  background:rgba(240,20,56,.21);transform:skewX(-19deg);
  box-shadow:54px 0 0 rgba(240,20,56,.14),112px 0 0 rgba(240,20,56,.46);
  pointer-events:none;
}
.ivani-footer-section::after{
  content:""; position:absolute;z-index:0;left:3%;top:-40%;width:56px;height:136%;
  background:rgba(255,255,255,.012);transform:skewX(-21deg);
  box-shadow:90px 0 0 rgba(255,255,255,.008);pointer-events:none;
}
.ivani-footer-section .ivani-footer-bottom,
.ivani-footer-section .ivani-footer-main{position:relative;z-index:2;min-width:0;}
.ivani-footer-section .ivani-footer-photo{position:absolute!important;right:0;top:6%;width:27%!important;height:79%;z-index:1;pointer-events:none;opacity:.15;overflow:hidden;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 68%);mask-image:linear-gradient(90deg,transparent 0%,#000 68%);}
.ivani-footer-section .ivani-footer-photo .elementor-widget-container,.ivani-footer-section .ivani-footer-photo img{height:100%!important;width:100%!important;}
.ivani-footer-section .ivani-footer-photo img{object-fit:cover;filter:grayscale(1) contrast(1.2) brightness(.7);}
.ivani-footer-section .ivani-footer-grid{
  display:grid!important;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr) minmax(0,.95fr) minmax(0,1.27fr);
  gap:0!important;align-items:start!important;width:100%;
}
.ivani-footer-section .ivani-footer-col{min-width:0!important;width:100%!important;}
.ivani-footer-section .ivani-footer-col:not(:first-child){
  border-left:1px solid rgba(232,234,240,.25);padding-left:32px!important;margin-left:0!important;
}
.ivani-footer-section .ivani-footer-col:not(:last-child){padding-right:24px!important;}
.ivani-footer-section .ivani-footer-brand-logo{max-width:315px;width:100%;}
.ivani-footer-section .ivani-footer-brand-logo .elementor-widget-container img{
  display:block; width:100%;max-width:305px;height:auto!important;object-fit:contain;
}
.ivani-footer-section .ivani-footer-intro .elementor-heading-title{
  font-size:20px!important;font-weight:750!important;line-height:1.45!important;letter-spacing:.05px;
}
.ivani-footer-section .ivani-footer-subtext p{color:#A9AFB9!important;line-height:1.68!important;}
.ivani-footer-section .ivani-footer-col-title{position:relative;padding-bottom:22px;margin-bottom:18px!important;}
.ivani-footer-section .ivani-footer-col-title:after{
  content:"";position:absolute;left:0;bottom:2px;width:50px;height:4px;background:#F01438;border-radius:2px;
}
.ivani-footer-section .ivani-footer-col-title .elementor-heading-title{font-size:22px!important;font-weight:800!important;letter-spacing:.3px;}
.ivani-footer-section .ivani-footer-quick-row{position:relative;min-height:41px;padding-right:14px;}
.ivani-footer-section .ivani-footer-quick-row .elementor-heading-title{
  font-size:17px!important;font-weight:500!important;line-height:1.4!important;
}
.ivani-footer-section .ivani-footer-quick-row .elementor-heading-title a,
.ivani-footer-section .ivani-footer-service-head .elementor-heading-title a,
.ivani-footer-section .ivani-footer-detail-value .elementor-heading-title a{
  color:inherit!important;text-decoration:none!important;transition:color .2s ease;
}
.ivani-footer-section .ivani-footer-quick-row::after{
 content:"";position:absolute;right:12px;top:13px;width:7px;height:7px;
 border-right:2px solid #F01438;border-top:2px solid #F01438;transform:rotate(45deg);
 pointer-events:none;
}
.ivani-footer-section .ivani-footer-quick-row:hover .elementor-heading-title a,
.ivani-footer-section .ivani-footer-service-head .elementor-heading-title a:hover,
.ivani-footer-section .ivani-footer-detail-value .elementor-heading-title a:hover{color:#F01438!important;}
.ivani-footer-section .ivani-footer-service{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:13px!important;}
.ivani-footer-section .ivani-footer-service-icon{border:1px solid #F01438;border-radius:7px!important;
 display:flex!important;justify-content:center!important;align-items:center!important;
 width:42px!important;height:42px!important;flex:0 0 42px!important;}
.ivani-footer-section .ivani-footer-service-icon .elementor-widget-icon{width:100%;text-align:center;}
.ivani-footer-section .ivani-footer-service-icon .elementor-icon{color:#F01438!important;}
.ivani-footer-section .ivani-footer-service-head .elementor-heading-title{font-weight:750!important;line-height:1.25!important;}
.ivani-footer-section .ivani-footer-service-note .elementor-heading-title{font-weight:400!important;line-height:1.38!important;}
.ivani-footer-section .ivani-footer-contact-row{display:flex!important;gap:14px!important;flex-direction:row!important;align-items:flex-start!important;}
.ivani-footer-section .ivani-footer-contact-icon{display:flex!important;justify-content:center!important;
 align-items:center!important;width:55px!important;height:55px!important;flex:0 0 55px!important;
 background:#E9183A!important;border-radius:10px!important;}
.ivani-footer-section .ivani-footer-contact-icon .elementor-widget-icon{width:100%;text-align:center;}
.ivani-footer-section .ivani-footer-contact-icon .elementor-icon{color:#FFFFFF!important;}
.ivani-footer-section .ivani-footer-contact-label .elementor-heading-title{
  color:#F01438!important;font-size:12px!important;letter-spacing:.8px;text-transform:uppercase;
}
.ivani-footer-section .ivani-footer-detail-value .elementor-heading-title{line-height:1.35!important;overflow-wrap:anywhere;}
.ivani-footer-section .ivani-footer-call .elementor-button{
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
  min-width:255px;min-height:64px;color:white!important;background:transparent!important;
  border-radius:0!important;border:0!important;
  padding:17px 28px!important;white-space:nowrap;
  clip-path:polygon(6% 0,100% 0,94% 100%,0 100%);
  box-shadow:none!important;transition:background .2s ease,transform .2s ease;
}
.ivani-footer-section .ivani-footer-call {position:relative;}
.ivani-footer-section .ivani-footer-call:before{
  content:"";position:absolute;z-index:0;inset:1px;
  background:#F01438;clip-path:polygon(6% 0,100% 0,94% 100%,0 100%);pointer-events:none;
}
.ivani-footer-section .ivani-footer-call:after{
  content:"";position:absolute;z-index:0;inset:3px;
  background:#0C0D11;clip-path:polygon(6% 0,100% 0,94% 100%,0 100%);pointer-events:none;
}
.ivani-footer-section .ivani-footer-call .elementor-widget-container{position:relative;z-index:1;}
.ivani-footer-section .ivani-footer-call .elementor-button:hover{background:rgba(240,20,56,.2)!important;transform:translateY(-2px);}
.ivani-footer-section .ivani-footer-socials{display:flex!important;gap:12px!important;flex-direction:row!important;align-items:center!important;}
.ivani-footer-section .ivani-footer-social-icon{
 display:flex!important;justify-content:center!important;align-items:center!important;
 width:45px!important;height:45px!important;flex:0 0 45px!important;
 border:1px solid rgba(255,255,255,.55);border-radius:9px;
}
.ivani-footer-section .ivani-footer-social-icon .elementor-widget-icon{width:100%;text-align:center;}
.ivani-footer-section .ivani-footer-social-icon .elementor-icon{color:#FFFFFF!important;}
.ivani-footer-section .ivani-footer-social-icon:hover{border-color:#F01438;background:rgba(240,20,56,.18);}
.ivani-footer-section .ivani-footer-social-label .elementor-heading-title{font-size:14px!important;color:#A9AFB9!important;}
.ivani-footer-section .ivani-footer-bottom{border-top:1px solid rgba(255,255,255,.35);}
.ivani-footer-section .ivani-footer-legal{
  display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:22px!important;width:auto!important;
}
.ivani-footer-section .ivani-footer-legal-item .elementor-heading-title{font-size:14px!important;font-weight:400!important;line-height:1.4!important;}
.ivani-footer-section .ivani-footer-legal-item .elementor-heading-title a{color:#D5D9E0;text-decoration:none!important;}
.ivani-footer-section .ivani-footer-legal-item .elementor-heading-title a:hover{color:#F01438;}
.ivani-footer-section .ivani-footer-top .elementor-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:48px;height:48px;border:1px solid #F01438;border-radius:11px;
  color:#fff!important;transition:background .2s ease;
}
.ivani-footer-section .ivani-footer-top .elementor-icon:hover{background:#F01438;}
.ivani-footer-section .ivani-footer-css{display:none!important;}
@media (max-width:1250px){
  .ivani-footer-section .ivani-footer-grid{grid-template-columns:1.12fr .78fr 1fr 1.15fr;}
  .ivani-footer-section .ivani-footer-col:not(:first-child){padding-left:20px!important;}
  .ivani-footer-section .ivani-footer-col:not(:last-child){padding-right:14px!important;}
  .ivani-footer-section .ivani-footer-col-title .elementor-heading-title{font-size:19px!important;}
  .ivani-footer-section .ivani-footer-brand-logo .elementor-widget-container img{max-width:260px;}
}
@media (max-width:1024px){
  .ivani-footer-section .ivani-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 38px!important;}
  .ivani-footer-section .ivani-footer-col:not(:first-child){border-left:none;padding-left:0!important;}
  .ivani-footer-section .ivani-footer-col:not(:last-child){padding-right:0!important;}
  .ivani-footer-section .ivani-footer-grid .ivani-footer-col:nth-child(2n){border-left:1px solid rgba(232,234,240,.18);padding-left:35px!important;}
  .ivani-footer-section .ivani-footer-bottom-row{gap:22px!important;}
}
@media (max-width:767px){
  .ivani-footer-section .ivani-footer-grid{grid-template-columns:minmax(0,1fr);gap:42px!important;}
  .ivani-footer-section .ivani-footer-grid .ivani-footer-col{border:0!important;padding:0!important;}
  .ivani-footer-section .ivani-footer-quick-row{min-height:34px;}
  .ivani-footer-section .ivani-footer-col-title .elementor-heading-title{font-size:20px!important;}
  .ivani-footer-section .ivani-footer-service{gap:12px!important;}
  .ivani-footer-section .ivani-footer-bottom-row{flex-direction:column!important;align-items:flex-start!important;gap:20px!important;}
  .ivani-footer-section .ivani-footer-legal{justify-content:flex-start!important;gap:16px!important;}
  .ivani-footer-section::before{opacity:.35;right:-45px;}
  .ivani-footer-section .ivani-footer-photo{display:none!important;}
  .ivani-footer-section .ivani-footer-call .elementor-button{min-width:250px;}
}
@media(prefers-reduced-motion:reduce){
  .ivani-footer-section .ivani-footer-call .elementor-button,
  .ivani-footer-section .ivani-footer-quick-row .elementor-heading-title a,
  .ivani-footer-section .ivani-footer-top .elementor-icon{transition:none!important;}
}


/* IVANI FOOTER — BUTTON FIX */

/* Премахваме слоевете, които скриват текста */
.ivani-footer-section .ivani-footer-call::before,
.ivani-footer-section .ivani-footer-call::after {
    display: none !important;
}

/* Възстановяваме бутона и червената рамка */
.ivani-footer-section .ivani-footer-call .elementor-button {
    background: #0C0D11 !important;
    border: 2px solid #F01438 !important;
    color: #FFFFFF !important;
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%) !important;
}

/* Гарантираме видим текст и икона */
.ivani-footer-section .ivani-footer-call .elementor-button-text,
.ivani-footer-section .ivani-footer-call .elementor-button-icon {
    color: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 3 !important;
}

/* Hover ефект */
.ivani-footer-section .ivani-footer-call .elementor-button:hover {
    background: #F01438 !important;
}

/* IVANI FOOTER - SVG ICON FIX */

/* Размер и позициониране */
.ivani-footer-section .ivani-footer-service-icon .elementor-icon svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    fill: none !important;
    stroke: #F01438 !important;
}

/* Премахваме плътното запълване */
.ivani-footer-section .ivani-footer-service-icon svg path,
.ivani-footer-section .ivani-footer-service-icon svg circle,
.ivani-footer-section .ivani-footer-service-icon svg rect,
.ivani-footer-section .ivani-footer-service-icon svg line,
.ivani-footer-section .ivani-footer-service-icon svg polyline,
.ivani-footer-section .ivani-footer-service-icon svg polygon {
    fill: none !important;
    stroke: #F01438 !important;
}

/* Центриране на иконите */
.ivani-footer-section .ivani-footer-service-icon .elementor-widget-icon,
.ivani-footer-section .ivani-footer-service-icon .elementor-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}



/* IVANI 2009 — GLOBAL HEADER V2 — Elementor Free + HFE Navigation Menu */
.ivani-header-v2 {
  --ivani-header-red:#F01438;
  background:#131417!important;
  color:#fff;
  width:100%!important;
  position:relative;
  z-index:50;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  box-sizing:border-box;
}
.ivani-header-v2 * {box-sizing:border-box;}
.ivani-header-v2 .ivani-header-v2-inner {
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  width:100%!important;
  max-width:1540px!important;
  min-height:108px!important;
  margin:0 auto!important;
  padding:12px clamp(24px,4.6vw,78px)!important;
}
.ivani-header-v2 .ivani-header-v2-inline-css {
  position:absolute!important;
  top:0!important;
  left:0!important;
  width:0!important;
  height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.ivani-header-v2 .ivani-header-v2-brand,
.ivani-header-v2 .ivani-header-v2-menu-box,
.ivani-header-v2 .ivani-header-v2-call-box {
  min-width:0!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
}
.ivani-header-v2 .ivani-header-v2-brand {flex:0 0 23%!important;justify-content:flex-start!important;}
.ivani-header-v2 .ivani-header-v2-menu-box {flex:1 1 auto!important;justify-content:center!important;}
.ivani-header-v2 .ivani-header-v2-call-box {flex:0 0 23%!important;justify-content:flex-end!important;}
.ivani-header-v2 .ivani-header-v2-logo {width:auto!important;max-width:100%;}
.ivani-header-v2 .ivani-header-v2-logo img {
  display:block!important;
  width:min(100%,245px)!important;
  max-width:245px!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
}
/* The menu content comes from WP Appearance > Menus; CSS cannot add menu entries. */
.ivani-header-v2 .ivani-header-v2-nav {width:100%!important;}
.ivani-header-v2 .ivani-header-v2-nav a.hfe-menu-item,
.ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu a {
  color:#fff!important;
  font-family:Montserrat,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  letter-spacing:.2px!important;
  text-decoration:none!important;
  transition:color .2s ease,border-color .2s ease!important;
}
@media (min-width:1025px) {
  .ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__layout-horizontal {
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  .ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item {
    padding:12px 11px!important;
    border-bottom:2px solid transparent!important;
    white-space:nowrap;
  }
  .ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__layout-horizontal a.hfe-menu-item:hover,
  .ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__layout-horizontal .current-menu-item>a.hfe-menu-item,
  .ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__layout-horizontal .current-menu-ancestor>a.hfe-menu-item {
    color:var(--ivani-header-red)!important;
    border-bottom-color:var(--ivani-header-red)!important;
  }
}
.ivani-header-v2 .ivani-header-v2-nav a.hfe-menu-item:hover,
.ivani-header-v2 .ivani-header-v2-nav a.hfe-menu-item:focus-visible {
  color:var(--ivani-header-red)!important;
}
.ivani-header-v2 .ivani-header-v2-nav .sub-menu,
.ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__layout-vertical,
.ivani-header-v2 .ivani-header-v2-nav .hfe-flyout-wrapper .hfe-nav-menu {
  background:#1B1C20!important;
}
.ivani-header-v2 .ivani-header-v2-nav .sub-menu a.hfe-menu-item {
  color:#f5f5f5!important;
  font-size:13px!important;
  font-weight:600!important;
  padding:14px 18px!important;
}
.ivani-header-v2 .ivani-header-v2-call {width:auto!important;max-width:100%;}
.ivani-header-v2 .ivani-header-v2-call .elementor-button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:11px!important;
  min-height:55px!important;
  min-width:220px!important;
  border:none!important;
  border-radius:0!important;
  padding:14px 30px!important;
  background:var(--ivani-header-red)!important;
  color:#fff!important;
  clip-path:polygon(7% 0,100% 0,93% 100%,0 100%);
  text-decoration:none!important;
  transition:filter .2s ease,transform .2s ease!important;
}
.ivani-header-v2 .ivani-header-v2-call .elementor-button:hover {
  filter:brightness(1.12)!important;
  transform:translateY(-1px);
}
.ivani-header-v2 .ivani-header-v2-call .elementor-button-text {
  color:#fff!important;
  font-family:Montserrat,Arial,sans-serif!important;
  font-weight:800!important;
  font-size:15px!important;
  white-space:nowrap!important;
  letter-spacing:.3px!important;
}
.ivani-header-v2 .ivani-header-v2-call .elementor-button-icon {
  color:#fff!important;
  font-size:17px!important;
}
.ivani-header-v2 .ivani-header-v2-call .elementor-button-content-wrapper {
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
}
/* HFE mobile menu remains a genuine interactive widget, not decorative links. */
.ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__toggle,
.ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu-icon {
  color:#fff!important;
  border-color:rgba(255,255,255,.35)!important;
}
@media(max-width:1024px) {
  .ivani-header-v2 .ivani-header-v2-inner {min-height:88px!important;padding:12px 24px!important;gap:10px!important;}
  .ivani-header-v2 .ivani-header-v2-brand {flex:1 1 auto!important;}
  .ivani-header-v2 .ivani-header-v2-menu-box {flex:0 0 65px!important;justify-content:center!important;}
  .ivani-header-v2 .ivani-header-v2-call-box {flex:0 0 auto!important;}
  .ivani-header-v2 .ivani-header-v2-logo img {max-width:208px!important;}
  .ivani-header-v2 .ivani-header-v2-call .elementor-button {min-width:188px!important;min-height:49px!important;padding:12px 18px!important;}
  .ivani-header-v2 .ivani-header-v2-call .elementor-button-text {font-size:12px!important;}
}
@media(max-width:767px) {
  .ivani-header-v2 .ivani-header-v2-inner {min-height:76px!important;padding:9px 14px!important;gap:7px!important;}
  .ivani-header-v2 .ivani-header-v2-brand {flex:1 1 auto!important;}
  .ivani-header-v2 .ivani-header-v2-menu-box {flex:0 0 50px!important;order:3;}
  .ivani-header-v2 .ivani-header-v2-call-box {flex:0 0 48px!important;order:2;}
  .ivani-header-v2 .ivani-header-v2-logo img {max-width:min(47vw,177px)!important;}
  .ivani-header-v2 .ivani-header-v2-call .elementor-button {
    min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;
    clip-path:none!important;border-radius:6px!important;padding:10px!important;
  }
  .ivani-header-v2 .ivani-header-v2-call .elementor-button-text {display:none!important;}
  .ivani-header-v2 .ivani-header-v2-call .elementor-button-icon {font-size:18px!important;margin:0!important;}
  .ivani-header-v2 .ivani-header-v2-nav .hfe-nav-menu__toggle {
    border:1px solid rgba(255,255,255,.25)!important;
    border-radius:6px!important;
    min-height:44px!important;
    min-width:44px!important;
    display:flex;align-items:center;justify-content:center;
  }
}
