/* =========================================================
   IBA Pro v6.1 — Custom Header / Footer Compatibility Layer
   Matches the v6 experience system while preserving user layouts.
   Loaded only when an active custom Header or Footer Layout exists.
   ========================================================= */

/* ---------------------------------------------------------
   Custom layout shell / landmark safety
--------------------------------------------------------- */
.iba-v6 .iba-custom-layout{width:100%}
.iba-v6 .iba-custom-layout--header{position:sticky;top:0;z-index:1800;background:transparent}
body.admin-bar.iba-v6 .iba-custom-layout--header{top:32px}
.iba-v6 .iba-custom-layout--header>.iba-site-header,
.iba-v6 .iba-custom-layout--header .iba-site-header.is-sticky{position:relative;top:auto;z-index:1;width:100%}
.iba-v6 .iba-custom-layout--footer{position:relative;z-index:20;background:var(--iba-v6-navy)}

/* Homepage overlay behaviour is owned by the custom-layout wrapper so the
   nested custom header is not trapped by a short sticky containing block. */
.iba-v6-home .iba-custom-layout--header{position:fixed;left:0;right:0;top:0}
body.admin-bar.iba-v6-home .iba-custom-layout--header{top:32px}
.iba-v6-home .iba-custom-layout--header>.iba-site-header,
.iba-v6-home .iba-custom-layout--header .iba-site-header{position:relative;left:auto;right:auto;top:auto}

