/* TakeOne Header System NEXT — 12.2.0 Golden Stable */
.takeone-header-next{
  position:relative;z-index:80;min-height:var(--t1h-height);
  background:var(--agk-header-paint,var(--agk-header-bg,#fff));color:var(--agk-header-text,#162A63);
  border:0;font-family:var(--agk-header-font,var(--agk-font,inherit));
  transition:background .22s ease,box-shadow .22s ease,color .22s ease,border-color .22s ease,backdrop-filter .22s ease,transform .22s ease
}
.takeone-header-next.is-sticky{position:sticky;top:var(--agk-admin-bar-offset,0px);z-index:820}
.agk-touch-header.is-sticky{top:var(--agk-admin-bar-offset,0px)!important;z-index:820}
.takeone-header-next.has-shadow.is-scrolled{box-shadow:0 14px 44px rgba(13,27,50,.09)}
.takeone-header-next.is-scrolled{
  background:color-mix(in srgb,var(--agk-header-scroll-bg,#fff) 94%,transparent);
  color:var(--agk-header-scroll-text,#162A63);
  backdrop-filter:blur(var(--agk-shell-blur,18px))
}
.takeone-header-next .t1h-shell{min-height:inherit;display:flex;align-items:center}
.takeone-header-next .t1h-container{min-height:inherit;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(18px,3vw,48px);position:relative}
.takeone-header-next .agk-brand{min-width:0;gap:var(--agk-header-identity-gap,14px)}
.takeone-header-next .agk-logo-wrap{flex:0 0 auto}
.takeone-header-next .agk-logo-wrap img{width:auto;max-width:var(--t1h-logo);max-height:calc(var(--t1h-height) - 24px);object-fit:contain}
.takeone-header-next .agk-brand-copy{min-width:0;gap:var(--agk-header-text-line-gap,3px)}
.takeone-header-next .agk-brand-copy strong{font-size:var(--agk-header-name-size,24px);font-weight:var(--agk-header-name-weight,760);line-height:var(--agk-header-name-line-height,1.25);color:inherit}
.takeone-header-next .agk-brand-descriptor{margin-top:var(--agk-header-text-line-gap,3px);display:block;color:var(--agk-header-descriptor-color,#667085);font-size:var(--agk-header-descriptor-size,12px);font-weight:var(--agk-header-descriptor-weight,500);line-height:var(--agk-header-descriptor-line-height,1.45)}
.t1h-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.t1h-tools .agk-header-actions{display:flex;align-items:center;gap:8px}
.takeone-header-next .agk-search-trigger,.takeone-header-next .agk-dark-toggle,.takeone-header-next .agk-header-cta.style-icon{width:42px;height:42px;min-width:42px;min-height:42px;display:grid;place-items:center;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:12px;background:color-mix(in srgb,var(--agk-header-bg,#fff) 88%,transparent);color:inherit;transition:.18s ease}
.takeone-header-next .agk-search-trigger svg,.takeone-header-next .agk-dark-toggle svg,.takeone-header-next .agk-header-cta.style-icon svg{width:20px;height:20px;color:inherit}
html[data-agk-theme="light"] .takeone-header-next .agk-search-trigger{color:var(--agk-header-text,#162A63);background:color-mix(in srgb,var(--agk-header-bg,#fff) 94%,var(--agk-surface-alt,#f5f7fb));border-color:color-mix(in srgb,var(--agk-header-text,#162A63) 18%,transparent)}
.takeone-header-next .agk-search-trigger:hover,.takeone-header-next .agk-dark-toggle:hover,.takeone-header-next .agk-header-cta.style-icon:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--agk-primary,#29468c) 42%,transparent);background:color-mix(in srgb,var(--agk-header-bg,#fff) 78%,var(--agk-surface-alt,#f5f7fb));color:var(--agk-primary,#29468c)}
/* Header auxiliary block. It was previously scoped only to legacy header-v37. */
.takeone-header-next .agk-header-aux{width:min(100%,var(--agk-header-aux-width,320px));max-width:var(--agk-header-aux-width,320px);display:flex;align-items:center;gap:var(--agk-header-aux-gap,9px);padding:var(--agk-header-aux-py,9px) var(--agk-header-aux-px,12px);border-radius:var(--agk-header-aux-radius,12px);color:var(--agk-header-aux-color,#162A63);text-decoration:none;min-width:0;overflow:hidden}
.takeone-header-next .agk-header-aux.style-clean{background:transparent;border:1px solid transparent}
.takeone-header-next .agk-header-aux.style-chip,.takeone-header-next .agk-header-aux.style-panel{background:var(--agk-header-aux-bg,#F5F7FB);border:1px solid var(--agk-header-aux-border,#DCE3EC)}
.takeone-header-next .agk-header-aux-icon{width:calc(var(--agk-header-aux-icon-size,19px) + 12px);height:calc(var(--agk-header-aux-icon-size,19px) + 12px);min-width:calc(var(--agk-header-aux-icon-size,19px) + 12px);display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--agk-header-aux-color,#162A63) 8%,transparent);color:var(--agk-header-aux-color,#162A63);overflow:hidden}
.takeone-header-next .agk-header-aux-icon svg{display:block;width:var(--agk-header-aux-icon-size,19px);height:var(--agk-header-aux-icon-size,19px);max-width:100%;max-height:100%;flex:none}
.takeone-header-next .agk-header-aux-copy{display:grid;gap:2px;min-width:0;line-height:1.35}
.takeone-header-next .agk-header-aux-copy small{color:color-mix(in srgb,var(--agk-header-aux-color,#162A63) 68%,transparent);font-size:var(--agk-header-aux-label-size,10px);font-weight:var(--agk-header-aux-label-weight,650)}
.takeone-header-next .agk-header-aux-copy strong,.takeone-header-next .agk-header-aux-trigger{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--agk-header-aux-color,#162A63);font-size:var(--agk-header-aux-text-size,12px);font-weight:var(--agk-header-aux-text-weight,700);white-space:normal}
.takeone-header-next .agk-header-aux-trigger{padding:0;border:0;background:transparent;text-align:inherit;cursor:pointer}
.takeone-header-next .agk-header-aux.type-whatsapp>a{width:100%;display:flex;align-items:center;gap:var(--agk-header-aux-gap,9px);min-width:0;color:inherit;text-decoration:none}
.t1h-density-airy .t1h-container{padding-block:18px}.t1h-density-balanced .t1h-container{padding-block:10px}.t1h-density-compact .t1h-container{padding-block:5px}
.t1h-surface-soft{background:color-mix(in srgb,var(--agk-header-bg,#fff) 88%,var(--agk-surface-alt,#f5f7fb))}
.t1h-surface-glass{background:color-mix(in srgb,var(--agk-header-bg,#fff) 78%,transparent);backdrop-filter:blur(20px) saturate(145%)}
.t1h-surface-transparent:not(.is-scrolled){background:transparent}
/* Compositions */
.t1h-style-split .t1h-container{grid-template-columns:minmax(260px,1fr) minmax(180px,.6fr) auto}.t1h-split-meta{justify-self:center;min-width:0}
.t1h-style-centered .t1h-container{grid-template-columns:1fr minmax(260px,auto) 1fr}.t1h-style-centered .t1h-brand{justify-self:center;text-align:center}.t1h-style-centered .t1h-side-end{justify-self:end}.t1h-style-centered .t1h-side-start{justify-self:start}
.t1h-style-floating{background:transparent!important;padding-top:10px}.t1h-style-floating .t1h-shell{min-height:auto}.t1h-style-floating .t1h-container{display:block}.t1h-floating-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;padding:10px 14px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:var(--t1h-radius);background:color-mix(in srgb,var(--agk-header-bg,#fff) 88%,transparent);backdrop-filter:blur(22px) saturate(145%);box-shadow:0 16px 48px rgba(13,27,50,.07)}
.t1h-style-architectural .t1h-container{grid-template-columns:auto minmax(0,1fr) auto}.t1h-architecture-mark{padding-inline-end:20px;border-inline-end:1px solid color-mix(in srgb,currentColor 18%,transparent)}.t1h-architecture-mark img{max-width:var(--t1h-logo);max-height:calc(var(--t1h-height) - 24px);object-fit:contain}.t1h-architecture-copy{display:grid;gap:4px}.t1h-architecture-copy strong{font-size:var(--agk-header-name-size,24px);font-weight:var(--agk-header-name-weight,760);font-family:var(--agk-header-font,inherit)}.t1h-architecture-copy span{font-size:var(--agk-header-descriptor-size,12px);color:var(--agk-header-descriptor-color,#667085)}
.t1h-style-editorial .t1h-container{grid-template-columns:1fr minmax(280px,auto) 1fr}.t1h-style-editorial .t1h-brand{justify-self:center;text-align:center}.t1h-style-editorial .t1h-tools{justify-self:end}.t1h-style-editorial .t1h-editorial-meta{justify-self:start}.t1h-style-editorial .agk-brand-copy strong{font-family:var(--agk-heading-font,inherit);font-size:clamp(19px,var(--agk-header-name-size,24px),30px)}
.t1h-style-executive-dark{background:var(--agk-header-paint,var(--agk-header-bg));color:var(--agk-header-text)}.t1h-style-executive-dark .t1h-container{grid-template-columns:minmax(250px,1fr) auto auto}
.t1h-style-minimal .agk-brand-descriptor,.t1h-style-minimal .agk-header-aux{display:none!important}.t1h-style-minimal .t1h-container{min-height:64px}.t1h-style-minimal .agk-search-trigger,.t1h-style-minimal .agk-dark-toggle,.t1h-style-minimal .agk-header-cta.style-icon{border-color:transparent;background:transparent}
/* Hero overlay remains compatible, but Header NEXT owns its own visual state. */
body.agk-header-over-hero .takeone-header-next.is-hero-overlay:not(.is-scrolled){background:transparent;color:#fff;box-shadow:none;border-color:rgba(255,255,255,.18)}
body.agk-header-over-hero .takeone-header-next.is-hero-overlay.overlay-text-light:not(.is-scrolled) .agk-brand-descriptor{color:rgba(255,255,255,.78)}
body.agk-header-over-hero .takeone-header-next.is-hero-overlay.overlay-text-light:not(.is-scrolled) .agk-logo-default{display:none!important}
body.agk-header-over-hero .takeone-header-next.is-hero-overlay.overlay-text-light:not(.is-scrolled) .agk-logo-dark{display:block!important;position:static!important}
body.agk-header-over-hero .takeone-header-next.is-hero-overlay.overlay-text-light:not(.is-scrolled) .agk-header-aux{--agk-header-aux-color:#fff;--agk-header-aux-border:rgba(255,255,255,.24);--agk-header-aux-bg:rgba(255,255,255,.07)}
/* Dark mode */
html[data-agk-theme="dark"] .takeone-header-next:not(.t1h-style-executive-dark){background:var(--agk-dark-header-bg,#0f192b);color:var(--agk-dark-text,#f3f6fb);border-color:var(--agk-dark-line,#26344d)}
html[data-agk-theme="dark"] .takeone-header-next:not(.t1h-style-executive-dark).is-scrolled{background:color-mix(in srgb,var(--agk-dark-header-bg,#0f192b) 94%,transparent);color:var(--agk-dark-text,#f3f6fb)}
html[data-agk-theme="dark"] .takeone-header-next .agk-brand-descriptor{color:var(--agk-dark-muted,#a7b2c6)}
html[data-agk-theme="dark"] .takeone-header-next .agk-search-trigger,html[data-agk-theme="dark"] .takeone-header-next .agk-dark-toggle,html[data-agk-theme="dark"] .takeone-header-next .agk-header-cta.style-icon{background:color-mix(in srgb,var(--agk-dark-surface,#111b2e) 88%,transparent);border-color:var(--agk-dark-line,#26344d);color:var(--agk-dark-text,#f3f6fb)}
html[data-agk-theme="dark"] .takeone-header-next .agk-header-aux{--agk-header-aux-color:var(--agk-dark-text,#f3f6fb);--agk-header-aux-bg:var(--agk-dark-surface-alt,#162238);--agk-header-aux-border:var(--agk-dark-line,#26344d)}
@media(max-width:1180px){.takeone-header-next{display:none!important}.agk-touch-header{min-height:var(--t1h-height-t)}.agk-touch-header .agk-brand-logo{max-width:var(--t1h-logo-t)!important}}
@media(max-width:767px){.agk-touch-header{min-height:var(--t1h-height-m)}.agk-touch-header .agk-brand-logo{max-width:var(--t1h-logo-m)!important}}
@media(prefers-reduced-motion:reduce){.takeone-header-next,.takeone-header-next *{transition:none!important}}
/* Unified touch dark runtime */
html[data-agk-theme="dark"] .agk-touch-header{background:var(--agk-dark-header-bg,#0f192b)!important;color:var(--agk-dark-text,#f3f6fb)!important;border-color:var(--agk-dark-line,#26344d)!important}html[data-agk-theme="dark"] .agk-touch-header .agk-brand-descriptor{color:var(--agk-dark-muted,#a7b2c6)!important}html[data-agk-theme="dark"] .agk-touch-header button{color:var(--agk-dark-text,#f3f6fb)}html[data-agk-theme="dark"] .agk-mobile-nav-overlay{background:rgba(2,7,14,.68)}html[data-agk-theme="dark"] .agk-mobile-menu-panel{background:var(--agk-dark-mobile-menu-bg,var(--agk-dark-surface,#111b2e))!important;color:var(--agk-dark-text,#f3f6fb)!important;border-color:var(--agk-dark-line,#26344d)!important}html[data-agk-theme="dark"] .agk-mobile-menu a{color:var(--agk-dark-text,#f3f6fb)!important}html[data-agk-theme="dark"] .agk-mobile-nav-actions{border-color:var(--agk-dark-line,#26344d)}

/* ========================================================================
   v13.0.5 — Header System NEXT 2.0
   Single style selector + logo geometry + spacing authority.
   ======================================================================== */
.takeone-header-next .t1h-container{
  gap:var(--t1h-layout-gap,30px)!important;
  padding-inline:var(--t1h-pad-x,0)!important;
  padding-block:var(--t1h-pad-y,10px)!important;
}
.takeone-header-next .agk-brand{gap:var(--t1h-logo-gap,14px)!important}
.takeone-header-next .t1h-tools,
.takeone-header-next .t1h-tools .agk-header-actions{gap:var(--t1h-tools-gap,8px)!important}

/* Logo is a controlled component, not an uncontrolled image. */
.takeone-header-next .agk-logo-wrap{
  display:inline-grid!important;place-items:center;flex:0 0 auto!important;box-sizing:border-box;
  width:var(--t1h-logo)!important;max-width:100%!important;
  padding:var(--t1h-logo-py,0) var(--t1h-logo-px,0)!important;
  border:var(--t1h-logo-bw,1px) solid transparent;
  border-radius:var(--t1h-logo-r,10px);
  overflow:hidden;
}
.takeone-header-next .agk-logo-wrap .agk-brand-picture{display:grid;place-items:center;max-width:100%}
.takeone-header-next .agk-logo-wrap img,
.takeone-header-next .t1h-architecture-mark .agk-logo-wrap img{
  width:auto!important;height:auto!important;
  max-width:100%!important;max-height:var(--t1h-logo-h)!important;
  object-fit:var(--t1h-logo-fit,contain)!important;
}
.takeone-header-next.t1h-logo-align-start .agk-logo-wrap img{object-position:start center!important}
.takeone-header-next.t1h-logo-align-center .agk-logo-wrap img{object-position:center center!important}
.takeone-header-next.t1h-logo-align-end .agk-logo-wrap img{object-position:end center!important}
.takeone-header-next.t1h-logo-border-none .agk-logo-wrap{border-color:transparent!important;border-width:0!important}
.takeone-header-next.t1h-logo-border-subtle .agk-logo-wrap{border-color:color-mix(in srgb,var(--agk-header-text,currentColor) 16%,transparent)!important}
.takeone-header-next.t1h-logo-border-accent .agk-logo-wrap{border-color:color-mix(in srgb,var(--agk-primary,currentColor) 58%,transparent)!important}
.takeone-header-next.t1h-logo-surface-transparent .agk-logo-wrap{background:transparent}
.takeone-header-next.t1h-logo-surface-soft .agk-logo-wrap{background:color-mix(in srgb,var(--agk-header-text,currentColor) 6%,transparent)}
.takeone-header-next.t1h-logo-surface-surface .agk-logo-wrap{background:color-mix(in srgb,var(--agk-surface,#fff) 88%,transparent)}

/* 01 — Floating Glass (retained, refined). */
.t1h-style-floating-glass{background:transparent!important;padding-top:10px}
.t1h-style-floating-glass .t1h-shell{min-height:auto}
.t1h-style-floating-glass .t1h-container{display:block!important}
.t1h-style-floating-glass .t1h-floating-panel{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:var(--t1h-layout-gap,30px);padding:10px 14px;
  border:1px solid color-mix(in srgb,currentColor 16%,transparent);
  border-radius:var(--t1h-radius,16px);
  background:color-mix(in srgb,var(--agk-header-bg,#fff) 86%,transparent);
  backdrop-filter:blur(22px) saturate(150%);
  box-shadow:0 16px 48px rgba(13,27,50,.08)
}

/* 02 — Split Corporate (retained, cleaner hierarchy). */
.t1h-style-split-corporate .t1h-container{grid-template-columns:minmax(280px,1fr) minmax(220px,.72fr) auto}
.t1h-style-split-corporate .t1h-split-meta{justify-self:center;min-width:0}
.t1h-style-split-corporate .agk-brand-copy{padding-inline-start:clamp(8px,1vw,18px);border-inline-start:1px solid color-mix(in srgb,currentColor 14%,transparent)}

/* 03 — Brand Stage: broad identity block + compact utilities. */
.t1h-style-brand-stage .t1h-container{display:block!important}
.t1h-style-brand-stage .t1h-brand-stage-panel{
  min-height:calc(var(--t1h-height) - (var(--t1h-pad-y,10px) * 2));
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:var(--t1h-layout-gap,30px);position:relative
}
.t1h-style-brand-stage .t1h-brand-stage-panel:after{
  content:"";position:absolute;inset-inline:0;bottom:0;height:1px;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,currentColor 22%,transparent),transparent)
}
.t1h-style-brand-stage .t1h-brand .agk-brand-copy strong{font-size:clamp(22px,var(--agk-header-name-size,24px),31px);letter-spacing:-.018em}
.t1h-style-brand-stage .t1h-brand-stage-actions{display:flex;align-items:center;gap:var(--t1h-tools-gap,8px)}

/* 04 — Executive Frame: framed corporate header with three disciplined zones. */
.t1h-style-executive-frame{background:transparent!important}
.t1h-style-executive-frame .t1h-container{display:block!important}
.t1h-style-executive-frame .t1h-executive-frame{
  display:grid;grid-template-columns:minmax(270px,1fr) minmax(220px,.72fr) auto;
  align-items:center;gap:var(--t1h-layout-gap,30px);
  min-height:calc(var(--t1h-height) - (var(--t1h-pad-y,10px) * 2));
  padding:clamp(8px,1vw,12px) clamp(12px,1.4vw,20px);
  border:1px solid color-mix(in srgb,currentColor 15%,transparent);
  border-radius:var(--t1h-radius,16px);
  background:var(--agk-header-paint,var(--agk-header-bg,#fff));
  box-shadow:0 10px 30px rgba(18,34,61,.055)
}
.t1h-style-executive-frame .t1h-executive-frame-meta{justify-self:center;min-width:0}

/* 05 — Architectural Rail: logo as a precise rail marker, typography takes lead. */
.t1h-style-architectural-rail .t1h-container{grid-template-columns:auto minmax(0,1fr) auto}
.t1h-style-architectural-rail .t1h-architecture-mark{
  padding-inline-end:clamp(16px,2vw,28px);border-inline-end:1px solid color-mix(in srgb,currentColor 20%,transparent)
}
.t1h-style-architectural-rail .t1h-architecture-copy{display:grid;gap:5px;align-content:center}
.t1h-style-architectural-rail .t1h-architecture-copy strong{font-size:clamp(21px,var(--agk-header-name-size,24px),30px);font-weight:780;letter-spacing:-.02em}
.t1h-style-architectural-rail .t1h-architecture-copy span{font-size:var(--agk-header-descriptor-size,12px);color:var(--agk-header-descriptor-color,#667085)}
.t1h-style-architectural-rail .t1h-architecture-tools{justify-self:end}

/* 06 — Centered Signature: true centered identity with balanced side utilities. */
.t1h-style-centered-signature .t1h-container{grid-template-columns:minmax(160px,1fr) minmax(300px,auto) minmax(160px,1fr)}
.t1h-style-centered-signature .t1h-brand{justify-self:center;text-align:center;flex-direction:column;gap:6px!important}
.t1h-style-centered-signature .t1h-brand-copy{align-items:center;text-align:center}
.t1h-style-centered-signature .t1h-side-end{justify-self:end}.t1h-style-centered-signature .t1h-side-start{justify-self:start}

/* 07 — Minimal Luxe: low-noise, premium single row. */
.t1h-style-minimal-luxe .agk-brand-descriptor,.t1h-style-minimal-luxe .agk-header-aux{display:none!important}
.t1h-style-minimal-luxe .t1h-container{grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.t1h-style-minimal-luxe .agk-brand-copy strong{font-size:clamp(18px,var(--agk-header-name-size,24px),24px);font-weight:720}
.t1h-style-minimal-luxe :is(.agk-search-trigger,.agk-dark-toggle,.agk-header-cta.style-icon){border-color:transparent;background:transparent}

/* Tablet/mobile variables also drive the touch header logo so both systems agree. */
@media(max-width:1180px){
  .agk-touch-header{padding-inline:var(--t1h-pad-x-t,0)!important;padding-block:var(--t1h-pad-y-t,8px)!important}
  .agk-touch-header .agk-logo-wrap{width:var(--t1h-logo-t)!important}
  .agk-touch-header .agk-brand-logo{max-width:100%!important;max-height:var(--t1h-logo-h-t)!important;object-fit:var(--t1h-logo-fit,contain)!important}
}
@media(max-width:767px){
  .agk-touch-header{padding-inline:var(--t1h-pad-x-m,0)!important;padding-block:var(--t1h-pad-y-m,6px)!important}
  .agk-touch-header .agk-logo-wrap{width:var(--t1h-logo-m)!important}
  .agk-touch-header .agk-brand-logo{max-width:100%!important;max-height:var(--t1h-logo-h-m)!important}
}
.takeone-header-next.t1h-logo-align-start .agk-logo-wrap{justify-items:start}
.takeone-header-next.t1h-logo-align-center .agk-logo-wrap{justify-items:center}
.takeone-header-next.t1h-logo-align-end .agk-logo-wrap{justify-items:end}
/* Touch header inherits the same logo component geometry. */
.agk-touch-header .agk-logo-wrap{
  display:inline-grid!important;place-items:center!important;width:var(--t1h-logo-t)!important;max-width:100%!important;box-sizing:border-box;
  padding:var(--t1h-logo-py,0) var(--t1h-logo-px,0)!important;
  border:var(--t1h-logo-bw,1px) solid transparent;border-radius:var(--t1h-logo-r,10px);overflow:hidden
}
body.takeone-logo-border-none .agk-touch-header .agk-logo-wrap{border-width:0!important;border-color:transparent!important}
body.takeone-logo-border-subtle .agk-touch-header .agk-logo-wrap{border-color:color-mix(in srgb,currentColor 16%,transparent)!important}
body.takeone-logo-border-accent .agk-touch-header .agk-logo-wrap{border-color:color-mix(in srgb,var(--agk-primary,currentColor) 58%,transparent)!important}
body.takeone-logo-surface-transparent .agk-touch-header .agk-logo-wrap{background:transparent}
body.takeone-logo-surface-soft .agk-touch-header .agk-logo-wrap{background:color-mix(in srgb,currentColor 6%,transparent)}
body.takeone-logo-surface-surface .agk-touch-header .agk-logo-wrap{background:color-mix(in srgb,var(--agk-surface,#fff) 88%,transparent)}
body.takeone-logo-align-start .agk-touch-header .agk-logo-wrap{justify-items:start!important}
body.takeone-logo-align-center .agk-touch-header .agk-logo-wrap{justify-items:center!important}
body.takeone-logo-align-end .agk-touch-header .agk-logo-wrap{justify-items:end!important}


/* ================================================================
   v13.0.6 — Responsive Header Sync
   Mobile/Tablet use Header NEXT geometry + TakeOne Colors semantics.
   ================================================================ */
@media(max-width:1180px){
  .agk-touch-header{
    padding:0!important;
    background:var(--agk-mobile-header-bg,#fff)!important;
    color:var(--agk-mobile-header-color,#24376E)!important;
    border-bottom:1px solid color-mix(in srgb,var(--agk-mobile-header-color,#24376E) 12%,transparent)!important;
  }
  .agk-touch-header .agk-touch-header-inner{
    min-height:var(--t1h-height-t,70px)!important;
    padding-block:var(--t1h-pad-y-t,8px)!important;
    padding-inline:var(--t1h-pad-x-t,0)!important;
    gap:clamp(12px,2vw,22px)!important;
  }
  .agk-touch-header .agk-touch-brand{min-width:0;flex:1 1 auto!important}
  .agk-touch-header .agk-brand-v37{
    gap:var(--t1h-logo-gap,14px)!important;
    color:var(--agk-mobile-header-color,#24376E)!important;
  }
  .agk-touch-header .agk-brand-copy{
    min-width:0!important;
    align-items:flex-start!important;
    text-align:right!important;
    gap:var(--agk-mobile-text-line-gap,2px)!important;
  }
  .agk-touch-header .agk-brand-copy strong,
  .agk-touch-header .agk-touch-brandbar-copy strong{
    color:var(--agk-mobile-header-color,#24376E)!important;
    font-size:var(--agk-tablet-name-size,17px)!important;
    line-height:var(--agk-mobile-name-line-height,1.25)!important;
    font-weight:800!important;
  }
  .agk-touch-header .agk-brand-descriptor,
  .agk-touch-header .agk-touch-brandbar-copy small{
    color:var(--agk-mobile-desc-color,#667085)!important;
    opacity:1!important;
    font-size:var(--agk-tablet-desc-size,11px)!important;
    font-weight:var(--agk-mobile-desc-weight,500)!important;
    line-height:var(--agk-mobile-desc-line-height,1.45)!important;
  }
  .agk-touch-header .agk-mobile-header-tools{
    gap:var(--t1h-tools-gap,8px)!important;
    flex:0 0 auto!important;
  }
  .agk-touch-header :is(.agk-mobile-header-search,.agk-mobile-header-dark,.agk-menu-toggle){
    width:var(--agk-touch-target,46px)!important;
    height:var(--agk-touch-target,46px)!important;
    min-width:var(--agk-touch-target,46px)!important;
    min-height:var(--agk-touch-target,46px)!important;
    color:var(--agk-mobile-header-color,#24376E)!important;
    border:1px solid color-mix(in srgb,var(--agk-mobile-header-color,#24376E) 15%,transparent)!important;
    background:color-mix(in srgb,var(--agk-mobile-header-bg,#fff) 88%,var(--agk-surface-alt,#EEF2FA))!important;
    border-radius:14px!important;
    box-shadow:0 1px 0 color-mix(in srgb,var(--agk-mobile-header-color,#24376E) 4%,transparent)!important;
  }
  .agk-touch-header :is(.agk-mobile-header-search,.agk-mobile-header-dark,.agk-menu-toggle):hover{
    color:var(--agk-primary,#2B4996)!important;
    border-color:color-mix(in srgb,var(--agk-primary,#2B4996) 28%,transparent)!important;
    background:color-mix(in srgb,var(--agk-mobile-header-bg,#fff) 82%,var(--agk-primary,#2B4996) 6%)!important;
  }
  .agk-touch-header .agk-logo-wrap{flex:0 0 auto!important}
}
@media(max-width:767px){
  .agk-touch-header .agk-touch-header-inner{
    min-height:var(--t1h-height-m,60px)!important;
    padding-block:var(--t1h-pad-y-m,6px)!important;
    padding-inline:var(--t1h-pad-x-m,0)!important;
    gap:10px!important;
  }
  .agk-touch-header .agk-brand-copy strong,
  .agk-touch-header .agk-touch-brandbar-copy strong{font-size:var(--agk-mobile-name-size,14px)!important}
  .agk-touch-header .agk-brand-descriptor,
  .agk-touch-header .agk-touch-brandbar-copy small{
    color:var(--agk-mobile-desc-color,#667085)!important;
    font-size:var(--agk-mobile-desc-size,9px)!important;
    max-width:min(46vw,260px)!important;
  }
  .agk-touch-header .agk-brand-v37{gap:min(var(--t1h-logo-gap,14px),12px)!important}
}
@media(max-width:430px){
  .agk-touch-header .agk-touch-header-inner{gap:8px!important}
  .agk-touch-header .agk-brand-copy{max-width:min(42vw,190px)!important}
  .agk-touch-header.tools-count-3 .agk-brand-copy{max-width:min(38vw,170px)!important}
}
html[data-agk-theme="dark"] .agk-touch-header,
body.dark-mode .agk-touch-header{
  background:var(--agk-dark-header-bg,var(--agk-dark-surface,#20366E))!important;
  color:var(--agk-dark-text,#F3F6FD)!important;
  border-color:color-mix(in srgb,var(--agk-dark-text,#F3F6FD) 13%,transparent)!important;
}
html[data-agk-theme="dark"] .agk-touch-header .agk-brand-copy strong,
body.dark-mode .agk-touch-header .agk-brand-copy strong{color:var(--agk-dark-heading,#fff)!important}
html[data-agk-theme="dark"] .agk-touch-header :is(.agk-brand-descriptor,.agk-touch-brandbar-copy small),
body.dark-mode .agk-touch-header :is(.agk-brand-descriptor,.agk-touch-brandbar-copy small){color:var(--agk-dark-muted,#C9D3E8)!important;opacity:1!important}
html[data-agk-theme="dark"] .agk-touch-header :is(.agk-mobile-header-search,.agk-mobile-header-dark,.agk-menu-toggle),
body.dark-mode .agk-touch-header :is(.agk-mobile-header-search,.agk-mobile-header-dark,.agk-menu-toggle){
  color:var(--agk-dark-text,#F3F6FD)!important;
  border-color:color-mix(in srgb,var(--agk-dark-text,#F3F6FD) 15%,transparent)!important;
  background:color-mix(in srgb,var(--agk-dark-surface-alt,#29427F) 78%,transparent)!important;
}
