/* Footer premium: reguli extrase din sistemul existent Contact. */
.footer .footer-explore a,
.footer .footer-about a{line-height:1.45;transition:color .2s ease, transform .2s ease}
.footer .footer-explore a:hover,
.footer .footer-about a:hover{color:#9c2038;transform:translateX(2px)}
.footer .footer-explore a:focus-visible,
.footer .footer-about a:focus-visible,
.footer .footer-mib:focus-visible{outline:2px solid #a62940;outline-offset:4px}
.footer .footer-mib{
  position:relative;
  isolation:isolate;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:13px;
  min-height:90px;
  width:100%;
  margin:21px 0 0!important;
  padding:12px 16px 12px 17px;
  color:#64192b;
  text-decoration:none;
  background:linear-gradient(125deg,rgba(255,248,244,.84),rgba(255,240,233,.62) 67%,rgba(246,213,204,.6));
  border:0;
  border-radius:0;
  clip-path:polygon(10px 0,calc(100% - 18px) 0,calc(100% - 10px) 8px,100% 8px,100% calc(100% - 13px),calc(100% - 13px) 100%,10px 100%,0 calc(100% - 10px),0 10px);
  transition:background .25s ease;
}
.footer .footer-mib::before{
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:1;
  inset:0;
  background:
    linear-gradient(90deg,#901e36 0 42px,transparent 42px 51px,#d58c85 51px 84px,transparent 84px) left top/100% 1.5px no-repeat,
    linear-gradient(90deg,#bb6874 0 33px,transparent 33px 41px,#cf8c88 41px 89px,transparent 89px) left bottom/100% 1.5px no-repeat,
    linear-gradient(#a63d50,#a63d50) right 2px top 12px/1.5px 25px no-repeat;
  opacity:.9;
}
.footer .footer-mib::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:3px;
  border:1px solid rgba(133,40,59,.18);
  pointer-events:none;
  clip-path:polygon(9px 0,calc(100% - 15px) 0,100% 13px,100% calc(100% - 12px),calc(100% - 12px) 100%,9px 100%,0 calc(100% - 9px),0 9px);
}
.footer .footer-mib-copy{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:6px;position:relative;z-index:2}
.footer .footer-mib-overline{display:block;color:#a14456;letter-spacing:.145em;font:800 9px/1.25 "Plus Jakarta Sans",system-ui,sans-serif}
.footer .footer-mib-copy strong{display:block;color:#5b1729;letter-spacing:-.025em;font:750 clamp(11px,.98vw,13px)/1.25 "Plus Jakarta Sans",system-ui,sans-serif}
.footer .footer-mib-logo{
  flex:0 0 103px;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  z-index:2;
}
.footer .footer-mib-logo img{
  display:block;
  width:100%;
  height:auto;
  
  filter:brightness(0) saturate(100%) invert(14%) sepia(36%) saturate(1875%) hue-rotate(303deg) brightness(90%) contrast(99%);
  opacity:.9;
  transition:opacity .24s ease;
}
.footer .footer-mib:hover{background:linear-gradient(125deg,rgba(255,249,246,.98),rgba(255,237,231,.83) 67%,rgba(243,203,193,.71))}
.footer .footer-mib:hover .footer-mib-logo img{opacity:1}
@media (min-width:1280px){
.footer-grid > .footer-contact-layout > .footer-contact-location-col,
  .footer-grid .footer-contact-location-col{width:400px!important;min-width:0!important}
}
@media (min-width:981px) and (max-width:1279px){
.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,.83fr) minmax(0,.47fr) minmax(0,2.2fr)!important;column-gap:12px!important}
.footer-grid>.footer-contact-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)!important;gap:13px!important}
.footer .footer-mib{gap:8px;padding-inline:12px}
.footer .footer-mib-logo{flex-basis:76px}
.footer .footer-mib-copy strong{font-size:11px}
.footer-contact-layout .footer-office,.footer-contact-layout .footer-hours{white-space:normal!important;flex-wrap:wrap;row-gap:1px!important}
.footer-contact-layout .footer-hours span{margin-left:0!important}
}
@media (max-width:980px){
.footer .footer-mib{max-width:415px;margin-top:18px!important}
.footer .footer-mib-logo{flex-basis:104px}
.footer .footer-mib-copy strong{font-size:13px}
}
@media (max-width:640px){
.footer .footer-mib{min-height:88px;max-width:100%;gap:10px;padding:11px 14px}
.footer .footer-mib-logo{flex-basis:100px}
.footer .footer-mib-copy strong{font-size:12px}
}
@media (prefers-reduced-motion:reduce){
.footer .footer-mib,.footer .footer-mib-logo img,.footer .footer-explore a,.footer .footer-about a{transition:none!important}
}
@media (min-width:641px) and (max-width:980px){
.footer .footer-grid{
    grid-template-columns:minmax(250px,1.35fr) minmax(190px,1fr) minmax(108px,.67fr)!important;
    column-gap:22px!important;
    row-gap:18px!important;
    align-items:start!important;
  }
.footer .footer-brand-column{grid-column:1;grid-row:1;transform:translateY(-16px)}
.footer .footer-explore{grid-column:2;grid-row:1}
.footer .footer-about{grid-column:3;grid-row:1}
.footer .footer-contact-layout{grid-column:1/-1!important;grid-row:2;display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:22px!important}
.footer .footer-contact-location-col{padding-left:0!important;border-left:0!important}
}
@media (max-width:640px){
.footer .footer-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
    column-gap:18px!important;
    row-gap:18px!important;
  }
.footer .footer-brand-column{grid-column:1/-1;transform:none!important}
.footer .footer-brand-column .footer-logo{margin:0 0 7px!important}
.footer .footer-brand-column .footer-tagline{margin:0!important}
.footer .footer-explore{grid-column:1;grid-row:2}
.footer .footer-about{grid-column:2;grid-row:2}
.footer .footer-contact-layout{grid-column:1/-1!important;grid-row:3;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.footer .footer-contact-location-col{padding-left:0!important;border-left:0!important;border-top:1px solid var(--line);padding-top:10px}
.footer .footer-bottom{display:flex!important;flex-direction:column;gap:5px!important;line-height:1.5;margin-top:20px!important}
}
@media (min-width:641px) and (max-width:1279px){
.footer .footer-bottom{margin-top:18px!important}
}
.footer .footer-hours{min-width:0;max-width:100%;}
.footer .footer-hours span{display:block!important;margin:5px 0 0!important;max-width:100%!important;min-width:0!important;font-size:10px!important;line-height:1.48!important;font-weight:500;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;hyphens:auto;}
.footer .footer-about a[href="confidentialitate.html"]{font-weight:600;}
@media (min-width:981px){
.footer .footer-contact-location-col{min-width:0!important}
.footer .footer-hours{width:100%;}
}
@media (max-width:640px){
.footer .footer-hours span{font-size:10.5px!important;line-height:1.5!important;}
}
@media (min-width:981px){
.footer .footer-contact-location-col .footer-hours{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    column-gap:9px!important;
    row-gap:2px!important;
    align-items:baseline!important;
    white-space:normal!important;
  }
.footer .footer-contact-location-col .footer-hours small{grid-column:1;grid-row:1;}
.footer .footer-contact-location-col .footer-hours b{grid-column:2;grid-row:1;margin:0!important;min-width:0;}
.footer .footer-contact-location-col .footer-hours span{
    grid-column:1/-1;grid-row:2;
    flex:none!important;width:100%!important;max-width:100%!important;
    margin:4px 0 0!important;white-space:normal!important;
  }
}
@media (max-width: 980px){
.footer .footer-bottom { margin-top: 7px !important; }
}
@media (min-width: 981px) and (max-width: 1279px){
.footer .footer-bottom { margin-top: clamp(-4px, calc(202px - 16.6vw), 7px) !important; }
}
@media (min-width: 1280px){
.footer .footer-bottom { margin-top: -11px !important; }
}

/* V303 — global footer layout: identical breakpoints on all pages.
   The former body:not(.home-page) overrides in core/styles.css are intentionally
   neutralized ONLY within the footer; no hero or page layout changes. */
@media (max-width:640px){
  body:not(.home-page) .footer .footer-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
    column-gap:18px!important;row-gap:18px!important;
  }
  body:not(.home-page) .footer .footer-grid > .footer-contact-layout{
    grid-column:1/-1!important;grid-row:3!important;
    grid-template-columns:1fr!important;gap:10px!important;
    width:100%!important;min-width:0!important;
  }
}
@media (min-width:641px) and (max-width:980px){
  body:not(.home-page) .footer .footer-grid{
    display:grid!important;
    grid-template-columns:minmax(250px,1.35fr) minmax(190px,1fr) minmax(108px,.67fr)!important;
    column-gap:22px!important;row-gap:18px!important;
  }
  body:not(.home-page) .footer .footer-grid > .footer-contact-layout{
    grid-column:1/-1!important;grid-row:2!important;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;
    gap:22px!important;width:100%!important;min-width:0!important;
  }
}
@media (min-width:981px) and (max-width:1279px){
  body:not(.home-page) .footer .footer-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,.83fr) minmax(0,.47fr) minmax(0,2.2fr)!important;
    column-gap:12px!important;row-gap:12px!important;
  }
  body:not(.home-page) .footer .footer-grid > .footer-contact-layout{
    grid-column:4 / 5!important;grid-row:1!important;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)!important;
    gap:13px!important;width:100%!important;min-width:0!important;
  }
}

/* V314: preserve footer geometry without linking to unpublished legal content. */
.footer .footer-about .cda-policy-pending{display:block;font-size:12px;margin:6px 0;line-height:1.45;color:inherit;cursor:default}