/* ---------------------------------------------------------
   Custom Header — v6.1 shell polish
--------------------------------------------------------- */
.iba-v6 .iba-custom-layout--header .iba-site-header{background:#fff;color:var(--iba-v6-ink);box-shadow:none}
.iba-v6 .iba-custom-layout--header .iba-utility{
  background:linear-gradient(100deg,#123f6c 0%,var(--iba-v6-blue) 52%,#246ca8 100%);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:none;
}
.iba-v6 .iba-custom-layout--header .iba-utility__inner{min-height:36px;gap:22px}
.iba-v6 .iba-custom-layout--header .iba-utility__left,
.iba-v6 .iba-custom-layout--header .iba-utility__right{gap:clamp(11px,1.5vw,20px)}
.iba-v6 .iba-custom-layout--header .iba-utility-link,
.iba-v6 .iba-custom-layout--header .iba-utility-hours{font-size:.75rem;font-weight:670;letter-spacing:.005em;color:rgba(255,255,255,.86)}
.iba-v6 .iba-custom-layout--header .iba-utility-link:hover,
.iba-v6 .iba-custom-layout--header .iba-utility-link:focus-visible{color:#fff}
.iba-v6 .iba-custom-layout--header .iba-utility-link__icon{width:14px;height:14px;opacity:.92}
.iba-v6 .iba-custom-layout--header .iba-utility-link__icon svg{width:14px;height:14px}
.iba-v6 .iba-custom-layout--header .iba-socials{gap:4px;padding-left:14px;border-left:1px solid rgba(255,255,255,.17)}
.iba-v6 .iba-custom-layout--header .iba-socials__link{width:27px;height:27px;border-radius:8px;color:rgba(255,255,255,.88)}
.iba-v6 .iba-custom-layout--header .iba-socials__link:hover,
.iba-v6 .iba-custom-layout--header .iba-socials__link:focus-visible{background:rgba(255,255,255,.12);color:#fff;transform:translateY(-1px)}

.iba-v6 .iba-custom-layout--header .iba-header-main{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(16,34,51,.075);
  box-shadow:0 1px 0 rgba(7,24,39,.025);
  backdrop-filter:saturate(155%) blur(20px);
  -webkit-backdrop-filter:saturate(155%) blur(20px);
}
.iba-v6 .iba-custom-layout--header.is-scrolled .iba-header-main,
.iba-v6 .iba-custom-layout--header .iba-site-header.is-scrolled .iba-header-main{
  background:rgba(255,255,255,.975);
  box-shadow:0 18px 55px rgba(7,24,39,.09);
}
.iba-v6 .iba-custom-layout--header .iba-header-main__inner{
  min-height:84px;
  grid-template-columns:minmax(180px,230px) minmax(0,1fr) auto;
  gap:clamp(16px,2.3vw,34px);
}
.iba-v6 .iba-custom-layout--header.is-scrolled .iba-header-main__inner,
.iba-v6 .iba-custom-layout--header .iba-site-header.is-scrolled .iba-header-main__inner{min-height:70px}
.iba-v6 .iba-custom-layout--header .iba-brand>a{display:inline-flex;align-items:center;max-width:100%;text-decoration:none}
.iba-v6 .iba-custom-layout--header .iba-brand .custom-logo{
  display:block;width:auto;max-width:min(220px,100%);max-height:58px;object-fit:contain;
  filter:drop-shadow(0 5px 14px rgba(7,24,39,.07));
  transition:max-height .28s var(--iba-v6-ease),transform .28s var(--iba-v6-ease);
}
.iba-v6 .iba-custom-layout--header.is-scrolled .iba-brand .custom-logo,
.iba-v6 .iba-custom-layout--header .iba-site-header.is-scrolled .iba-brand .custom-logo{max-height:49px}

/* Top-level navigation. Pseudo-element contract:
   ::before = active underline, ::after = dropdown chevron. */
.iba-v6 .iba-custom-layout--header .iba-primary-nav{justify-self:center;min-width:0}
.iba-v6 .iba-custom-layout--header .iba-menu{gap:clamp(2px,.55vw,8px)}
.iba-v6 .iba-custom-layout--header .iba-menu>li{position:relative}
.iba-v6 .iba-custom-layout--header .iba-menu>li>a{
  display:flex;align-items:center;gap:.48rem;min-height:84px;padding:0 clamp(8px,.82vw,13px);
  color:var(--iba-v6-ink);font-size:.855rem;font-weight:735;letter-spacing:-.012em;text-decoration:none;white-space:nowrap;
}
.iba-v6 .iba-custom-layout--header.is-scrolled .iba-menu>li>a,
.iba-v6 .iba-custom-layout--header .iba-site-header.is-scrolled .iba-menu>li>a{min-height:70px}
.iba-v6 .iba-custom-layout--header .iba-menu>li>a::before{
  content:"";position:absolute;left:clamp(8px,.82vw,13px);right:clamp(8px,.82vw,13px);bottom:14px;top:auto;
  width:auto;height:2px;margin:0;border:0;border-radius:999px;background:linear-gradient(90deg,var(--iba-v6-orange),#f3a35e);
  box-shadow:none;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--iba-v6-ease);
}
.iba-v6 .iba-custom-layout--header .iba-menu>li:hover>a::before,
.iba-v6 .iba-custom-layout--header .iba-menu>li:focus-within>a::before,
.iba-v6 .iba-custom-layout--header .iba-menu>li.current-menu-item>a::before,
.iba-v6 .iba-custom-layout--header .iba-menu>li.current-menu-ancestor>a::before{transform:scaleX(1)}
.iba-v6 .iba-custom-layout--header .iba-menu>li:not(.menu-item-has-children)>a::after{content:none}
.iba-v6 .iba-custom-layout--header .iba-menu .menu-item-has-children>a::after{
  content:"";position:relative;inset:auto;display:block;flex:0 0 auto;width:7px;height:7px;margin:0 0 3px 1px;
  border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;border-radius:0;background:none;box-shadow:none;
  transform:rotate(45deg);transform-origin:center;transition:transform .24s ease;
}
.iba-v6 .iba-custom-layout--header .iba-menu>li.menu-item-has-children:hover>a::after,
.iba-v6 .iba-custom-layout--header .iba-menu>li.menu-item-has-children:focus-within>a::after,
.iba-v6 .iba-custom-layout--header .iba-menu>li.menu-item-has-children.is-v6-open>a::after{transform:translateY(2px) rotate(225deg)}
.iba-v6 .iba-custom-layout--header .iba-menu>li>a:hover,
.iba-v6 .iba-custom-layout--header .iba-menu>li>a:focus-visible,
.iba-v6 .iba-custom-layout--header .iba-menu>li.current-menu-item>a,
.iba-v6 .iba-custom-layout--header .iba-menu>li.current-menu-ancestor>a{color:var(--iba-v6-orange)}

/* Desktop dropdown cards */
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu{
  top:calc(100% - 7px);left:50%;right:auto;min-width:290px;max-width:min(360px,calc(100vw - 32px));
  margin:0;padding:9px;overflow:visible;border:1px solid rgba(16,34,51,.09);border-radius:18px;
  background:rgba(255,255,255,.985);box-shadow:0 28px 80px rgba(7,24,39,.14);
  backdrop-filter:saturate(145%) blur(20px);-webkit-backdrop-filter:saturate(145%) blur(20px);
  opacity:0;visibility:hidden;transform:translate(-50%,10px) scale(.985);transform-origin:top center;
  transition:opacity .18s ease,visibility .18s ease,transform .26s var(--iba-v6-ease);
}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu::before{
  content:"";position:absolute;top:-1px;left:20px;right:20px;height:2px;border-radius:999px;
  background:linear-gradient(90deg,var(--iba-v6-orange),var(--iba-v6-green),var(--iba-v6-blue));opacity:.72;
}
.iba-v6 .iba-custom-layout--header .iba-menu li:hover>.sub-menu,
.iba-v6 .iba-custom-layout--header .iba-menu li:focus-within>.sub-menu,
.iba-v6 .iba-custom-layout--header .iba-menu li.is-v6-open>.sub-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu li{margin:0;border:0}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu li+li{margin-top:2px}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu a{
  display:flex;align-items:center;gap:10px;min-height:43px;padding:10px 12px;border-radius:11px;
  color:var(--iba-v6-copy);font-size:.875rem;font-weight:650;line-height:1.35;text-decoration:none;white-space:normal;
  transition:background-color .2s ease,color .2s ease,transform .2s var(--iba-v6-ease);
}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu a:hover,
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu a:focus-visible,
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu .current-menu-item>a{
  background:linear-gradient(90deg,rgba(237,130,35,.10),rgba(29,92,155,.05));
  color:var(--iba-v6-orange);transform:translateX(3px);
}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu .menu-item-has-children>a::after{margin-left:auto;margin-bottom:0;transform:rotate(-45deg)}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu .menu-item-has-children:hover>a::after,
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu .menu-item-has-children:focus-within>a::after{transform:translateX(2px) rotate(-45deg)}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu .sub-menu{top:-9px;left:calc(100% + 9px);transform:translate(8px,0)}
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu li:hover>.sub-menu,
.iba-v6 .iba-custom-layout--header .iba-menu .sub-menu li:focus-within>.sub-menu{transform:translate(0,0)}

.iba-v6 .iba-custom-layout--header .iba-header-actions{gap:10px}
.iba-v6 .iba-custom-layout--header .iba-header-actions .iba-btn{
  min-height:46px;padding:.83rem 1.12rem;border-radius:999px;font-size:.84rem;font-weight:780;
  box-shadow:0 10px 28px rgba(237,130,35,.22);
}
.iba-v6 .iba-custom-layout--header .iba-menu-toggle{width:46px;height:46px;border-radius:14px;border-color:var(--iba-v6-line);box-shadow:0 8px 24px rgba(7,24,39,.06)}

/* Homepage transparent custom header follows the v6 hero language. */
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-site-header{background:transparent;color:#fff;box-shadow:none}
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-header-main{
  background:rgba(5,19,31,.16);border-bottom-color:rgba(255,255,255,.12);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-menu>li>a{color:#fff}
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-menu>li>a:hover,
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-menu>li.current-menu-item>a,
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-menu>li.current-menu-ancestor>a{color:#ffb46c}
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-menu-toggle{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.08);color:#fff}
.iba-v6-home .iba-custom-layout--header:not(.is-scrolled) .iba-utility{background:rgba(5,19,31,.62)}

/* ---------------------------------------------------------
   Mobile / tablet custom navigation
--------------------------------------------------------- */
.iba-v6 .iba-custom-layout--header .iba-mobile-panel{z-index:2500}
.iba-v6 .iba-custom-layout--header .iba-mobile-panel__backdrop{background:rgba(4,16,26,.58);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.iba-v6 .iba-custom-layout--header .iba-mobile-panel__inner{width:min(94vw,470px);background:linear-gradient(155deg,#fff 0%,#f4f8fb 100%)}
.iba-v6 .iba-custom-layout--header .iba-mobile-panel__top{min-height:80px;padding:16px 21px}
.iba-v6 .iba-custom-layout--header .iba-mobile-panel__nav-wrap{padding:14px 21px 26px}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu>li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid var(--iba-v6-line)}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu>li>a{
  grid-column:1;min-height:58px;padding:14px 4px;color:var(--iba-v6-ink);font-family:var(--iba-v6-display);
  font-size:clamp(1.18rem,4.7vw,1.62rem);font-weight:760;letter-spacing:-.035em;line-height:1.1;text-decoration:none;
}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu>li:not(.has-iba-submenu)>a{grid-column:1/-1}
.iba-v6 .iba-custom-layout--header .iba-mobile-submenu-toggle{
  grid-column:2;grid-row:1;align-self:center;display:grid;place-items:center;width:38px;height:38px;margin-left:8px;
  border:1px solid var(--iba-v6-line);border-radius:12px;background:#fff;color:var(--iba-v6-ink);box-shadow:0 6px 18px rgba(7,24,39,.04);
}
.iba-v6 .iba-custom-layout--header .iba-mobile-submenu-toggle::before{
  content:"";width:8px;height:8px;margin-top:-4px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;
  transform:rotate(45deg);transition:transform .24s ease;
}
.iba-v6 .iba-custom-layout--header .has-iba-submenu.is-submenu-open>.iba-mobile-submenu-toggle{color:var(--iba-v6-orange);border-color:rgba(237,130,35,.28);background:rgba(237,130,35,.06)}
.iba-v6 .iba-custom-layout--header .has-iba-submenu.is-submenu-open>.iba-mobile-submenu-toggle::before{margin-top:4px;transform:rotate(225deg)}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu>li>.sub-menu{
  grid-column:1/-1;margin:0;padding:0 0 12px 14px;border-left:1px solid rgba(29,92,155,.13);list-style:none;
}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu>li>.sub-menu[hidden]{display:none!important}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu .sub-menu li{display:block;border:0}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu .sub-menu a{display:block;padding:8px 2px;color:var(--iba-v6-muted);font-size:.91rem;font-weight:650;line-height:1.4;text-decoration:none}
.iba-v6 .iba-custom-layout--header .iba-mobile-menu .sub-menu a:hover,
.iba-v6 .iba-custom-layout--header .iba-mobile-menu .sub-menu a:focus-visible{color:var(--iba-v6-orange)}
.iba-v6 .iba-custom-layout--header .iba-mobile-panel__footer{gap:16px;padding:20px 21px 24px;background:rgba(241,245,247,.88)}
.iba-v6 .iba-custom-layout--header .iba-mobile-contact{grid-template-columns:1fr;gap:8px}
.iba-v6 .iba-custom-layout--header .iba-mobile-contact>a{padding:4px 0;color:var(--iba-v6-copy);font-size:.86rem}

/* ---------------------------------------------------------
   Custom Footer CTA — reasserted after global v6 typography
--------------------------------------------------------- */
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern{
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(118deg,#cc6415 0%,var(--iba-v6-orange) 42%,#f4a15a 100%);color:#fff;
}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background:radial-gradient(circle at 10% 5%,rgba(255,255,255,.23),transparent 28%),radial-gradient(circle at 86% 86%,rgba(29,92,155,.34),transparent 35%);
}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern::after{
  content:"";position:absolute;inset:0;z-index:-1;opacity:.08;
  background-image:linear-gradient(135deg,rgba(255,255,255,.86) 1px,transparent 1px);background-size:28px 28px;
}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__inner{
  min-height:300px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,auto);align-items:center;
  gap:clamp(34px,6vw,88px);padding-block:clamp(58px,7vw,92px);
}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__content{max-width:830px}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__eyebrow{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:19px;padding:8px 13px;border:1px solid rgba(255,255,255,.28);
  border-radius:999px;background:rgba(255,255,255,.10);color:#fff;font-size:.71rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;
}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern h2{
  max-width:780px;margin:0 0 20px;color:#fff;font-family:var(--iba-v6-display);font-size:clamp(2.55rem,4.7vw,4.8rem);
  font-weight:770;line-height:.96;letter-spacing:-.058em;
}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern h2 span{color:rgba(255,255,255,.66)}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern p{max-width:670px;margin:0;color:rgba(255,255,255,.82);font-size:clamp(1rem,1.2vw,1.14rem);line-height:1.72}
.iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__actions{display:grid;gap:11px;min-width:min(100%,235px)}
.iba-v6 .iba-custom-layout--footer .iba-footer-btn{min-height:54px;padding:14px 21px;border-radius:999px;font-size:.87rem;font-weight:800}
.iba-v6 .iba-custom-layout--footer .iba-footer-btn--light{background:#fff;color:#c95f0f;box-shadow:0 16px 38px rgba(98,40,0,.18)}
.iba-v6 .iba-custom-layout--footer .iba-footer-btn--light:hover{color:#b8560d;transform:translateY(-3px);box-shadow:0 22px 52px rgba(98,40,0,.25)}
.iba-v6 .iba-custom-layout--footer .iba-footer-btn--ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.31);color:#fff}
.iba-v6 .iba-custom-layout--footer .iba-footer-btn--ghost:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.52);color:#fff;transform:translateY(-3px)}

/* ---------------------------------------------------------
   Custom Footer — v6.1 dark editorial shell
--------------------------------------------------------- */
.iba-v6 .iba-custom-layout--footer .iba-site-footer--modern{
  position:relative;isolation:isolate;overflow:hidden;background:#061521;color:#a9b8c4;
}
.iba-v6 .iba-custom-layout--footer .iba-footer-bg__grid{opacity:.08;background-size:72px 72px}
.iba-v6 .iba-custom-layout--footer .iba-footer-orb{opacity:.13;filter:blur(100px)}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-grid{
  grid-template-columns:minmax(300px,1.35fr) minmax(150px,.72fr) minmax(190px,.92fr) minmax(235px,1fr);
  gap:clamp(34px,4.4vw,68px);padding-block:clamp(76px,8vw,118px);
}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-logo{margin-bottom:22px}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-logo img{max-width:220px;max-height:62px}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-tag{
  margin-bottom:19px;padding:7px 11px;border-color:rgba(255,255,255,.11);background:rgba(255,255,255,.045);
  color:#91b2ca;font-size:.68rem;font-weight:840;letter-spacing:.13em;
}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-brand h3{
  max-width:360px;margin:0 0 14px;color:#fff;font-family:var(--iba-v6-display);font-size:clamp(1.55rem,1.9vw,1.95rem);
  font-weight:750;line-height:1.08;letter-spacing:-.04em;
}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-brand p{max-width:420px;margin:0;color:#92a5b4;font-size:.94rem;line-height:1.78}
.iba-v6 .iba-custom-layout--footer .iba-modern-socials{gap:8px;margin-top:26px}
.iba-v6 .iba-custom-layout--footer .iba-modern-socials a{
  width:42px;height:42px;border-color:rgba(255,255,255,.11);border-radius:13px;background:rgba(255,255,255,.045);color:#d5e0e7;
}
.iba-v6 .iba-custom-layout--footer .iba-modern-socials a:hover,
.iba-v6 .iba-custom-layout--footer .iba-modern-socials a:focus-visible{border-color:var(--iba-v6-orange);color:#fff;transform:translateY(-4px)}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-number{margin-bottom:14px;color:var(--iba-v6-orange);font-size:.69rem;font-weight:900;letter-spacing:.15em}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-column h3{
  margin:0 0 21px;color:#fff;font-family:var(--iba-v6-display);font-size:1rem;font-weight:760;line-height:1.2;letter-spacing:-.02em;
}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-column li+li{border-top-color:rgba(255,255,255,.055)}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-column li a{
  min-height:42px;padding:10px 0;color:#98abb9;font-size:.88rem;font-weight:590;line-height:1.35;
}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-column li a:hover,
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-column li a:focus-visible{padding-left:5px;color:#fff}
.iba-v6 .iba-custom-layout--footer .iba-footer-arrow{color:var(--iba-v6-orange)}
.iba-v6 .iba-custom-layout--footer .iba-footer-contact-card{
  grid-template-columns:38px minmax(0,1fr);gap:12px;padding:12px;margin-bottom:9px;border-color:rgba(255,255,255,.075);
  border-radius:14px;background:rgba(255,255,255,.035);color:#a5b6c2;font-size:.86rem;line-height:1.58;
}
.iba-v6 .iba-custom-layout--footer .iba-footer-contact-card:hover,
.iba-v6 .iba-custom-layout--footer .iba-footer-contact-card:focus-visible{
  color:#fff;transform:translateX(4px);background:rgba(255,255,255,.065);border-color:rgba(237,130,35,.38);
}
.iba-v6 .iba-custom-layout--footer .iba-footer-contact-icon{width:38px;height:38px;border-radius:11px;background:rgba(237,130,35,.105);color:var(--iba-v6-orange)}
.iba-v6 .iba-custom-layout--footer .iba-footer-contact-icon svg{width:18px;height:18px}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-bottom{
  min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:26px;border-top:1px solid rgba(255,255,255,.08);
  color:#718797;font-size:.78rem;
}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-bottom a{color:#7f94a3}
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-bottom a:hover,
.iba-v6 .iba-custom-layout--footer .iba-modern-footer-bottom a:focus-visible{color:var(--iba-v6-orange)}

/* ---------------------------------------------------------
   Responsive shell
--------------------------------------------------------- */
@media (max-width:1120px){
  .iba-v6 .iba-custom-layout--header .iba-primary-nav{display:none}
  .iba-v6 .iba-custom-layout--header .iba-menu-toggle{display:inline-flex}
  .iba-v6 .iba-custom-layout--header .iba-header-main__inner{grid-template-columns:1fr auto}
  .iba-v6 .iba-custom-layout--header .iba-header-actions>.iba-btn{display:none}
  .iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__inner{grid-template-columns:1fr;gap:30px}
  .iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__actions{grid-template-columns:auto auto;justify-content:start}
  .iba-v6 .iba-custom-layout--footer .iba-modern-footer-grid{grid-template-columns:1.25fr 1fr 1fr}
  .iba-v6 .iba-custom-layout--footer .iba-modern-footer-brand{grid-column:1/-1;max-width:620px}
}
@media (max-width:782px){
  body.admin-bar.iba-v6 .iba-custom-layout--header{top:46px}
  body.admin-bar.iba-v6-home .iba-custom-layout--header{top:46px}
}
@media (max-width:700px){
  .iba-v6 .iba-custom-layout--header .iba-utility{display:none}
  .iba-v6 .iba-custom-layout--header .iba-header-main__inner,
  .iba-v6 .iba-custom-layout--header.is-scrolled .iba-header-main__inner{min-height:70px}
  .iba-v6 .iba-custom-layout--header .iba-brand .custom-logo{max-width:195px;max-height:47px}
  .iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__actions{grid-template-columns:1fr}
  .iba-v6 .iba-custom-layout--footer .iba-footer-btn{width:100%}
  .iba-v6 .iba-custom-layout--footer .iba-modern-footer-grid{grid-template-columns:1fr;gap:42px;padding-block:68px}
  .iba-v6 .iba-custom-layout--footer .iba-modern-footer-brand{grid-column:auto}
  .iba-v6 .iba-custom-layout--footer .iba-modern-footer-bottom{align-items:flex-start;flex-direction:column;gap:14px;padding-block:23px}
  .iba-v6 .iba-custom-layout--footer .iba-modern-footer-bottom ul{gap:12px 18px}
  .iba-v6 .iba-custom-layout--footer .iba-footer-contact-card:hover{transform:translateY(-2px)}
}

@media (prefers-reduced-motion:reduce){
  .iba-v6 .iba-custom-layout--header *,
  .iba-v6 .iba-custom-layout--footer *{scroll-behavior:auto!important}
  .iba-v6 .iba-custom-layout--header .iba-menu .sub-menu,
  .iba-v6 .iba-custom-layout--header .iba-menu .menu-item-has-children>a::after,
  .iba-v6 .iba-custom-layout--footer .iba-footer-orb,
  .iba-v6 .iba-custom-layout--footer .iba-footer-cta-modern__glow{transition-duration:.01ms!important;animation:none!important}
}
