/* BagIra footer — compact editorial layout, original local brand assets. */
.footer.footer-modern{
  --fm-bg:#191715;
  --fm-rule:rgba(221,193,155,.16);
  --fm-warm:#f5e8d7;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin:0;
  padding:0;
  background:var(--fm-bg);
  color:var(--fm-warm);
}
.footer.footer-modern::before{
  content:"";
  position:absolute;
  z-index:-1;
  right:-170px;
  top:-250px;
  width:640px;
  height:480px;
  pointer-events:none;
  background:radial-gradient(ellipse at 70% 30%,rgba(128,94,62,.17),transparent 72%);
}
.footer.footer-modern::after{
  content:"";
  position:absolute;
  left:4%;
  right:4%;
  top:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(216,180,133,.35),transparent);
}
.footer-modern *, .footer-modern *::before, .footer-modern *::after{box-sizing:border-box}
.footer-modern .footer-modern-inner{position:relative;min-width:0;padding-top:27px}
.footer-modern a{color:inherit;text-decoration:none}
.footer-modern a:focus-visible{outline:2px solid #dec39c;outline-offset:3px;border-radius:3px}
.footer-modern-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(22px,5vw,72px);
  min-width:0;
  padding-bottom:21px;
  border-bottom:1px solid var(--fm-rule);
}
.footer-modern-identity,.footer-modern-contact{min-width:0}
.footer-modern-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  max-width:100%;
}
.footer-modern-logo-image{
  display:block;
  flex:0 0 auto;
  width:77px;
  height:53px;
  max-width:30%;
  object-fit:contain;
  border:0;
  background:transparent;
  transition:transform .35s ease;
}
.footer-modern-logo:hover .footer-modern-logo-image{transform:translateY(-2px)}
.footer-modern-logo-type{display:flex;flex-direction:column;min-width:0;gap:3px}
.footer-modern-logo-type strong{
  color:#f1d3a5;
  font:500 clamp(26px,2.3vw,31px)/1 var(--serif);
  letter-spacing:.03em;
}
.footer-modern-logo-type small{
  color:#e4d1b8;
  font:600 12px/1.4 var(--sans);
  letter-spacing:.045em;
  overflow-wrap:break-word;
}
.footer-modern-tagline{
  max-width:430px;
  margin:9px 0 0;
  color:#b5a699;
  font:400 16px/1.5 var(--sans);
}
.footer-modern-eyebrow,.footer-modern-label{
  display:block;
  margin:0;
  color:#c8a980;
  font:600 12px/1.45 var(--sans);
  letter-spacing:.11em;
}
.footer-modern-headline{margin:5px 0 12px}
.footer-modern-headline a{
  display:inline-block;
  max-width:100%;
  color:#f1e5d8;
  font:500 clamp(31px,3.25vw,42px)/1.08 var(--serif);
  letter-spacing:-.018em;
  transition:color .25s ease;
}
.footer-modern-headline a:hover{color:#e2c49e}
.footer-modern-phone{
  display:inline-flex;
  align-items:center;
  gap:10px;
  max-width:100%;
  min-width:0;
  padding:7px 14px 7px 8px;
  border:1px solid rgba(225,191,146,.26);
  border-radius:9px;
  background:rgba(255,255,255,.035);
  transition:border-color .3s ease,background .3s ease;
}
.footer-modern-phone:hover,.footer-modern-phone:focus-visible{
  border-color:rgba(235,198,148,.65);
  background:rgba(255,255,255,.075);
}
.footer-modern-phone-icon{
  display:grid;
  place-items:center;
  flex:0 0 35px;
  width:35px;
  height:35px;
  border-radius:7px;
  background:rgba(203,168,125,.12);
  color:#f4d5a9;
}
.footer-modern-phone-icon svg{width:18px;height:18px}
.footer-modern-phone-text{display:flex;flex-direction:column;min-width:0;gap:1px}
.footer-modern-phone-text > span{
  color:#b69d82;
  font:600 10px/1.4 var(--sans);
  letter-spacing:.13em;
}
.footer-modern-phone-text strong{
  color:#f1e4d5;
  font:600 clamp(17px,1.5vw,19px)/1.2 var(--sans);
  letter-spacing:0;
  white-space:nowrap;
}
.footer-modern-middle{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(22px,5vw,72px);
  min-width:0;
  padding:18px 0 19px;
  border-bottom:1px solid var(--fm-rule);
}
.footer-modern-sitemap{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:17px;
  min-width:0;
}
.footer-modern-nav,.footer-modern-messengers{min-width:0}
.footer-modern-nav-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px 11px;
  margin-top:8px;
}
.footer-modern-nav-secondary .footer-modern-nav-grid{grid-template-columns:minmax(0,1fr)}
.footer-modern-nav-grid a{
  position:relative;
  justify-self:start;
  width:fit-content;
  max-width:100%;
  color:#e1d3c4;
  font:400 14px/1.55 var(--sans);
  overflow-wrap:break-word;
  transition:color .25s ease;
}
.footer-modern-nav-grid a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1px;
  background:#d8b58c;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .3s ease;
}
.footer-modern-nav-grid a:hover{color:#f5dfbb}
.footer-modern-nav-grid a:hover::after,.footer-modern-nav-grid a:focus-visible::after{transform:scaleX(1)}
.footer-modern-socials{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.footer-modern-social{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  min-width:0;
  min-height:40px;
  padding:5px 7px 5px 5px;
  border:1px solid rgba(223,199,166,.21);
  border-radius:8px;
  background:rgba(255,255,255,.028);
  transition:background .3s ease,border-color .3s ease,transform .3s ease;
}
.footer-modern-social:hover,.footer-modern-social:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(230,200,156,.5);
  background:rgba(255,255,255,.068);
}
.footer-modern-social-icon{
  display:grid;
  place-items:center;
  flex:0 0 26px;
  width:26px;
  height:26px;
  border-radius:6px;
}
.footer-modern-social-icon img{display:block;width:16px;height:16px;object-fit:contain}
.footer-modern-social--telegram .footer-modern-social-icon{background:#229ed9}
.footer-modern-social--whatsapp .footer-modern-social-icon{background:#25d366}
.footer-modern-social--viber .footer-modern-social-icon{background:#7360f2}
.footer-modern-social--instagram .footer-modern-social-icon{background:linear-gradient(135deg,#feda75,#fa7e1e 24%,#d62976 53%,#962fbf 80%,#4f5bd5)}
.footer-modern-social-name{
  min-width:0;
  color:#f0e7da;
  font:600 13px/1.35 var(--sans);
  white-space:nowrap;
}
.footer-modern-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:9px 20px;
  min-width:0;
  padding:12px 0 14px;
  color:#a9907b;
  font:500 12px/1.5 var(--sans);
  letter-spacing:.035em;
}
.footer-modern-bottom > *{min-width:0;overflow-wrap:break-word}
.footer-modern-bottom .footer-modern-credit{
  color:#bfa68a;
  font:400 12px/1.5 var(--sans);
  transition:color .25s ease;
}
.footer-modern-credit strong{color:#e4cbab;font-weight:600}
.footer-modern-bottom .footer-modern-credit:hover,
.footer-modern-bottom .footer-modern-credit:focus-visible{color:#fff0d7}
.footer-modern-bottom .footer-modern-to-top{
  color:#d9b88c;
  font:600 12px/1.5 var(--sans);
  letter-spacing:.07em;
  white-space:nowrap;
  transition:color .25s ease;
}
.footer-modern-bottom .footer-modern-to-top:hover{color:#ffedd1}
@media(max-width:1200px){
  .footer-modern-top,.footer-modern-middle{gap:clamp(20px,3vw,40px)}
  .footer-modern-socials{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-modern-nav-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:800px){
  .footer-modern .footer-modern-inner{padding-top:24px}
  .footer-modern-top{grid-template-columns:minmax(0,1fr);gap:15px;padding-bottom:19px}
  .footer-modern-middle{grid-template-columns:minmax(0,1fr);gap:17px;padding:17px 0}
  .footer-modern-sitemap{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .footer-modern-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-modern-nav-secondary .footer-modern-nav-grid{grid-template-columns:1fr}
  .footer-modern-socials{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:600px){
  .footer-modern .footer-modern-inner{padding-top:22px}
  .footer-modern-logo-image{width:69px;height:49px}
  .footer-modern-logo-type strong{font-size:28px}
  .footer-modern-logo-type small{font-size:11px}
  .footer-modern-tagline{font-size:15px;margin-top:7px}
  .footer-modern-headline a{font-size:34px}
  .footer-modern-headline{margin:5px 0 10px}
  .footer-modern-phone-text strong{font-size:18px}
  .footer-modern-middle{gap:16px}
  .footer-modern-sitemap{gap:13px}
  .footer-modern-nav-grid{grid-template-columns:1fr;gap:5px}
  .footer-modern-socials{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .footer-modern-bottom{justify-content:flex-start;gap:8px 15px;padding:11px 0 14px}
  .footer-modern-bottom .footer-modern-to-top{margin-left:auto}
}
@media(max-width:375px){
  .footer-modern-logo{gap:8px}
  .footer-modern-logo-image{width:59px;height:45px}
  .footer-modern-logo-type strong{font-size:26px}
  .footer-modern-label{font-size:11px;letter-spacing:.06em}
  .footer-modern-phone-text strong{font-size:17px}
  .footer-modern-sitemap{gap:10px}
  .footer-modern-nav-grid a{font-size:13px}
  .footer-modern-social{gap:6px}
  .footer-modern-social-name{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .footer-modern *, .footer-modern *::before,.footer-modern *::after{animation:none!important;transition:none!important}
  .footer-modern a:hover img,.footer-modern-social:hover{transform:none!important}
}


/* Footer fine print — group cookie links with studio credit, not main navigation.
   Scoped selectors supersede the standard mobile footer styles. */
.footer.footer-modern .footer-modern-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,1fr);
  align-items:center;
  justify-content:stretch;
  column-gap:clamp(14px,2vw,30px);
  row-gap:9px;
}
.footer.footer-modern .footer-modern-bottom > * {
  min-width:0;
}
.footer.footer-modern .footer-modern-fineprint {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:5px clamp(12px,1.6vw,23px);
  min-width:0;
}
.footer.footer-modern .footer-modern-fineprint .footer-modern-credit {
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:3px;
  white-space:normal;
  max-width:100%;
}
.footer.footer-modern .footer-modern-legal {
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 13px;
  min-width:0;
}
.footer.footer-modern .footer-modern-legal a,
.footer.footer-modern .footer-modern-legal .footer-modern-cookie-control {
  display:inline-block;
  margin:0;
  padding:0;
  width:auto;
  max-width:100%;
  border:0;
  background:transparent;
  color:#ac9886;
  text-decoration:none;
  text-underline-offset:3px;
  text-align:left;
  font:400 11px/1.5 var(--sans,Manrope,Arial,sans-serif);
  letter-spacing:0;
  white-space:normal;
  cursor:pointer;
  transition:color .2s ease;
}
.footer.footer-modern .footer-modern-legal a:hover,
.footer.footer-modern .footer-modern-legal .footer-modern-cookie-control:hover,
.footer.footer-modern .footer-modern-legal a:focus-visible,
.footer.footer-modern .footer-modern-legal .footer-modern-cookie-control:focus-visible {
  color:#e4cbab;
  text-decoration:underline;
}
.footer.footer-modern .footer-modern-legal .footer-modern-cookie-control:focus-visible {
  outline:2px solid #dec39c;
  outline-offset:3px;
  border-radius:2px;
}
.footer.footer-modern .footer-modern-bottom .footer-modern-to-top {
  margin-left:0;
  justify-self:end;
}
@media (max-width:1050px) {
  .footer.footer-modern .footer-modern-bottom {
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px 15px;
  }
  .footer.footer-modern .footer-modern-fineprint {
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-start;
  }
  .footer.footer-modern .footer-modern-bottom .footer-modern-to-top {
    grid-column:2;
    grid-row:1;
    align-self:start;
  }
}
@media (max-width:430px) {
  .footer.footer-modern .footer-modern-fineprint {
    align-items:flex-start;
    justify-content:flex-start;
    gap:5px 13px;
  }
  .footer.footer-modern .footer-modern-legal {
    gap:5px 13px;
  }
  .footer.footer-modern .footer-modern-legal a,
  .footer.footer-modern .footer-modern-legal .footer-modern-cookie-control {
    font-size:11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .footer.footer-modern .footer-modern-legal a,
  .footer.footer-modern .footer-modern-legal .footer-modern-cookie-control {
    transition:none;
  }
}
